Peter,
You are correct in your restatement of the problem - althought fortuituously
you did not mention the small dot, which is good because embarassingly. this
turned out to be a speck of dust (this is a laptop).
The OS is XP Pro SP2, and the screen resolution is 1920x1200 with 120 dpi
(large size) I swiched the dpi to 96 (noraml size) and the text is now
visible! On resetting dpi to 120, the text once again disappears. So this
seems to be part of the cause. The text font properties in the toolbar
button were not changed from default values.
I also note that when I open vb.net and change the source code by reseting
the textalign property back to underneath from right, the text is now
visible (e.g., no more problem). Maybe I also changed something else but I
can't seem to reproduce the problem in debug mode.
However, as I mentioned above, I can cause the problem to come and go in the
previously compiled executable by changing the dpi setting.
Jan
""Peter Huang" [MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:T$******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi
First of all, I would like to confirm my understanding of your issue.
From your description, I understand that you winform app has a few buttons
on a toolbar control, while the text in the toolbar button control is not
visible on some machine.
Have I fully understood you? If there is anything I misunderstood, please
feel free to let me know.
Based on my test, I can not reproduce the problem, can you provide a
reproduce sample, so that I can reproduce the problem on my side and
investigate it?
Thanks for your understanding.
Also you said the problem lay only on some machine. So what is the
different setting between the problematic machine and the fine ones?
Have you tried to check the display setting(control panel--->display),
e.g.
Appearance,Sett ing(Screen resolution,DPI setting)?
I look forward to hearing from you.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no
rights.