Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding an Event for a TextBox in a Grid Programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00696764
Message ID:
00696840
Views:
9
>Hi,
>
>I have a grid on a form that I am having to set the properties for on the fly.
>
>Is there a way to pass the double click event programmatically.
>
>I have tried the following syntax:
>
>FormName.PageFrame.PageNumber.GridName.ColumnName.TextBoxName.DblClick = 'ThisForm.DisplayName'
>
>
>Any suggestions would be greatly appreciated.

this test works...
Text1.DblClick of column 10
PARAMETERS testthis
WAIT WINDOW testthis
ThisForm.grdMicom.column6.text1.Value= ThisForm.Caption

Text1.Click of column 10
This.DblClick(ThisForm.Caption)

Click on col-10 fills in column6 via col-10 dblclick

HTH
Edgar L. Bolton, B.S. B.B.A.
Previous
Reply
Map
View

Click here to load this message in the networking platform