la******@nationwide.com wrote:
I have a 12 tab Access form. There are sub forms built into one main
form with the tabs, but they are all constructed differently in size.
I would like to stack about 8 buttons on the main form and make the
buttons visible as the tabs are worked through. The buttons are going
to be linked to a Word document that will have help instructions for
that particular tab. Can someone help me with the code to make the
buttons visible based on the user clicking on the tab name. Thank you.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You use the .Value property of the Tab control. It indicates the pages,
starting from zero, that were just clicked.
Private Sub TabCtl0_Change()
MsgBox "Page: " & TabCtl0.value
End Sub
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBRFJTMYechKqOuFEgEQKFXACggvfRPcVIm9eK5J+UaWwLsn l5LoQAn3er
nkGbyKOka4syLxqDCz0xNF6+
=+hSr
-----END PGP SIGNATURE-----