Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement