473,569 Members | 2,762 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Toolbar button problem - text not visible

I have a problem that shows up only on some systems - the toolbar text in
buttons is not visible (vb.net 2003 app, 1.1 framework). As a workaround, I
changed the textalign property to "right". This solved the problem, but I
don't know what's happening. I notice that there is a small "dot" in the
first toolbar button that shows up in either of the textalign property
choices. Perhaps this is why the text disappears but I didn't put the dot
there and redoing the text in that button doesn't make the dot disappear.

Any ideas?
Nov 21 '05 #1
3 2875
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.

Nov 21 '05 #2
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.

Nov 21 '05 #3
Hi

Thanks for your quickly reply!

From your description, it seems that you can not reproduce the problem on
your side any more even if you change the dpi settting.
So far it is hard to guess what is the problem.
I think you may try to use the reflector tool which is cool disassembly
tool to view the source of the compiled exe.
You may compare it with your worked one to find what is the difference.
Reflector for .NET
http://www.aisto.com/roeder/dotnet/
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.

Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
65738
by: Code Monkee | last post by:
How can the toolbar and menubar be hidden in IE? When opening the window via javascript I can specify 'toolbar=no,menubar=no', which works fine. However if the window already exists how can I remove them? If the browser is Netscape I can use javascript: window.toolbar.visible = false; window.menubar.visible = false; but IE produces the...
1
3376
by: Prakash Wadhwani | last post by:
When I start my Application I put the following code in the Main form Load Event which switches off all the ToolBars so that nothing except my form & it's controls are visible to the user. .......................................................... Private Sub Form_Load() CurrentDb.Properties("StartupShowDBWindow") = False '==== Hide the...
0
1793
by: Lauren Quantrell | last post by:
I use the following code to create text edit fields and command buttons in my toolbars: Function CreateToolbarObject(myObjectType as integer) Dim newObject Select Case myObjectType Case 1 'text Set newObject =
1
2017
by: TD | last post by:
I created a new toolbar for my reports and need a button on it that opens (I'm not sure what the offical name of this window is) the Windows printer window where you can select which printer to print to and change the printer preferences, etc. I am using Access 2003. Is there a way to do this? Thanks, TD
2
3323
by: Sveta | last post by:
Hi all! C# question: Does anyone knows how to make a toolbar button image to make visible for a disabled button? When the toolbar button is disabled, only the gray hole is displayed instead of the grayed out image. Thank you.
4
1189
by: Asim Tozlu | last post by:
Hi NG, i want use this example: this.toolBar.Buttons.Visible = true; But this example not work. I can use only this one: this.toolBar.Buttons.Visible = true;
1
1312
by: Tor Inge Rislaa | last post by:
Toolbar doesn't show text I have a toolbar on top of my form. The .text property is set for each button, but it is visible only in design mode. When I run my application the text is invisible. If I set the .TextAlign property for the Toolbar to Right the text is shown both designtime and runtime. Any suggestions? TIRislaa
6
3887
by: =?Utf-8?B?L2Rldi9udWxs?= | last post by:
Hello, i am using visual studio 2003 enterprise architect version. I am making apps for the .Net framework 1.1. While testing an interface, i discovered something strange. In this application we have a standard toolbar that is at the top of the form window. It contains about 8 buttons that use images from an imagelist. Sometimes we hide...
3
7652
by: JFKJr | last post by:
Hello everyone, the following is the code which opens an excel file and creates a toolbar button. And, when I click the toolbar button as shown at line #28, the code should call the "Example" macro. But, it is displaying "The Macro "Example" cannot be found" Message Box. Can anyone suggest an idea on how to call the macro whenever a user...
0
7694
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7921
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7666
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6278
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5504
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2107
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.