Unit 'msegui' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

optionwidget1ty

Every widget inserted into a twidgetgrid column adjusts the grid's row height to its own height on insert

Declaration

Source position: msegui.pas line 160

type optionwidget1ty = (

  ow1_clientcxmin,

  ow1_clientcymin,

  ow1_clientcxmax,

  ow1_clientcymax,

  ow1_fontglyphheight,

  ow1_fontlineheight,

  ow1_autoscale,

  ow1_autowidth,

  ow1_autoheight,

  ow1_autosizeanright,

  ow1_noautosizeanright,

  ow1_autosizeanbottom,

  ow1_noautosizeanbottom,

  ow1_noparentwidthextend,

  ow1_noparentheightextend,

  ow1_invisibleparentsizeextend,

  ow1_canclosenil,

  ow1_nocancloseifhidden,

  ow1_modalcallonactivate,

  ow1_modalcallondeactivate,

  ow1_noautosizing,

  ow1_noclampinview,

  ow1_noassistive

);

Description

Every widget inserted into a twidgetgrid column adjusts the grid's row height to its own height on insert (the popup menu item 'Sync. to Font Height' does this on demand for the currently selected widget). To keep a widget's height (and so the row height) synchronized with later font height changes, set ow1_autoscale together with ow1_fontglyphheight or ow1_fontlineheight in the widget's optionswidget1 — set this only on one widget per row, not on several widgets of the same twidgetgrid.


Documentation generated on: 2026-10-03