BUG: Selecting "Send to Back" and "Bring to Front" Has No Affect

ID: Q215374


The information in this article applies to:
  • Microsoft Windows CE Toolkit for Visual Basic 6.0, version 1.0


SYMPTOMS

When right-clicking on a control in design time and selecting either "Send to Back" or "Bring to Front," the control appears to be placed accordingly. When the project is run, however, the controls appear as they were originally placed.


CAUSE

The controls are being passed to the VBCE run-time engine in the order that they appear in the VBControls collection of the Extensibility model.


RESOLUTION

Set the ZOrder property of the appropriate controls in code.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Start a new Windows CE HPC Project in Visual Basic. Form1 is created by default.


  2. Place three command buttons on form1 and ensure that they overlap each other.


  3. Right-click Command1 and select Bring to Front from the pop-up menu. Note that Command1 is now in front of the other command buttons.


  4. Run the project and target either emulation or the remote device. Note that the controls are displayed as they were originally placed on the form.


Additional query words: vbce vbce5 vbce6 wce wince

Keywords : kbToolkit kbVBp600bug kbWinCE kbGrpVB
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: September 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.