Main Menu
|
![]() ![]() ![]() |
Define and Properties |
CREATE MAIN MENU cName | (cVarName) | &(cExpression) | ||||||
[ ; OF cWindow ] | ![]() | A reference to the Parent Window | ||||
[ 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 | ||||
[ HEIGHT ] | ![]() | Only for mg_Get() function. The desired height size of the Control in pixels | ||||
[ VISIBLE .T. | .F. ] | ![]() | ? | ||||
[ TOOLTIP cToolTip ] | ![]() | Text for display into tooltip | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
[ CREATE POPUP cName ] | ![]() | Name of Popup | ||||
[ CAPTION cCaption ] | ![]() | A text expressions for the popup subject | ||||
[ POPUPNAME cName ] | ![]() | Popup name for mg_Set()/mg_Get() properties or mg_Do() Methods | ||||
[ PICTURE cImageName ] | ![]() | Image for display in Popup Name | ||||
[ 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 | ||||
[ ENABLED .T. | .F. ] | ![]() | Enable or Disable popup | ||||
[ TOOLTIP cToolTip ] | ![]() | Text for display into tooltip | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
CREATE ITEM cName | ![]() | Name of Menu Item | ||||
[ CAPTION cCaption ] | ![]() | A text expressions for the item subject | ||||
[ ITEMNAME cName ] | ![]() | Item name for mg_Set()/mg_Get() properties or mg_Do() Methods | ||||
[ PICTURE cImageName ] | ![]() | Image for display in Item Name | ||||
[ CHECKMARK cCheckMark ] | ![]() | ? | ||||
[ 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 | ||||
[ CHECKED .T. | .F. ] | ![]() | Initialize Item with Check Mark | ||||
[ ENABLED .T. | .F. ] | ![]() | Enable or Disable item | ||||
[ MESSAGE cMessage ] | ![]() | ? | ||||
[ FORCEACTION .T. | .F. ] | ![]() | It force the execution of the actions defined by methods like ACTION, ONENTER, ONCLICK, ONDBLCLICK, etc. when NOTABSTOP property was set '.T.'. This property is useful when application focus is over a control when a VALID clause and it doesn't permit lostfocus. | ||||
[ ONCLICK cOnClick | {BOnClick} ] | ![]() | An action to be performed when control is clicking | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
[ END ITEM ] | ![]() | |||||
......... | ![]() | |||||
......... | ![]() | |||||
[ CREATE ITEM ] | ![]() | |||||
[ END ITEM ] | ![]() | |||||
[ CREATE POPUP ] | ![]() | |||||
[ CREATE ITEM ] | ![]() | |||||
[ END ITEM ] | ![]() | |||||
[ CREATE ITEM ] | ![]() | |||||
[ END ITEM ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ CREATE ITEM ] | ![]() | |||||
[ END ITEM ] | ![]() | |||||
[ END POPUP ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ SEPARATOR ] | ![]() | |||||
[ END POPUP ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ CREATE POPUP ] | ![]() | |||||
[ CREATE ITEM ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ END ITEM ] | ![]() | |||||
[ CREATE ITEM ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ END ITEM ] | ![]() | |||||
[ SEPARATOR ] | ![]() | |||||
[ END POPUP ] | ![]() | |||||
[ ......... ] | ![]() | |||||
[ ......... ] | ![]() | |||||
END MENU |
Methods for Main Menu |
GETCHILDREN | ![]() | This method return an array containing a list of controls that have this control as parent | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control to default (Qt_ArrowCursor). Go to to learn more about it. | ||||
ONGOTFOCUS | ![]() | Execute ONGOTFOCUS block coded in CREATE or seted by mg_Set | ||||
ONLOSTFOCUS | ![]() | Execute ONLOSTFOCUS block coded in CREATE or seted by mg_Set | ||||
HIDE | ![]() | This method HIDE the control | ||||
SHOW | ![]() | This method SHOW the control |
Methods for Popups |
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control to default (Qt_ArrowCursor). Go to to learn more about it. | ||||
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 Items |
ONCLICK | ![]() | Execute ONCLICK block coded in CREATE or seted by mg_Set | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control to default (Qt_ArrowCursor). Go to to learn more about it. | ||||
ONGOTFOCUS | ![]() | Execute ONGOTFOCUS block coded in CREATE or seted by mg_Set | ||||
ONLOSTFOCUS | ![]() | Execute ONLOSTFOCUS block coded in CREATE or seted by mg_Set |
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 |
|
![]() ![]() ![]() |