Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tabbed Forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00221929
Message ID:
00221932
Vues:
19
Gar,

I haven't looked at it yet, but the latest release of VFP 6.0 (Service Pack 3) that Microsoft just released includes a new session object. It sounds like it will give you the flexibility to create multiple data sessions in code and do what you're trying to do. It would probably involve a little more code than having the data sessions handled automatically by forms, but it should be a lot easier than doing it 2.6 style.

>It is trivial to create a single form with multiple tabbed pages. (you have to watch the refreshes but that seems to be only gotcha.)
>
>What I cannot find a way is to create a true tabbed application -- each tab having it's own separate private data session.
>
>No trouble to create a bunch of separate forms and formsets, and stack them in a tiered format -- but of course no tabs.
>
>I tried creating private data sessions via code for multiple forms in a formset. You can do it -- but you must release the current private datasession before you can open another -- which means goodbye modelessness (unless I want to program it myself 2.6 style).
>
>Any suggestions? Any of the frameworks people are talking about handle this?
>
>I have one solution, but not one I like. Create a single form or formset using page frames with it's own private read only data set.
>
>When user clicks an edit button, spawn a second form -- and overlay it right over the readonly form - passing it the current record as a parameter. (I'd have to make sure to hide the page in the read only form. I notice that pages inside a page frame do not have a visible property...)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform