Dialogs
|
![]() ![]() ![]() |
FILE and FOLDER Dialog |
![]() |
FILEFOLDER Create and Properties |
CREATE FILEFOLDER cName | (cVarName) | &(cExpression) | ||||||
[ ; OF cWindow | (cVarName) | &(cExpression) ] | ![]() | 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 cCaption ] | ![]() | A title expressions for the FILEFOLDER dialog | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background 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 | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ ALLOWMULTISELECT .T. | .F. ] | ![]() | Allow user to select one file or more in GETFILE MODE | ||||
[ ALLOWNEWFILE .T. | .F. ] | ![]() | Allow user to specity a new file name or folder name in textbox of FILEFOLDER dialog. | ||||
[ BASEFOLDER cFolderName ] | ![]() | Default folder to open FILEFOLDER dialog | ||||
[ FILTERS aFilters ] | ![]() | Default filter to open FILEFOLDER dialog in the format: { { 'All files' , '*.*' } [ , { 'Data Base Files' , "*.dbf" } ] } | ||||
[ LASTSELECTEDFILES ] | ![]() | Only for mg_Get() function. This property returns a string with file name selected or, for ALLOWMULTISELECT, it returns an array with selected file names | ||||
[ MODE "GETFILE" | "PUTFILE" | "GETFOLDER" | "PUTFOLDER" ] | ![]() | Specify main operation for FILEFOLDER dialog. "GETFILE" allow select files (one or more), "PUTFILE" allow specify only one output file, "GETFOLDER" allow select one folder, "PUTFOLDER" allow specify only one output folder. | ||||
[ HASFOCUS ] | ![]() | Only for mg_Get() function. This property returns .T. if control has the application focus | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
END FILEFOLDER |
FILEFOLDER Methods |
CENTER | ![]() | This method set the filefolder dialog centred into desktop | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control to default (Qt_ArrowCursor). Go to to learn more about it. | ||||
EXEC | ![]() | This method is used to ACTIVATE the FILEFOLDER dialog and return the same that LASTSELECTEDFILES property or Get and Put functions for Files and Folders (mg_GetFile, mg_PutFile, mg_GetFolder, mg_PutFolder) | ||||
ONGOTFOCUS | ![]() | Execute ONGOTFOCUS block coded in CREATE or seted by mg_Set | ||||
ONLOSTFOCUS | ![]() | Execute ONLOSTFOCUS block coded in CREATE or seted by mg_Set |
COLOR Dialog |
![]() |
COLORDIALOG Create and Properties |
CREATE COLORDIALOG cName | (cVarName) | &(cExpression) | ||||||
[ ; OF cWindow | (cVarName) | &(cExpression) ] | ![]() | 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 cCaption ] | ![]() | A title expressions for the COLORDIALOG dialog | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background 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 | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ BASECOLOR aBaseColor ] | ![]() | Initial folder to open COLORDIALOG dialog | ||||
[ LASTSELECTEDCOLOR ] | ![]() | Only for mg_Get() function. This property returns an array with new color selected. If dialog was canceled, this value is an empty array | ||||
[ HASFOCUS ] | ![]() | Only for mg_Get() function. This property returns .T. if control has the application focus | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
END COLORDIALOG |
COLORDIALOG Methods |
CENTER | ![]() | This method set the ColorDialog dialog centred into desktop | ||||
UNSETCURSOR | ![]() | Reset the cursor pointer shape for the control to default (Qt_ArrowCursor). Go to to learn more about it. | ||||
EXEC | ![]() | This method is used to ACTIVATE the COLORDIALOG dialog and return the same that LASTSELECTEDCOLOR property or mg_GetColor function | ||||
ONGOTFOCUS | ![]() | Execute ONGOTFOCUS block coded in CREATE or seted by mg_Set | ||||
ONLOSTFOCUS | ![]() | Execute ONLOSTFOCUS block coded in CREATE or seted by mg_Set |
FONT Dialog |
![]() |
FONTDIALOG Create and Properties |
CREATE FONTDIALOG cName | (cVarName) | &(cExpression) | ||||||
[ ; OF cWindow | (cVarName) | &(cExpression) ] | ![]() | 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 cCaption ] | ![]() | A title expressions for the FONTDIALOG dialog | ||||
[ BACKCOLOR {aBackColor} | aVarBackColor ] | ![]() | Set background 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 | ||||
[ FONTCOLOR {aFontColor} | aVarFontColor ] | ![]() | Set foreground color (text color) | ||||
[ INITIALFONTNAME "cFontName" ] | ![]() | Initial FontName (family) for dialog | ||||
[ INITIALFONTSIZE nPoints ] | ![]() | Initial FontSize for dialog | ||||
[ INITIALFONTBOLD .T. | .F. ] | ![]() | Initial FontBold for dialog | ||||
[ INITIALFONTITALIC .T. | .F. ] | ![]() | Initial FontItalic for dialog | ||||
[ INITIALFONTUNDERLINE .T. | .F. ] | ![]() | Initial FontUnderline for dialog | ||||
[ INITIALFONTSTRIKEOUT .T. | .F. ] | ![]() | Initial FontStrikeout for dialog | ||||
[ LASTSELECTEDFONT ] | ![]() | Only for mg_Get() function. This property returns a HASH with all new attributes selected: "FontName", "FontSize", "FontBold", "FontItalic", "FontUnderline" and "FontStrikeout". For example: Key "FontName" with value "mg_normal" | ||||
[ HASFOCUS ] | ![]() | Only for mg_Get() function. This property returns .T. if control has the application focus | ||||
[ CURSOR ] | ![]() | Change the cursor pointer shape for the control. Go to to learn more about it. | ||||
END FONTDIALOG |
FONTDIALOG Methods |
CENTER | ![]() | This method set the FONTDIALOG dialog centred into desktop | ||||
EXEC | ![]() | This method is used to ACTIVATE the FONTDIALOG dialog and return the same that LASTSELECTEDFONT property or mg_GetFont function | ||||
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 |
|
![]() ![]() ![]() |