Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add events?!
Message
De
07/01/2000 07:55:43
 
 
À
06/01/2000 23:14:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00313888
Message ID:
00314409
Vues:
55
You say there is no way to do this in VFP. What is wrong with this previous suggestion of creating a commandbutton class and setting the procedures within?


myform = createObject('FORM')
myform.visible = .t.
myform.AddObject('exitbutton','myButton')
myform.exitbutton.visible = .t.


DEFINE CLASS myButton as COMMANDBUTTON
PROCEDURE Click
thisform.release
CLEAR EVENTS
ENDPROC
caption = 'Exit'
ENDDEFINE


Paul A. Busbey
I.S. Department
Sparagowski & Associates
Paul A. Busbey
Victoria Insurance
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform