>Thank you!
>
>That worked perfectly!
>Only one more question... (if tht's okay)
>
>I display my records from my cursor in my grid. Now I would like to double click on a grid row. Popup a new screen and display all the fields of the specific record hat I have double clicked. Is there an easy way?
>
>Thanx!
>Ron :o)
There are multiple ways but I don't know which one is considered easy :)
If you're doing this for a specific grid with predefined columns (like the one you just fixed), this one is easy :
-Select your grid in designer
-Go to command window and open any code window (ie: modi comm dummy - will not save)
-Code :
lcCode = "this.parent.parent.dblclick"
aselobj(arrObj)
for each oCol in arrObj[1].Columns
oCol.Text1.WriteMethod('DblClick',lcCode)
endfor
-Select code block, right click and 'execute selection'
-Now go to grid.dblclick and code what you want
PS: Check FoxyClasses (LocatorGrid5 sample or MoverListXX) for a similar implementation:)
Cetin