Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00792933
Message ID:
00792941
Views:
16
This message has been marked as the solution to the initial question of the thread.
In order to use grid's DblClick event you would have to put code in Column's text DblClick event like this.parent.parent.DblClick(this)

In grid's DblClick you can do:
lparameter toTextBox && not really needed, but just in case
this.KeyValue = evaluate(this.ColumnHidden.ControlSource)

where you grid would have a custom property KeyValue and your hidden column always would have some predefined name...

>I am building a customer lookup grid in VFP8 that includes a hidden column that contains the customer's PK. I want the grid double-click event to return the PK of the selected row to the calling program.
>
>I am trying to use the grid's Valid event to store the PK but have had no success with this technique.
>
>Thanks,
>Tom Hall
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform