Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / September 2004

Tip: Looking for answers? Try searching our database.

TextAlignment problem in Buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack Wright - 27 Aug 2004 08:21 GMT
Dear All,
  On one of our client machines the button Texts are all
Left-Aligned, while it is Centre Aligned in the code...we are not able
to reproduce this problem onour machines...what can be the problem?
Please help...

TALIA

Many Regards
Jack
Herfried K. Wagner [MVP] - 27 Aug 2004 12:01 GMT
* sunil@volcanomail.com (Jack Wright) scripsit:
> On one of our client machines the button Texts are all
> Left-Aligned, while it is Centre Aligned in the code...we are not able
> to reproduce this problem onour machines...what can be the problem?

What Windows version?  What operating system language?  What .NET
version?  Is 'FlatStyle' set to 'System'?

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/

Jack Wright - 31 Aug 2004 09:03 GMT
Hi Herfried,
  Thanks for replying...here is the data...
What Windows version?
Answer: ??
What operating system language?
Answer: ??
What .NETversion?
Answer: 1.0
Is 'FlatStyle' set to 'System'?
Answer: Yes. this has been done to inherit the Form's Font settings also
to make the text bold after applying skin...

Please help...

TALIA
Many Regards
Jack
Jack Wright - 31 Aug 2004 09:03 GMT
Hi Herfried,
  Thanks for replying...here is the data...
What Windows version?
Answer: Windows XP
What operating system language?
Answer: German
What .NETversion?
Answer: 1.0
Is 'FlatStyle' set to 'System'?
Answer: Yes. this has been done to inherit the Form's Font settings also
to make the text bold after applying skin...

Please help...

TALIA
Many Regards
Jack
Herfried K. Wagner [MVP] - 31 Aug 2004 11:45 GMT
*     Jack Wright <sunil@volcanomail.com> scripsit:
> What Windows version?
> Answer: Windows XP
[quoted text clipped - 5 lines]
> Answer: Yes. this has been done to inherit the Form's Font settings also
> to make the text bold after applying skin...

I have tested a .NET 1.0 app on a German Windows XP SP1 system and I was
not able to repro the problem.  Can you upload a simple test application
+ source code that can be used to repro the problem?

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/

Jack Wright - 01 Sep 2004 05:03 GMT
Hi Herfried,
  Thank you so much for taking efforts to help me...I appreciate it...I
called up the customer and he informed me that the problem is now
gone...he does not know how it started working...
But just to give you a hint...my Application was running fine in
standalone mode...the moment I launched my application with No Touch
deployment via a stub program...the button text used to get left
aligned...though it does not occur now...I am still guessing what could
have been the problem...

Thanks a lot...

Many Regards
Jack
Herfried K. Wagner [MVP] - 01 Sep 2004 12:20 GMT
Jack,

*     Jack Wright <sunil@volcanomail.com> scripsit:
>    Thank you so much for taking efforts to help me...I appreciate it...I
> called up the customer and he informed me that the problem is now
> gone...he does not know how it started working...

:-)

> But just to give you a hint...my Application was running fine in
> standalone mode...the moment I launched my application with No Touch
> deployment via a stub program...the button text used to get left
> aligned...though it does not occur now...I am still guessing what could
> have been the problem...

Thank you for posting the possible reason for the problem.

Signature

M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.