Difference between revisions of "Reference: MSEgui/TFrame"

From Free Pascal wiki
Jump to navigationJump to search
(Created page with "=TFace= ==Reference== ===Hierarchy=== ===Properties=== ====FrameImage==== ===Methods=== ===Events=== ==known issues== ===issues of the class=== ===issues of this documentat...")
 
Line 1: Line 1:
=TFace=
+
=TFrame=
 
==Reference==
 
==Reference==
 
===Hierarchy===
 
===Hierarchy===
 
===Properties===  
 
===Properties===  
 
====FrameImage====
 
====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 [[eference:_MSEgui/TFace#FrameImage|TFace.Frameimage]]).
 +
 +
Usually you will use very small pictures, see the following picture:
 +
 +
[[Image:msegui_frame_frameimage2.png‎]]
 +
 +
<syntaxhighlight>
 +
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;
 +
</syntaxhighlight>
 +
 +
 +
 
===Methods===  
 
===Methods===  
 
===Events===  
 
===Events===  

Revision as of 11:44, 21 December 2015

TFrame

Reference

Hierarchy

Properties

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