A
Akilah
Is there a way to determine which page on a tab is current (selected) or in
use. Thanks is advance.
use. Thanks is advance.
Dale Fye said:Not that I'm aware of, but you could create a public variable that is visible
to the entire form. In the declarations portion of the code, enter:
Dim intPrevPage as integer
This variables initial value will be set to zero, since it is numeric.
Whenever I use a tab control, I generally use the Forms Current event to
reset the focus of the tab control to the first tab. I would reset
intPrevPage to zero at that time as well.
Then, at the end of the code in the Change Event of the tab control, set
that value to the current value. Then, you can refer to that value anywhere
in your code for that form.
--
HTH
Dale
email address is invalid
Please reply to newsgroup only.