Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Interesting. Is this what you normally do? What of cases where the code is not the first letter of the caption?
Any other ideas?
Alex
>In VFP, an option button can be bound to a character field in its ControlSource - which will tie to the caption of the selected button.
>
>If you wanted to do this for the M/F optiongroup, you would need to
>
>set the optiongroup.Value to the empty string or "M" or "F",
>make the button captions just "M" and "F" and add labels for "Male" and "Female" and line them up with the button captions
>I'd go ahead and use "Male" instead of "ale" for the label - it's easier to line up the captions that way. Also, it helps if the optiongroup and buttons and labels have their BackStyle = 0 (Transparent) - at least when lining them up.
>
>HTH
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