PC Review


Reply
Thread Tools Rate Thread

Button text problem.

 
 
=?Utf-8?B?QW5kcmV3?=
Guest
Posts: n/a
 
      19th Aug 2004
Does anybody know how to make the text of a command button in a Pocket PC
VB.net app (.net compact framework) span multiple lines like what can be done
in a windows forms app command button?


Thanks.
 
Reply With Quote
 
 
 
 
Daniel Bass
Guest
Posts: n/a
 
      20th Aug 2004

Yes, you need to download the OpenNetCF library (v1.2)and use ButtonEx.

http://www.opennetcf.org/download.as...iceFramework12

Then when you've placed a button on your dialog in the form designer, go
into the code and manually insert
" + OpenNETCF.Environment.NewLine + "
where you'd like your line break to appear.

Hope that helps.

Daniel.

"Andrew" <(E-Mail Removed)> wrote in message
news:2E20688A-8950-4238-B7D8-(E-Mail Removed)...
> Does anybody know how to make the text of a command button in a Pocket PC
> VB.net app (.net compact framework) span multiple lines like what can be
> done
> in a windows forms app command button?
>
>
> Thanks.



 
Reply With Quote
 
=?Utf-8?B?QW5kcmV3?=
Guest
Posts: n/a
 
      23rd Aug 2004
Thanks for that Daniel!

It worked well.


Andrew

"Daniel Bass" wrote:

>
> Yes, you need to download the OpenNetCF library (v1.2)and use ButtonEx.
>
> http://www.opennetcf.org/download.as...iceFramework12
>
> Then when you've placed a button on your dialog in the form designer, go
> into the code and manually insert
> " + OpenNETCF.Environment.NewLine + "
> where you'd like your line break to appear.
>
> Hope that helps.
>
> Daniel.
>
> "Andrew" <(E-Mail Removed)> wrote in message
> news:2E20688A-8950-4238-B7D8-(E-Mail Removed)...
> > Does anybody know how to make the text of a command button in a Pocket PC
> > VB.net app (.net compact framework) span multiple lines like what can be
> > done
> > in a windows forms app command button?
> >
> >
> > Thanks.

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ajax, changing text in a button, and button click problem Tim Microsoft ASP .NET 0 23rd Jul 2008 08:57 PM
Button Text Problem AndyM Microsoft Excel Programming 1 16th May 2008 02:18 PM
Button Text Not Changed Problem Arif Çimen Microsoft C# .NET 3 26th Apr 2005 11:09 AM
Toolbar button problem - text not visible Jan Krouwer Microsoft VB .NET 3 16th Mar 2005 05:15 AM
'small' text, mouse scroll button problem related? jd Windows XP Internet Explorer 3 4th Feb 2004 07:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:46 PM.