Painter
|
![]() ![]() ![]() |
Define and Properties |
CREATE PAINTER cName | (cVarName) | &(cExpression) | ||||||
[ PARENT cParentName ] | ![]() | Parent window for this widget | ||||
[ PARENTTYPE n/a ] | ![]() | Only for mg_get() function, this property returns the PARENT control type or "" if the parent was not set. | ||||
[ ROW nRow ] | ![]() | Row position on container desktop in pixels coordinates | ||||
[ COL nCol ] | ![]() | Col position on container desktop in pixels coordinates | ||||
[ WIDTH nWidth ] | ![]() | The desired width size of the window in pixels | ||||
[ HEIGHT nHeight ] | ![]() | The desired height size of the window in pixels | ||||
[ ROWBOTTOM nRow ] | ![]() | Bottom Row position on container desktop in pixels coordinates. This property adjust the HEIGHT property according the ROW property. | ||||
[ COLRIGHT nCol ] | ![]() | Right Col position on container desktop in pixels coordinates. This property adjust the WIDTH property according the COL property. | ||||
[ TOROW nBottom ] | ![]() | Bottom ROW. Usually used with ROW, COL and TOCOL | ||||
[ TOCOL nRight ] | ![]() | Right COL. Usually used with ROW, COL and TOROW | ||||
[ COORD { nLeft , nTop , nRight , nBottom } ] | ![]() | Coordenates to painter area | ||||
[ FROMXY { nLeft , nTop } ] | ![]() | Coordenates to painter area (Usually used with TOXY property) | ||||
[ TOXY { nRight , nBottom } ] | ![]() | Coordenates to painter area (Usually used with FROMXY property) | ||||
[ FONTNAME "cFontName" ] | ![]() | Font family for DRAW TEXT | ||||
[ FONTSIZE nPoints ] | ![]() | Font size for DRAW TEXT | ||||
[ FONTBOLD .T. | .F. ] | ![]() | Set Bold attribute to DRAW TEXT | ||||
[ FONTITALIC .T. | .F. ] | ![]() | Set Italic attribute to DRAW TEXT | ||||
[ FONTUNDERLINE .T. | .F. ] | ![]() | Set Underline attribute to DRAW TEXT | ||||
[ FONTSTRIKEOUT .T. | .F. ] | ![]() | Set Strikeout attribute to DRAW TEXT | ||||
[ PENWIDTH nPenWidth ] | ![]() | Width of Pen used to DRAW | ||||
[ STYLEPEN cStylePen ] | ![]() | Set the Style Pen for DRAW. | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the DRAW area. Go to to learn more about it. | ||||
[ COLOR {aColor} | aVarColor ] | ![]() | Set foreground color | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color. Only for TEXT color | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background color | ||||
[ TOOLTIP cToolTip ] | ![]() | Text for display into tooltip | ||||
[ VISIBLE .T. | .F. ] | ![]() | Show or hide DRAW area (like methods SHOW and HIDE) | ||||
[ CREATE CONTEXT MENU [ cName ] ] | ![]() | CONTEXT MENU for control | ||||
[ ......... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ END MENU ] | ![]() | |||||
[ ......... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ @ DRAW ....... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ @ DRAW ....... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ @ DRAW ....... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ ......... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
END PAINTER |
Jump to Context Menu topic |
Methods |
CLEAR | ![]() | Clear DRAW area. | ||||
RELEASE | ![]() | Release DRAW area | ||||
HIDE | ![]() | Hide DRAW area. | ||||
SHOW | ![]() | Show DRAW area. | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the DRAW area to default (Qt_ArrowCursor). Go to to learn more about it. |
Marinas-GUI Version 03.06 and Marinas-IDE Version 05.06 and LEX Files Version 02.06 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- last update: April 27 2017 --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ![]() A Harbour/QT framework to make multiplatform programs (©) Copyright 2009-2017 by Fernando Santolin (aka CarozoDeQuilmes) CarozoDeQuilmes@gmail.com 2009-2017 Beta tester and full English translator: Bruno Luciani Bruno.Luciani@gmail.com 2014-2015 Final English corrector: David Worboys DavidWorboys@hotmail.com --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- www.marinas-gui.org |
|
![]() ![]() ![]() |