Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit browse window w/o clicking X?
Message
 
To
18/08/1998 16:00:36
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00127834
Message ID:
00127936
Views:
30
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform