on button stop control transfers to a option button click code
-
Hi all, I have made a Dialog based application, on that dialog I have 3 option buttons and one push button. On click of option buttons a variable called flag value is being set to 1,2 or 3 respectively. my problem is that when i click on push button i hide it and after that flow of control automatically transfers to any option button click code and it changes the flag value.... my stop button and option button is not having any relation with each other.... I have tried it in new application it works fine... but i want to correct it in my exsisting application... How can i resolve it Thanks in advance
-
Hi all, I have made a Dialog based application, on that dialog I have 3 option buttons and one push button. On click of option buttons a variable called flag value is being set to 1,2 or 3 respectively. my problem is that when i click on push button i hide it and after that flow of control automatically transfers to any option button click code and it changes the flag value.... my stop button and option button is not having any relation with each other.... I have tried it in new application it works fine... but i want to correct it in my exsisting application... How can i resolve it Thanks in advance
VCProgrammer wrote:
I have made a Dialog based application, on that dialog I have 3 option buttons...
Do you mean radio button?
VCProgrammer wrote:
my stop button and option button is not having any relation with each other....
Which means what?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
-
Hi all, I have made a Dialog based application, on that dialog I have 3 option buttons and one push button. On click of option buttons a variable called flag value is being set to 1,2 or 3 respectively. my problem is that when i click on push button i hide it and after that flow of control automatically transfers to any option button click code and it changes the flag value.... my stop button and option button is not having any relation with each other.... I have tried it in new application it works fine... but i want to correct it in my exsisting application... How can i resolve it Thanks in advance
Check if you are duplicating button ids in any way. or using wrong message mappings.
-
VCProgrammer wrote:
I have made a Dialog based application, on that dialog I have 3 option buttons...
Do you mean radio button?
VCProgrammer wrote:
my stop button and option button is not having any relation with each other....
Which means what?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Some people are making such thorough preparation for rainy days that they aren't enjoying today's sunshine." - William Feather
yes radio buttons...