Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

 

does anyone knows how to get a border around a label or change the backcolor of it??

 

The property (backcolor) is there, but when I set it there is no result :-S

 

 lblTesting.BackColor = Color.Red

  • *Experts*
Posted

The BackColor and BorderStyle properties are not supported by the .NET Compact

Framework (as you have no doubt noticed). Your best bet is to draw the text,

background, and border manually using GDI+.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • *Experts*
Posted
Ah yes, nothing like a little cheesy hack to save some coding time. :) Great idea.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

  • *Experts*
Posted

Hmmm.... if you place all the days inside yet another Panel, then when you switch

months you can loop through the Controls collection of that Panel and remove them

all before drawing the new month.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Posted

Errr.... I think if you use the .NET Compact Framework, yes. Becouse that is a standard for writing applications for a Pocket PC...

 

Do you mean a Pocket PC with the operating system Pocket PC 2002/2003 or another type of PDA.

  • *Experts*
Posted

I don't think there are any Jornadas capable of running the .NET Compact Framework

becakse HP stopped making them before Pocket PC 2002 was available.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...