|
-
Jan 16th, 2007, 05:12 AM
#1
Thread Starter
Fanatic Member
quick question about creating buttons at runtime
Hi guys,
I am using .net compact framework 2.0.
This may be an easy question to answer but i cant seem to solve it myself. I am creating a button at run-time and i need the text on the button to appear on two lines. I want the button to say
Select
Image
When i say Button1.Text = "Select Image" it puts it on 1 line (and my button is not wide enough to display it on one line), and when i try
Button1.Text = "Select" & controlchars.newline & "Image", it never displays the image part of the text no matter how big i make the height of the button.
Can anybody tell me how to get the text on the button like i want it displayed above? And why none of my earlier attempts have worked.
Thanks in advance for any help.
If your problem has been solved then please mark the thread [RESOLVED].
If i have helped then please Rate my post 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|