10-20-2009 11:30 AM
I've just ported an application developed with CVI 6.0 over to CVI 9.0 and I'm running into problems with labels not showing up when ran on the target system (XP Embedded). I've since learned that I have to select the "Western Character Set" for each control in order for the label to show up correctly. I've resolved the problems for all of the controls from the GUI editor. I'm still having problems with text not showing up for Easytab control labels and popup windows. I've searched the CVI API and went over the Easytab FP but I did not find anything that would allow me to set the characterset for these controls.
Does anybody have a solution for this issue?
Thanks.
Solved! Go to Solution.
10-21-2009 12:24 AM
It's not clear to me if you are speaking about the labels on the tabs or labels for controls on the tab pages. In the second case, these are standard controls so you should be able to customize them individually (you may need to do so prior to adding panels to the EasyTab control if you don't want or can't fo it in the UIR editor). I cannot give you informations on the first case (tabs label).
But a simpler solution for you could be the transition from the EasyTab instrument to using the native Tab control CVI 9 offers you. The logic of using the native control is similar to the EasyTab instrument. With the EasyTab:
(steps 2 and 3 can be substituted with EasyTab_LoadPanels with which you directly load panels into the EasyTab control obtaining the panel handles to address controls on the tab pages).
With native Tab control:
10-21-2009 08:13 AM
Thanks Roberto for your suggestion. I was referring to the tab labels for the EasyTab control. It sounds like I'll have to abandon EasyTab control and go with the native Tab control like you suggested.
I'm still left with the problem of text not showing up in popup windows and I haven't found an API function yet to tell CVI to use the the "Western" charater set for popups.
10-21-2009 09:34 AM
Switching from the EasyTab to native tab control is not as hard as it could be imagined. I was used to EasyTab too, so I resisted in making the move, but after testing it a little I found it very handy.
Unfortunately I cannot help you in your proble with popups: I am still using 8.5 so this text option is not applicable. Just a suggestion: have you tried using SDK MessageBox () function, instead?
10-22-2009 03:54 PM