>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