FrameSetClientSize

HC GUI programming Frames FrameSetClientSize
FrameFullScreen FrameSetColor

FrameSetClientSize aframe width height


Command to set the client size of the Frame aframe. The client size is the interior of the frame, which is, what mostly has to be set instead of the complete window size in Frame.

width and height are integer numbers.

Example:

f=Frame [][MyFrame] wxStay_on_top [100 200][200 100]
b=(Button f [Close][ern "f  GC] 0 [-1 -1][100 40])
FrameSetClientSize f 100 40

Examples:

References:

FrameFullScreen FrameSetColor