Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refreshing a Grid without switching pages…
Message
From
12/09/1998 08:45:38
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00134367
Message ID:
00135786
Views:
9
>i have had alot of trouble with my grids. have spent more time on them than the entire project.

I can believe it!

>> have spent some time on when the grid is the entire table, but have spent most my time on when the grid shows only a subset of records. have found parent/child grid relationships (grid data properties of linkmaster, relationship expression) a nightmare. many at ut (universal thread) say to use a parameterized view
<<

a phrase I've seen several times now but haven't got anywhere near playing with yet!

>>instread of the parent/child relationship for displaying only a subset of records. but even grids that show the entire table can be problematic (at least for me, and judging by the number of ut questions on grids, for everyone else also).
>

so without wanting you (or anyone else) to write a book about it. What is it about grids that is causing such difficulties? The good ole browse command seems far more robust although, obviously, it lacks the advantages of being an 'object'... how is it that the Fox team have given us such an obviously problematic 'substitute'?

>thisform.pageframe1.activepage = 2 && should transfer to page2 programmatically

aha - more paydirt! Shall try this immediatement!
>
>what are you calling from a combobox valid? you cannot setfocus in a valid.
ah well, there ya go. My most recent attempt was trying to do precisely that.

thisform.pgfrelated.page1.click()
thisform.pgfrelated.page1.setfocus()
thisform.pgfrelated.page2.click()
thisform.pgfrelated.page2.setfocus()

>>
there are threads on ut that address this. if i recall, you can set a switch in valid and then based on the switch, maybe set focus in lost focus? i do not have my notes with me now. send a message if you need any help from a person who is also stumbling through it.
>
>brenda


lot of useful stuff to chew on. Lemme see if it sorts the prob

Many thanks

Harry
Previous
Reply
Map
View

Click here to load this message in the networking platform