Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Option Group question
Message
From
01/02/2007 14:40:45
 
 
To
01/02/2007 13:30:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01191265
Message ID:
01191568
Views:
10
Good catch Cetin!

Barry, I would also not use "button" as a variable name normally, especially as it is a reserved word.

Normally I would call that variable "m.loButton"

>>>Hi Barry,
>>>
>>>this code might do it for you in the gotfocus of the container:
>>>
>>>
>>>WITH this.optiongroup1
>>>	FOR EACH button IN .Buttons
>>>		IF button.Caption = .Value
>>>			button.SetFocus()
>>>		ENDIF
>>>	ENDFOR
>>>ENDWITH
>>>
>
>Barry,
>You better use == instead of =. Otherwise you need to be sure say PageFrame comes after Page.
>Cetin
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Reply
Map
View

Click here to load this message in the networking platform