Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linklabels don't display at the right place 1

Status
Not open for further replies.

myrgir

Programmer
Feb 7, 2006
62
CA
Hi
I have linklabels. All of them are right align. When I run my project, I set all of my linklabels.text to a value that contains my table. I don't know why but when I run my programs, the linklabel have the right place vertically but on the horizontaly side, it's all mixed up!
Why?
Thanks
 
Is the linklabel text coming from a database field?


I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Is the database field fixed width? Try doing a .Trim on the text before applying it to the linklabel.

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
 
Hi
It doesn't change anything...
Have any other idea?
 
If you set the control's AutoSize property to True then try setting it to false and set its width (in the Size property) as width as possible.

Regards,
mansii
 
yes!
It was the AutoSize the problem. It was set to True. So now this is working fine.
Thanks
 
Good to know that. Thank's for the star.

Regards,
mansii
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top