Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Page activate firing unexpectidly
Hi All,
I have two grids on a page and a button that toggles between them. The button click makes one visible and the other not. The grids are setup so that dblclick() will fire the button click to do the same toggle action.
Behaviour is as expected when the button is clicked, but when double-clicking on grid1, page.active is firing. It only fires when going from grid1 to grid2.
Page.activate has this code:
grid1.visible=.t.
grid2.visible=.f.
I dbl click on Grid1, Grid2 displays briefly, then page.activate fires, and grid1 displays again.
Should activate fire when clicking on a control? Help sez yes, but I don't see it fire (with wait wind nowait) when clicking on grid2.
If it should, then where do I put code to run only once when activating that page? Click doesn't seem right, 'cause user could fire the click at will.
What am I missing here?
Suivant
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