[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgWindowBase.Width

Specifies the horizontal size of the control or form in pixels

Declaration

Source position: fpg_base.pas line 535

public property TfpgWindowBase.Width: TfpgCoord
  read FWidth
  write SetWidth;

Description

Specifies the horizontal size of the control or form in pixels. Use the Width property to read or change the width of the control. For TfpgTabSheet controls of for controls that have their Align property set to alTop, alBottom or alClient, changing this property at runtime has no effect.

Remark: fpGUI delays acting on the Top, Left, Width and Height properties of a control until the UpdateWindowPosition method is called. For more information on why this is so, see UpdateWindowPosition help.

See also

TfpgWindowBase.UpdateWindowPosition

  

Forces fpGUI to act on window position and size properties


Documentation generated on: 2013-04-29