Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Radio button link to a command button...

Radio button link to a command button...

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Neil Jigger
    wrote on last edited by
    #1

    thanks for your reply. i cannot continue with my code for the reason that i dont have enough knowledge on it. My code is successful if i will not use radio button in getting the reasult but when i used a radion button to connect to the command button i cannot successfully link to it coz i dont know the code on how to do it. I just need a sample code for my reference...can u send sample code to connect the radio button to a command button please...? Neil

    C 1 Reply Last reply
    0
    • N Neil Jigger

      thanks for your reply. i cannot continue with my code for the reason that i dont have enough knowledge on it. My code is successful if i will not use radio button in getting the reasult but when i used a radion button to connect to the command button i cannot successfully link to it coz i dont know the code on how to do it. I just need a sample code for my reference...can u send sample code to connect the radio button to a command button please...? Neil

      C Offline
      C Offline
      Chandrasekharan P
      wrote on last edited by
      #2

      I believe we had given a solution for this. do you want to pass the value that is assigned to the radio button to the command button? if that is the case create an event for the radio button and inside the function assign a value(say .10 which is 10%) to a global variable. Then use this global variable in command button. Hope this helps you.

      N 1 Reply Last reply
      0
      • C Chandrasekharan P

        I believe we had given a solution for this. do you want to pass the value that is assigned to the radio button to the command button? if that is the case create an event for the radio button and inside the function assign a value(say .10 which is 10%) to a global variable. Then use this global variable in command button. Hope this helps you.

        N Offline
        N Offline
        Neil Jigger
        wrote on last edited by
        #3

        i will try sir but if still i cannot please dont stop helping me... thanks a lot. neil

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups