Problem with ButtonEx and ColorButton

  • Thread starter Thread starter Carsten Marx
  • Start date Start date
C

Carsten Marx

Hello,m
currently i have some ugly problems with my Buttons in my App...
I wanted to have Bachgroudnimages for my Buttons...
Ok first of all i tried the Example class from Microsoft (ImageButton)
but there were some things i don't like and some things i couldn't do
(also impossible with my own modifications) with this class.

So i tried the ButtonEx class from OpenNetCF, but if you set a
Backgroudnimage and then a Text to the Button it's really ugly...

So i buyed the Control Colorbutton from PocketControls.com
( http://www.pocketpccontrols.com/controls/colorbutton/)
becaude the Buttons are looking very cool.
Now with this Control i have wonderful Buttons... BUT onlx if i click
one time on them... Before that they look very ugly (like the ButtonEx)..
After clicking one time on them, they're looking fantastic. No Refresh()
or Invalidate() or something like this is changing anything...

(BTW: It doesn't matter if Cleartype in my Pocket PC is activated or not...)

Why is the Colorbutton after a click on it beautiful anf before not...?

Anyone an idea....
It's really frustrating...

Regards
Carsten Marx

P.S. The author of the Colorbutton Control is currently not
responding... :-(
 
That does look pretty messed up. Got some Q's for ya.
What type of device are you using?
What is the OS?
What type of Font are you using (family, style, and size)?

--
Tim Wilson
..Net Compact Framework MVP

Carsten Marx said:
this... (see attachment buttons.jpg).
The left one is a ButtonEx and the right one is a ColorButton....
The ColorButton becomes nice if i click one time on it... (see
attachment buttons-clicked.jpg)

Funny istn't it.... i could cry.... :-(

Regards
Carsten


P.S. I need small Fonts because i have not much space.... :-)
 
Tim said:
That does look pretty messed up. Got some Q's for ya.
What type of device are you using?
What is the OS?
What type of Font are you using (family, style, and size)?
Acus myPal A730W with Pocket PC 2003 Second Edition (480x640) Premium

Font FONT_SMALL = new Font("Arial", 5f,FontStyle.Regular);
Font FONT_SMALL_BOLD= new Font("Arial", 5f,FontStyle.Bold);
Font FONT_DEFAULT = new Font("Arial", 6f,FontStyle.Regular);
Font FONT_DEFAULT_BOLD = new Font("Arial", 6f,FontStyle.Bold);

Should i use another?

Regards
Carsten

P.S: Yeah please send me some, mine are empty ;-)
 
Carsten said:
Acus myPal A730W with Pocket PC 2003 Second Edition (480x640) Premium

Font FONT_SMALL = new Font("Arial", 5f,FontStyle.Regular);
Font FONT_SMALL_BOLD= new Font("Arial", 5f,FontStyle.Bold);
Font FONT_DEFAULT = new Font("Arial", 6f,FontStyle.Regular);
Font FONT_DEFAULT_BOLD = new Font("Arial", 6f,FontStyle.Bold);

Should i use another?

Regards
Carsten

P.S: Yeah please send me some, mine are empty ;-)

BTW, there is no change with
FontFamily.GenericSansSerif
or
FontFamily.GenericMonospace
or
FontFamily.GenericSerif

.... :-(
 
Although you are seeing something displayed, I don't think that the Arial
font was meant to be used at such a small size. If you look at the Arial
font in Pocket Word, the smallest size allowable through the Format dialog
is 8. Is there any way you might be able to re-think your user interface
design? Would your users be ok with such a small font size? If you're
running out of room consider breaking up a single Form into multiple Forms,
and then using a Font size of 8 for text.
 
Back
Top