>Hi,
>
>I have a form that has 7 pages/tabs on the PageFrame. And when user changes the page certain steps (code) have to be done. I have always put this code in the Activate method of the Page. But now I got to think that maybe it was a wrong approach. What I notice is that every time the form loses focus (when another form is opened) and then gets focus back the Activate of the page fires. So the code in the Activate executes again. This to me does seem to me wrong. So I am thinking of changing the approach and use Click() method of the page. This form has been initially created many years ago and I don't remember the logic of why I chose Activate (could have been simply because I didn't know of any better or simply didn't think much about it). And since I am concerned of breaking something, can anybody see a problem with "moving" the code from Activate to Click()? TIA.
i use the UIEnable and do something like
LPARAMETERS lEnable
if IENABLE
*** certain steps (code) have to be done
endif
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only