Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - A question about - ACTIVE PAGE
Message
De
14/07/1997 12:46:34
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Québec, Canada
 
 
À
14/07/1997 12:38:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00039818
Message ID:
00039849
Vues:
39
>>>>>I have a FORM that has two PAGE TABS with different tables on each PAGE. I also have a MENU that has options like NEXT and PREVIOUS record. I want to use this MENU for these PAGE TABS. How do I address the ACTIVE PAGE so that my MENU OPTIONS will know what TABLE to refer to on the PAGE TAB? Thanks…
>>>>
>>>>Hi Robert,
>>>>
>>>>Use a property that have the current table.
>>>>
>>>>In the activate event of each page tabs, just include THISFORM.cCurrentTable= "myTable"
>>>>
>>>>and in the menu option :
>>>>
>>>>cAlias= _SCREEN.ActiveForm.cCurrentTable
>>>>SELECT &cAlias
>>>>SKIP 1
>>>
>>>thanks Sonny for your answer.. why do I need to do that when the DE of each
>>>PAGE TAB is going to change to ALIAS? I just want a menu (ADD/DELETE/NEXT/etc) that works with mulitple PAGE TABS with different TABLES...What do you think..thanks rob
>>
>>How I understand it is :
>>
>> You have 2 pages, the first is customer and the second is order. If the current page is customer, you want to add/delete/next the customer table. If the current page is order, you want to add/delete/next the order table.
>>
>>Is that you want to do?
>
>yes

So, my solution is good. You just have to create a property and set it when your active page changes and then, just select it when you use a menu option.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform