King Erik I Posted April 21, 2004 Posted April 21, 2004 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 Quote
*Experts* Bucky Posted April 21, 2004 *Experts* Posted April 21, 2004 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+. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
King Erik I Posted April 21, 2004 Author Posted April 21, 2004 What i can do also is just create behind a label a panel... ;-) think im going to do that. A border around a calendar day is handy :-P Quote
*Experts* Bucky Posted April 21, 2004 *Experts* Posted April 21, 2004 Ah yes, nothing like a little cheesy hack to save some coding time. :) Great idea. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
King Erik I Posted April 22, 2004 Author Posted April 22, 2004 It worked... only now i've got another problem... when i want to switch to another month the calendar is very slow and the days which have been created wont dissapear. Posted it on http://www.xtremedotnettalk.com/showthread.php?t=85224 :-( Quote
*Experts* Bucky Posted April 22, 2004 *Experts* Posted April 22, 2004 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. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
neodammer Posted April 23, 2004 Posted April 23, 2004 whoa, I can program in vb for my jornada pocket pc?.. far out. Is there a whole different set of commands etc.? Quote Enzin Research and Development
King Erik I Posted April 23, 2004 Author Posted April 23, 2004 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. Quote
*Experts* Bucky Posted April 23, 2004 *Experts* Posted April 23, 2004 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. Quote "Being grown up isn't half as fun as growing up These are the best days of our lives" -The Ataris, In This Diary
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.