[AccessD] code for font color on tab

Kath Pelletti kp at sdsonline.net
Thu Aug 10 23:41:40 CDT 2006


So you set the style of the tab control to none and then put command buttons on the background form? I'll do that too - if I can't find a code option - 
but surely there's a way? 

Kath
  ----- Original Message ----- 
  From: Rocky Smolin - Beach Access Software 
  To: Access Developers discussion and problem solving 
  Sent: Friday, August 11, 2006 1:49 PM
  Subject: Re: [AccessD] code for font color on tab


  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

  -- 
  AccessD mailing list
  AccessD at databaseadvisors.com
  http://databaseadvisors.com/mailman/listinfo/accessd
  Website: http://www.databaseadvisors.com



More information about the AccessD mailing list