Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ControlSource is writeonly in Commandgroup.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00895072
Message ID:
00895676
Views:
16
Sorry, I didn't see it there. Anyway, you shouldn't be doing a REPLACE on MyCfg.DEFAULTBUTTON because you've already defined it as the controlsource. I'm not sure why you're adding 1 to that value anyway. Could that be where your problem is coming from? When I comment out that line and run your code, if I click any button in the command group and then click the "Refresh cycle" button, I see the correct value shown for the command group. Same thing with the option group.

>what forgot ? Reread the code, Form Load method
>
>Otherwise as the optiongroup would make to move itself when you reward a CommandButton.
>I have written that the controlsource the value writes, but not read the value!
Previous
Reply
Map
View

Click here to load this message in the networking platform