Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the best way to do this?
Message
From
14/12/2000 20:41:30
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00453170
Message ID:
00453722
Views:
21
David,

This time it's questions. Pardon the basic level, but I am new to VFP.

1) bOptionGroup::Init() can be replaced by DODEFAULT(), right?

2) Confirm these guesses please:
2.1) Because the option group is not a container that contains the labels, you need to save the "fully qualified path" to the option group and to the option associated with each label in a property of the label. Is there a reason why you save a char string with the "fully qualified" object names instead of a reference to the objects themselves?

2.2) The mc stands for my character property.

> .mcSetValue = left( oButton.Caption, 1 ) && The hot key that this label must send to the option group
> .mcOptionGroupName = "this.parent." + oOptionGroup.Name && Fullpath to OptionGroup.
> .mcButtonName = .mcOptionGroupName + "." + oButton.Name && Fullpath to associated Option Button.

Thanks again.

Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform