Rafael Copquin wrote on 2013-08-08:
> Again with hot key blues!:-(
>
> I have this form with a grid and a series of hot key calls from the
> keypress event of one of its columns (the textbox of the column)
>
> All goes well, until I change the underlying cursor of the grid.
> The hot keys no longer work
>
> IOW, I use a select statement to show a cursor in the grid. The hot
> keys work. Then I use another select statement to populate the grid.
> And now the hot keys do not work any more
>
> Why?
>
> Please help!
>
> Rafael Copquin
>
Rafael,
Behind the scene, the grid is being rebuilt.
This sudo-code is how I now change grid data.
Create a cursor, attach it to the grid.
Select into tempCursor
Select gridCursor
Append from dbf("tempCursor")
Use in Select("tempCursor")
I've seen odd behavior with another common way, though I don't recall what
the specifics were off the top of my head.
Grid.recordsource = ""
Select ...
Grid.recordsource = "gridCursor"
Tracy Pearson
PowerChurch Software
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.