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:
00895254
Views:
17
I haven't heard of anyone using a commandgroup this way, and I'm surprised there is even a controlsource property for it. Usually an optiongroup is a better control to use in cases like this. What are you trying to accomplish?


>I try to use Commandgroup.ControlSource
>in order to return on
>( with TAB keypress set activecontrol, or with Commandgroup.buttons[Commandgroup.Value].SetFocus )
>or for save into the configuration, the last pressed button.
>
>But it does not work,
>the CommandGroup reads the controlsource in some cases,
>not read it if you call Commandgroup.refresh,
>and it always ignores it!
>
>When you use TAB, it set the focus into the first button.
>
>When you press a Button, it write the value into the binded controlSource reference.
>
>Result, ControlSource it is unusable on a commandGroup.
>
>A multibug problem for me.
>
>Another problem it is the lack of GotFocus, LostFocus, SetFocus.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform