Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add events?!
Message
From
07/01/2000 07:55:43
 
 
To
06/01/2000 23:14:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00313888
Message ID:
00314409
Views:
56
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform