Graphical Interface components

  • Thread starter Thread starter LawX
  • Start date Start date
L

LawX

Ok, here is my first problem: my english is not too good,
i'll try to make it easy so everyone can get my words.

It's all about Label in .net CF. I want to know how to
make a label scrollable or, better, how to make it scroll
the text when during the text selection, you push on the
right-end of the label? Whow, that sentence was long.

Everyone knows what I'm talking about, it's just like when
on typical Win CE, you want to see the end of a too long
file name (in the file explorer), one way is to rename it
and then, when selecting until the right-end, you see the
text appears.

Hope at least someone did get it.

I really need a quick hint cause I gotta give my work back
soon and I've got so much other thing to do, please, help!!

Thanks in advance.

LawX
 
Instead of using Label (that doesn't support scrolling) you could use a
TextBox control with its Multiline and ScrollBars properties set. If that
doesn't give you exactly what you are looking for you could create a custom
control derived from the Label control and implement all the scrolling
functionality.

Best Regards,

Jay Abbott
Visual Studio for Devices

- This posting is provided "AS IS" with no warranties, and confers no
rights. -
--------------------
| Content-Class: urn:content-classes:message
| From: "LawX" <[email protected]>
| Sender: "LawX" <[email protected]>
| Subject: Graphical Interface components
| Date: Fri, 22 Aug 2003 03:39:20 -0700
| Lines: 22
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcNomaUWnV3KAp8fTHuGU4fOCL79Wg==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:31715
| NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Ok, here is my first problem: my english is not too good,
| i'll try to make it easy so everyone can get my words.
|
| It's all about Label in .net CF. I want to know how to
| make a label scrollable or, better, how to make it scroll
| the text when during the text selection, you push on the
| right-end of the label? Whow, that sentence was long.
|
| Everyone knows what I'm talking about, it's just like when
| on typical Win CE, you want to see the end of a too long
| file name (in the file explorer), one way is to rename it
| and then, when selecting until the right-end, you see the
| text appears.
|
| Hope at least someone did get it.
|
| I really need a quick hint cause I gotta give my work back
| soon and I've got so much other thing to do, please, help!!
|
| Thanks in advance.
|
| LawX
|
 
Back
Top