Rocky Smolin - Beach Access Software
bchacc at san.rr.com
Thu Aug 10 22:49:36 CDT 2006
Kath: After struggling with issues around the tab labels I ended up eliminating the tab labels and using command buttons positioned over the tab form to look like tab labels. Then I could do with them whatever could be done with a command button including changing the fore color and disabling them. Rocky Kath Pelletti wrote: > Does anyone know how to change the colour of the font on the tab caption in code? > > What I am trying to achieve is that in the tab's 'On change' event, depending on the value in one of the fields, I want certain other tabs to appear greyed out (not enabled) > > I can set the page to be not enabled using Me.PageCtlCM.Enabled = False, but the text on the tab caption itself stays normal - I would like it to look grey like to controls on it do. > > TIA > > ______________________________________ > Kath Pelletti > Software Design and Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > Email: KP at SDSOnline.net > -- Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com