Information générale
Catégorie:
Codage, syntaxe et commandes
In the click event of the grid why not just release the
form, or hide it via lost focus?
Becky
>>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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement