VGA sizes - bug in CF?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hilton

    #1

    VGA sizes - bug in CF?

    Hi,

    MessageBox.Show (new TextBox ().Height.ToStr ing());
    MessageBox.Show (new ComboBox().Heig ht.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




  • Hilton

    #2
    Re: VGA sizes - bug in CF?

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

    "Hilton" <nospam@nospam. comwrote in message
    news:1S5Ug.1234 4$7I1.2138@news svr27.news.prod igy.net...
    Hi,
    >
    MessageBox.Show (new TextBox ().Height.ToStr ing());
    MessageBox.Show (new ComboBox().Heig ht.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
    >
    >
    >
    >

    Comment

    Working...