PRB: eVB: Scrollbars Appear Incorrectly in Run Mode

Article translations Article translations
Article ID: 265746 - View products that this article applies to.
This article was previously published under Q265746
Expand all | Collapse all

On This Page

SYMPTOMS

When you place a small horizontal or vertical scrollbar on a form, the scrollbar appears blank or without arrows, depending on the size of the control.

STATUS

This behavior is by design.

MORE INFORMATION

This behavior occurs because of the way that Windows CE handles the painting of the control.

Steps to Reproduce Behavior

  1. Create a new HPC Pro or Pocket PC project in eMbedded Visual Basic. Form1 is created by default.
  2. Add a vertical scrollbar to Form1.
  3. Add the following code to Form1:
    Private Sub Form_Load()
             VScroll1.Height = 450
    End Sub
    					
  4. Press the F5 key to run the project in emulation. Notice that no arrows appear in the scrollbar.
  5. Change the code provided in Step 3 to read:
    Private Sub Form_Load()
             VScroll1.Height = 250
    End Sub
    					
  6. Press the F5 key to run the project. Notice that in the HPC Pro project you get a white rectangle, while in the Pocket PC project no scrollbar appears on the form.

Properties

Article ID: 265746 - Last Review: September 4, 2002 - Revision: 1.0
APPLIES TO
  • Microsoft eMbedded Visual Basic 3.0
Keywords: 
kbprb KB265746
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com