class sizerPercent

superclass(es) sizer
subclass(es) -
description The sizerPercent class is the sizer class that makes a panel 'stick' to one side of the frame window and adjusts the size of the panel to the size of the frame window. The size of the panel window will be a percentage of the remaining area inside a frame window.
see also panel

tasks

After a sizerPercent instance is assigned to a panel window it takes care of resizing the panel window automatically. The size of the panel window is a percentage of either the height or width of the remaining area inside a frame window. The term 'remaining area' is used to indicate that there can be other panels that occupy space inside a frame window.

methods

percentage(Output)

func Retrieve the percentage of the sizer.
pre TRUE.
post The percentage value of the sizer is assigned to the variable Output.
Arrow.gif (1632 bytes) The percentage value is a value between 0 and 100.

putPercentage(Percentage, Output)

func Set the percentage of the sizer.
pre The variable Percentage must contain an integer value between 0 and 100.
post If the percentage of the sizer was set then true is assigned to Output, if there was an error assigning the percentage, the value false is assigned to Output.
Arrow.gif (1632 bytes) The percentage value is a value between 0 and 100.