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):

%eb

Edit boxes

%cw

Embedded ClearWin windows

%dw

Owner draw box

%fr

Frame for MDI child windows

%gr

Graphics box, must have metafile_resize or user_resize property.

%ht

Hypertext

%ls

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

%ms

Multiple selection boxes

%og

OpenGL graphics box.

%tv

Tree-view

%tx

Text array

%uw

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-2017 Silverfrost Limited