Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to click button
Message
 
À
22/11/2005 11:01:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
01071180
Message ID:
01071187
Vues:
20
>Hi,
>
>How to click a button lying on a form thru a short cut menu. On doing so, I face an error "THIS can only be used within a method."
>
>The actual command is 'This.parent.cmdSales.Click'
>
>Please suggest .. Saif

Menu code runs as a separate external program from the form. You will need to use the form object reference to get the button as in;


DO FORM MyForm Name MyForm


In the menu's code you would;


MyForm.cmdButton.Click()
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform