Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Modeless Forms with a Grid
Message
From
02/04/1998 17:02:31
 
 
To
02/04/1998 17:00:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00089076
Message ID:
00089080
Views:
19
>>>I am currently developing a modeless form that has two page frames. The first page has textboxes and labels while page 2 has a grid. When I run the form from my menu (do form myform) The form displays correctly for page 1, but when I go to page 2 the grid is empty. The grid runs off a populated table that is in the data environment and all the control sources are correct.
>>>
>>>When I put a suspend in to see what was happening I found that once the form was up I can't see any of it's properties in the debug, locals window. I have a READ EVENTS in my main program after the call to my menu. I don't know what I'm missing.
>>>
>>>Any ideas? Thanks
>>
>>Any pageframe page should have:
>>***Page.Activate event
>>This.Refresh
>
>I have This.Refresh in the page.activate event. Thanks though.

Well, then you can 'enforce' your code by cRecordsource=This.Grid1.Recordsource
This.Grid1.Recordsource=""
This.Grid1.Recordsource=cRecordsource
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform