PRB: Listbox Not Properly Redrawn in Design Mode (129906)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q129906 SYMPTOMS
When 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.
CAUSE
When 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.
STATUS
This behavior is by design.
RESOLUTION
If 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:
? SYS(104)
Use the SYS(104) function in the same fashion when you are ready to redraw
the handles after the control has been repositioned.
Modification Type: | Major | Last Reviewed: | 2/10/2000 |
---|
Keywords: | kbcode KB129906 kbAudDeveloper |
---|
|