General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only