Silverfrost Logo About Us | Contact Us

Pivot - %pv

In the absence of a pivot (%pv) a window will not re-size (except to minimise). A pivot may only be placed before a control that will re-size in response. It is an error to attempt to pivot any other type of control. The following controls will accept the pivot (more may be added later, but many controls are intrinsically fixed in size):


Edit boxes


Embedded ClearWin windows


Owner draw box


Frame for MDI child windows


Graphics box, must have metafile_resize or user_resize property.




List box controls (but not dropdown boxes using the grave accent)


Multiple selection boxes


OpenGL graphics box.




Text array


User defined window

An alternative %pv mechanism is available but not recommended. The alternative is is obtained by calling set_old_resize_mechanism@. In this case, the %pv format code marks the position of a pivot point. Items to the right of this point move to the right as the window is widened, whilst items below the pivot point move downwards as the window is lengthened. %nr and %nd can be used in conjunction with this mechanism.



Copyright © 1999-2019 Silverfrost Limited