Difference between revisions of "Reference: MSEgui/TFrame"

From Free Pascal wiki
Jump to navigationJump to search
Line 8: Line 8:
 
===Hierarchy===
 
===Hierarchy===
 
===Properties===  
 
===Properties===  
 +
====Caption====
 +
 +
At some widgets the Caption of the frame is a "add on", at TCheckBox it's a essential part of the widget:
 +
 +
[[Image:msegui_frame_captionon.png‎]]
 +
 +
 +
 +
 
====FrameImage====
 
====FrameImage====
  

Revision as of 12:32, 23 December 2015

TFrame

work in progress

The visual appearance of a widget is specified by the properties Face and Frame. Face concerns the widget itself, Frame the appearance around it.

Reference

Hierarchy

Properties

Caption

At some widgets the Caption of the frame is a "add on", at TCheckBox it's a essential part of the widget:

msegui frame captionon.png



FrameImage

With the property FrameImage you can paint individual frames by using a TImageList. In the imalge list their are used 8 consecutive images. The images for the edges will be stretched as needed - this will look very strange, if this images are not suitable (look TFace.Frameimage).

Usually you will use very small pictures, see the following picture:

msegui frame frameimage2.png

property FrameImage_list: timagelist;
    // imagenr 0 = topleft, 1 = left, 2 = bottomleft, 3 = bottom,
    // 4 = bottomright 5 = right, 6 = topright, 7 = top
property FrameImage_offset: integer default 0;

Methods

Events

known issues

issues of the class

issues of this documentation