Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids - Custom Control - VFP 5.0a
Message
 
To
17/10/1997 13:00:05
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00054365
Message ID:
00055270
Views:
26
>Thats what I plan on doing. I just want to use the grid to display the data and handle just the basic navigation. I will do the rest like data reading and updating. I would think that the grid could at least handle that. My big problem right now is just getting the navigation keys working when I drop a custom container in a grid. The left and right keys work great but the up and down keys dont. I tried setting keypreview to .t. and handling the up and down keys in my own key handler. It kinda worked fine but when the grid started scrolling it seemed like it no longer tracked the activerow and activecolumn correctly. I was using the activatecell method and activerow,activecolumn properties to get this to work. I still think it may be possible if I can just solve this problem. I have seen some other grid examples from Lisa Slater and Drew Speedie that drop custom containers in a grid but they seem to have the same problem with basic navigation. It would seem to me that this
>problem makes those examples unusable in an end user product. Please reply if you have any more insight. Again thanks.

Mike,

A couple of comments, first any referecne to ActiveRow in a grid is like saying SET SLOW ON, it forces the grid to reread its recordsource and that can take time.

Second, I still say dump the grid, the time and effort you will put into solving a problem (the up and down arrows) may be just s much as building your own classes to do this and you may end up unsuccessfull. If Drew and Lisa couldn't make it work right *BTW neither did I succeed) then perhaps it isn't achievable at all.
Previous
Reply
Map
View

Click here to load this message in the networking platform