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

captionframeoptionty

Prefer setting a caption through a widget's own frame.caption rather than overlaying a separate tlabel, it is more productive

Declaration

Source position: msewidgets.pas line 48

type captionframeoptionty = (

  cfo_fixleft,

  cfo_fixright,

  cfo_fixtop,

  cfo_fixbottom,

  cfo_autowidth,

  cfo_autoheight,

  cfo_captionnogray,

  cfo_captiondistouter,

  cfo_captionframecentered,

  cfo_captionnoclip,

  cfo_nofocusrect,

  cfo_forcefocusrect,

  cfo_focusrect,

  cfo_captionfocus,

  cfo_framerectfocus

);

Description

Prefer setting a caption through a widget's own frame.caption rather than overlaying a separate tlabel, it is more productive. cfo_captiondistouter changes the meaning of captiondist: it becomes the distance between the frame and the start of the first caption character (for cp_left) or the end of the last character (for cp_right), letting several stacked widgets have their captions left/right aligned independently of the caption text and font.


Documentation generated on: 2026-10-03