Stuart McLachlan
stuart at lexacorp.com.pg
Sun Jun 13 23:54:36 CDT 2004
On 13 Jun 2004 at 20:48, Rocky Smolin - Beach Access S wrote: > Stuart: > > I tried putting Me.TabCtl140.FontName = "Arial Unicode MS" in the _Open > event of the form, both before and after calling the translate function for > the tab names. The translate function returns the correct stuff, but since > the tab's font is not changed to Arial Unicode MS, it still doesn't display > correctly. Perhaps that line of code is setting the font for all the > controls on the tab form but it doesn't seem to affect the tab names > themselves. > In Access 2000, I just created a form with a tab control and two buttons. Private Sub Command1_Click() TabCtl0.FontName = "Times New Roman" End Sub Private Sub Command2_Click() TabCtl0.FontName = "Arial" End Sub Clicking the buttons changes the tab names appropriately so the fontname property does affect the page headers. I don't have O2002/XP and unicode fonts, so it may be a problem with Unicode fonts in the later version and the tab control. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support.