Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Property click is read only
Message
De
07/11/2000 11:40:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00438468
Message ID:
00438823
Vues:
7
Timothy,
I have done this in the past by subclassing 'Form' and assiging the different procedures whatever code I want. A stripped down example follows:



local testForm

testForm = createObject("myForm")
testForm.visible = .t.
testForm.ExitButton.visible = .t.
READ EVENTS

DEFINE CLASS myForm AS Form
PROCEDURE INIT
this.addObject("ExitButton","myExit")
ENDPROC
ENDDEFINE
DEFINE CLASS myExit AS CommandButton
PROCEDURE CLICK
thisform.release()
ENDPROC
PROCEDURE UNLOAD
CLEAR EVENTS
ENDPROC
ENDDEFINE
Paul A. Busbey
Victoria Insurance
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform