MartyConnelly
martyconnelly at shaw.ca
Mon Jun 14 11:15:32 CDT 2004
I tried this on 2003 and cut and pasted into tabpage name, displays okay with Thai but the tab.name of the control is now unicode ack... a nono But if you put in tab.caption instead of tab.name should be okay,at least with cut and paste. So your problem maybe with string handling. Rocky Smolin - Beach Access Software wrote: >Stuart: > >I did what you did and it does indeed change the font on the tabs. However, >I still can't get my Chinese to display correctly. > >I tried getting the Chinese string with the code from my translate message >box function - StrConv(rs(gstrLanguage), vbUnicode) - which works for the >message boxes. It's returning the right stuff. Just won't display Chinese >characters. > >Any idea what that might be due to? > >TIA > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com > > >----- Original Message ----- >From: "Stuart McLachlan" <stuart at lexacorp.com.pg> >To: "Access Developers discussion and problem solving" ><accessd at databaseadvisors.com> >Sent: Sunday, June 13, 2004 10:05 PM >Subject: Re: [AccessD] Another Translation Problem > > > > >>On 14 Jun 2004 at 14:54, Stuart McLachlan wrote: >> >> >> >>>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. >>> >>> >>> >>I just installed Airal Uncode MS in O2K and tried it again. Changed the >> >> >second > > >>one to: TabCtl0.FontName = "Arial Unicode MS" >> >>It still changed the font properly (Don't know what would have happened if >> >> >I > > >>had tried a different language, I've never done any of that sort of thing) >> >> >> >> >>-- >>Lexacorp Ltd >>http://www.lexacorp.com.pg >>Information Technology Consultancy, Software Development,System Support. >> >> >> >>-- >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada