Tab
|
![]() ![]() ![]() |
Define and Properties |
CREATE TAB cName | (cVarName) | &(cExpression) | ||||||
[ ; OF cWindow ] | ![]() | A reference to the Parent Window | ||||
[ ROW nRow ] | ![]() | Row position on container window in pixels coordinates | ||||
[ COL nCol ] | ![]() | Col position on container window in pixels coordinates | ||||
[ WIDTH nWidth ] | ![]() | The desired width size of the Control in pixels | ||||
[ HEIGHT nHeight ] | ![]() | The desired height size of the Control in pixels | ||||
[ ROWBOTTOM nRow ] | ![]() | Bottom Row position on container window in pixels coordinates. This property adjust the HEIGHT property according the ROW property. | ||||
[ COLRIGHT nCol ] | ![]() | Right Col position on container window in pixels coordinates. This property adjust the WIDTH property according the COL property. | ||||
[ CAPTION nPage , "cText" ] | ![]() | Caption for page nPage | ||||
[ PICTURE nPage , "cPictureName" ] | ![]() | Picture for page nPage | ||||
[ ENABLED .T. | .F. ] | ![]() | Enable or Disable control | ||||
[ VALUE nValue ] | ![]() | Page focused at started | ||||
[ FONTNAME "cFontName" ] | ![]() | Font family for control text | ||||
[ FONTSIZE nPoints ] | ![]() | Font size for control text | ||||
[ FONTBOLD .T. | .F. ] | ![]() | Set Bold attribute to control text | ||||
[ FONTITALIC .T. | .F. ] | ![]() | Set Italic attribute to control text | ||||
[ FONTUNDERLINE .T. | .F. ] | ![]() | Set Underline attribute to control text | ||||
[ FONTSTRIKEOUT .T. | .F. ] | ![]() | Set Strikeout attribute to control text | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background color | ||||
[ TOOLTIP cToolTip ] | ![]() | Text for display into tooltip | ||||
[ MULTILINE .T. | .F. ] | ![]() | ? | ||||
[ FLAT .T. | .F. ] | ![]() | Set Flat attibute for control. The control don't will have 3D aspect. | ||||
[ BUTTONS .T. | .F. ] | ![]() | ? | ||||
[ HOTTRACK .T. | .F. ] | ![]() | ? | ||||
[ VERTICAL .T. | .F. ] | ![]() | ? | ||||
[ BOTTOM .T. | .F. ] | ![]() | ? | ||||
[ PAGECOUNT ] | ![]() | Only for mg_Get() function. It returns the total amount of pages in control | ||||
[ NOTABSTOP .T. | .F. ] | ![]() | This property force that TAB key doesn't stop in this control | ||||
[ HASFOCUS ] | ![]() | Only for mg_Get() function. This property returns .T. if control has the application focus | ||||
[ 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. | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
[ ONCHANGE cOnChange | {BOnChange} ] | ![]() | An action to be performed when control is clicking | ||||
[ ONGOTFOCUS cOnGotFocus | {BOnGotFocus} ] | ![]() | An action to be performed when control is focused | ||||
[ ONLOSTFOCUS cOnLostFocus | {BOnLostFocus} ] | ![]() | An action to be performed when control is lost focused | ||||
[ VISIBLE .T. | .F. ] | ![]() | Show or hide control (like methods SHOW and HIDE) | ||||
[ CONTEXTMENUSUPRESSED .T. | .F. ] | ![]() | Disable the display of the Context Menu of control. | ||||
[ CREATE PAGE cName ] | ![]() | Text to display in Page Tab | ||||
[ PICTURE "cPictureName" ] | ![]() | Picture name for display into caption page | ||||
[ POSITION ] | ![]() | Only for mg_Get. This property return the numeric position of page in the TAB control | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background color | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ FONTNAME "cFontName" ] | ![]() | Font family for control text | ||||
[ FONTSIZE nPoints ] | ![]() | Font size for control text | ||||
[ FONTBOLD .T. | .F. ] | ![]() | Set Bold attribute to control text | ||||
[ FONTITALIC .T. | .F. ] | ![]() | Set Italic attribute to control text | ||||
[ FONTUNDERLINE .T. | .F. ] | ![]() | Set Underline attribute to control text | ||||
[ FONTSTRIKEOUT .T. | .F. ] | ![]() | Set Strikeout attribute to control text | ||||
[ TOOLTIP cToolTip ] | ![]() | Text for display into tooltip | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
[ ENABLED .T. | .F. ] | ![]() | Enable or Disable the page of control | ||||
[ CREATE CONTEXT MENU [ cName ] ] | ![]() | CONTEXT MENU for control | ||||
[ ......... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ END MENU ] | ![]() | |||||
[ .....Controls here !!! ] | ![]() | |||||
[ CREATE TAB ] | ![]() | |||||
[ CREATE PAGE ] | ![]() | |||||
[ .....Controls here !!! ] | ![]() | |||||
[ END PAGE ] | ![]() | ? | ||||
......... | ![]() | |||||
[ CREATE PAGE ] | ![]() | |||||
[ .....Controls here !!! ] | ![]() | |||||
[ END PAGE ] | ![]() | ? | ||||
......... | ![]() | |||||
[ END TAB ] | ![]() | |||||
[ .....Controls here !!! ] | ![]() | |||||
[ END PAGE ] | ![]() | ? | ||||
......... | ![]() | |||||
......... | ![]() | |||||
[ CREATE PAGE ] | ![]() | |||||
[ .....Controls here !!! ] | ![]() | |||||
[ END PAGE ] | ![]() | |||||
......... | ![]() | |||||
[ CREATE PAGE ] | ![]() | |||||
[ .....Controls here !!! ] | ![]() | |||||
[ END PAGE ] | ![]() | |||||
[ CREATE CONTEXT MENU [ cName ] ] | ![]() | CONTEXT MENU for control | ||||
[ ......... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ END MENU ] | ![]() | |||||
END TAB |
Jump to Context Menu topic |
Methods for Tab |
HIDE | ![]() | This method HIDE the control | ||||
SHOW | ![]() | This method SHOW the control | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control to default (Qt_ArrowCursor). Go to to learn more about it. | ||||
RELEASE | ![]() | This method is used to destroy the control. | ||||
SETFOCUS | ![]() | This method put the program focus into control | ||||
GETCHILDREN | ![]() | This method return an array containing a list of controls that have this control as parent | ||||
GETCONTROLS | ![]() | This method return an array containing a list of controls that have this control as parent, except those that are not shown on screen (e.g. TIMER or CONTEXTMENU) | ||||
ADDPAGE [ cCaption ] | ![]() | This method add a PAGE to the TAB control in the last position | ||||
INSERTPAGE nPos [ , cCaption ] | ![]() | This method insert a PAGE to the TAB control in the nPos position | ||||
DELETEPAGE nPos | ![]() | This method delete the nPos PAGE from the TAB control | ||||
DELETEPAGEALL | ![]() | This method delete all PAGEs from the TAB control | ||||
GETPAGENAME nPos | ![]() | This method return the name of the PAGE in the nPos position in the TAB. Page name is generated automatically in creation time and is a random name. | ||||
ADDCONTROL cControlName , nPage [ , nRow ] [ , nCol ] | ![]() | This method ADD a previously created control to the nPage PAGE in the TAB, optionally, you can specify the row and col position into the page. By default, row and col are zero | ||||
ONCHANGE | ![]() | Execute ONCHANGE block coded in CREATE or seted by mg_Set | ||||
ONGOTFOCUS | ![]() | Execute ONGOTFOCUS block coded in CREATE or seted by mg_Set | ||||
ONLOSTFOCUS | ![]() | Execute ONLOSTFOCUS block coded in CREATE or seted by mg_Set |
Methods for Tab Page |
GETCHILDREN | ![]() | This method return an array containing a list of controls that have this control as parent | ||||
GETCONTROLS | ![]() | This method return an array containing a list of controls that have this control as parent, except those that are not shown on screen (e.g. TIMER or CONTEXTMENU) | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control 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 |
|
![]() ![]() ![]() |