Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add procedure to addobject()
Message
From
21/09/1998 16:28:38
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139226
Message ID:
00139231
Views:
26
>Hi: I use ADDOBJECT() to add a editbox to a grid control. After add editbox, I need add some command to BblClick property. Can anyone tell me how to do it?
>
>
>Thanks, Tai Fei Pao

I guess, you mean DblClick event. If you want to get it programmatically, then you should prepare Editbox class, e.g. 'MyEditbox' with appropriate code in DblClick event. Then in run-time, you should use:
Grid.Column.Addobject("Edit1","MyEditbox")
You may also reset new editbox visible property to .T. and Column.CurrentControl property to "Edit1".
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform