By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 2,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

VGA sizes - bug in CF?

P: n/a
Hi,

MessageBox.Show (new TextBox ().Height.ToString());
MessageBox.Show (new ComboBox().Height.ToString());

gives 20 and 20 in non-VGA mode and 20 and 40 in VGA mode. Seems like the
CF does not set the height of textboxes correctly in VGA mode (using
res2exe). This means that textboxes are half-height, but combo boxes look
fine. Seems like "new TextBox" should create a 'usable' text box which is
doesn't.

A known bug?

Hilton


Oct 2 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Sorry, ignore, I meant to post his to the Compact Framework group, although
it does have some relavence here.

"Hilton" <no****@nospam.comwrote in message
news:1S******************@newssvr27.news.prodigy.n et...
Hi,

MessageBox.Show (new TextBox ().Height.ToString());
MessageBox.Show (new ComboBox().Height.ToString());

gives 20 and 20 in non-VGA mode and 20 and 40 in VGA mode. Seems like the
CF does not set the height of textboxes correctly in VGA mode (using
res2exe). This means that textboxes are half-height, but combo boxes look
fine. Seems like "new TextBox" should create a 'usable' text box which is
doesn't.

A known bug?

Hilton


Oct 2 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.