Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit browse window w/o clicking X?
Message
 
À
18/08/1998 16:00:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00127834
Message ID:
00127936
Vues:
29
>Jim,
>
>If I use a grid, would I toggle the visible property to hide/show the grid? I do not want the grid to display on my form except when the command button is pressed.
>
>Then could I use the click event of the grid to hide the grid when the record is selected?
>
>This sounds too easy.....please point me in the right direction if I am way off track!

Trisha,

Put a pageframe in your form and set the Tabs property to .f.. Place all of the editing controls on page 1 and put the grid on page 2. IN your button's click put;

THISFORM.PageFrame1.ActivePage = 2

In the click events of everything in the grid ( the grid, the columns, the headers and the controls in the columns) put;

THISFORM.PageFrame1.ActivePage = 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform