PRB: Listbox Not Properly Redrawn in Design ModeID: Q129906 3.00 WINDOWS
The information in this article applies to:
SYMPTOMSWhen a list box is resized in Design Mode, black boxes that correspond to the handles are left on the Form. This occurs when the list is resized in a program (for example, when you are coding a Builder). The list is properly refreshed when you resize it in the Form Designer.
CAUSEWhen modifying the size of an object outside the Form Designer, Visual FoxPro does not automatically manage the position of the handles in the corners. However a new function, SYS(104), has been included in the product. It switches the handles ON and OFF at design time.
STATUSThis behavior is by design.
RESOLUTIONIf you are developing a builder or a wizard that accesses objects outside of the Form Designer at design time, use the SYS(104) function to toggle the grippers on and off. For example, type the following when you are ready to move the control:
Use the SYS(104) function in the same fashion when you are ready to redraw
the handles after the control has been repositioned.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a Form. 2. Place a list box on the form. Leave the focus on the list box. 3. From the Command window, type the following code:
Additional reference words: 3.00 vFoxwin
KBSubcategory: FxtoolFormdes
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |