StatusBar
|
![]() ![]() ![]() |
Define and Properties |
CREATE STATUSBAR cName | (cVarName) | &(cExpression) | ||||||
[ MESSAGE cMessage ] | ![]() | A text expressions for the TEMPORARY message. This message briefly occupies most of the status bar. Used to explain tool tip texts or menu entries, for example. | ||||
[ MESSAGETIME nMilliSeconds ] | ![]() | Set a time limit when sending message. When time is reached, message will be hidden. | ||||
[ 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 | ||||
[ WIDTH ] | ![]() | Only for mg_Get() function. The desired width size of the Control in pixels | ||||
[ HEIGHT ] | ![]() | Only for mg_Get() function. The desired height size of the Control in pixels | ||||
[ CLOCKAMPM .T. | .F. ] | ![]() | Set CLOCK display mode to AM-PM. E.g.: 04:26:57 am | ||||
[ DISABLECLOCK .T. | .F. ] | ![]() | Remove CLOCK from StatusBar | ||||
[ DISABLEDATE .T. | .F. ] | ![]() | Remove DATE from StatusBar | ||||
[ DISABLECAPS .T. | .F. ] | ![]() | Remove CAPSLOCK state from StatusBar | ||||
[ DISABLENUM .T. | .F. ] | ![]() | Remove NUMLOCK state from StatusBar | ||||
[ DISABLESCROLL .T. | .F. ] | ![]() | Remove SCROLLLOCK state from StatusBar | ||||
[ DISABLEINS .T. | .F. ] | ![]() | Remove INSert key state from StatusBar | ||||
[ DISABLEALLKEYS .T. | .F. ] | ![]() | Remove CAPSLOCK, NUMLOCK, SCROLLLOCK and INSert keys from StatusBar | ||||
[ DISABLESIZEGRIP .T. | .F. ] | ![]() | By default, StatusBar provides a SizeGrip in the lower-right corner. You can disable it using this property. | ||||
[ DISABLELANGUAGE .T. | .F. ] | ![]() | Show/Hide "LANGUAGE code" from StatusBar | ||||
[ DISABLECODEPAGE .T. | .F. ] | ![]() | Show/Hide CODEPAGE from StatusBar | ||||
[ TOOLTIP cToolTip ] | ![]() | Text for display into tooltip | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
[ CONTEXTMENUSUPRESSED .T. | .F. ] | ![]() | Disable the display of the Context Menu of control. | ||||
[ CREATE CONTEXT MENU [ cName ] ] | ![]() | CONTEXT MENU for control | ||||
[ ......... ] | ![]() | You can see properties for this menu in CONTEXT MENU topic | ||||
[ END MENU ] | ![]() | |||||
END STATUSBAR |
Jump to Context Menu topic |
Methods |
ADDITEM cItemName [ , nPosition ] | ![]() | Add or Insert a new item (control pre defined) to StatusBar control. Normal controls will be added to the left side and PERMANENT controls will be added to right side. If nPosition is present, new item will be added to right previous nPosition item. | ||||
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) | ||||
GETCAPSCONTROLNAME | ![]() | This method will be use to GET the name of control used to show CAPSLOCK key state. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETCAPSCONTROLNAME" ) , "backcolor" , {255,0,0} ) | ||||
GETNUMCONTROLNAME | ![]() | This method will be use to GET the name of control used to show NUMLOCK key state. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETNUMCONTROLNAME" ) , "backcolor" , {255,0,0} ) | ||||
GETSCROLLCONTROLNAME | ![]() | This method will be use to GET the name of control used to show SCROLLLOCK key state. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETSCROLLCONTROLNAME" ) , "backcolor" , {255,0,0} ) | ||||
GETINSCONTROLNAME | ![]() | This method will be use to GET the name of control used to show INSERT key state. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETINSCONTROLNAME" ) , "backcolor" , {255,0,0} ) | ||||
GETCLOCKCONTROLNAME | ![]() | This method will be use to GET the name of control used to show CLOCK. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETCLOCKCONTROLNAME" ) , "backcolor" , {255,0,0} ) | ||||
GETDATECONTROLNAME | ![]() | This method will be use to GET the name of control used to show DATE. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETDATECONTROLNAME" ) , "backcolor" , {255,0,0} ) | ||||
GETCODEPAGECONTROLNAME | ![]() | This method will be use to GET the name of control used to show CODEPAGE. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETCODEPAGECONTROLNAME" ) , "backcolor" , {255,0,0} ) | ||||
GETLANGUAGECONTROLNAME | ![]() | This method will be use to GET the name of control used to show LANGUAGE. You can use it to change control's attributes, e.g. backcolor: mg_Set( <win_name> , mg_Do( <win_name> , <statusbar_name> , "GETLANGUAGECONTROLNAME" ) , "backcolor" , {255,0,0} ) |
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 |
|
![]() ![]() ![]() |