|
|
|
|
|
UsefulWidth (Property) In french: LargeurUtile
The UsefulWidth property gets and sets the useful width of an internal window (or supercontrol) with scrollbars. The useful size corresponds to the full size of the internal window: - Width of internal window.
- Height of internal window.
SC_Supercontrol1.Width = 320 SC_Supercontrol1.UsefulWidth = 2000
Syntax
Finding out the useful width of an element Hide the details
<Current Useful Width> = <Element to handle>.UsefulWidth
<Current Useful Width>: Integer Useful width of element expressed in pixels. <Element to handle>: Control name or window name Name of the element (internal window or supercontrol) to use.
Modifying the useful width of an element Hide the details
<Element to handle>.UsefulWidth = <New Useful Width>
<Element to handle>: Control name or window name Name of the element (internal window or supercontrol) to use. <New Useful Width>: Integer New useful width of the element expressed in pixels. Remarks - The anchors are applied in relation to the useful size and therefore they are modified if the useful width is modified.
- If the useful width is greater than the width of the internal window (or supercontrol), a scrollbar is displayed.
- If the useful width is smaller than the width of the internal window (or supercontrol), the useful width is ignored.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|