Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command button programatically firing
Message
De
25/03/2002 11:32:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00636847
Message ID:
00636868
Vues:
17
Timothy,

In VFP help, look at the example under the addObject method. That example creates a form and adds 3 command buttons, and shows code in the click() method of each commandButton.

>>>Hello, I created a form non-visually using "CREATEOBJECT("Form")" and in my with/endwith statement defined the characteristics for a commandbutton. However, since I don't usually create forms this way, I'm not sure how to test for the commandbutton being clicked. any ideas? thanks
>>
>>I think you need to add a Click() method to the button. This can be done by adding a CommandButton based on a class of yours.
>>
>>HTH, Hilmar.
>
>Wuld that be inserted within the with/endwith statement? Can you give an example? thanks.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform