Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Modeless Forms with a Grid
Message
De
02/04/1998 17:02:31
 
 
À
02/04/1998 17:00:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00089076
Message ID:
00089080
Vues:
15
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform