GRIDPLUS2 - Option Defaults and Option Database
Home Reference Manpage Examples Download License Contact

GRIDPLUS Option Defaults And Option Database

The table below list all of the possible GRIDPLUS options, together with the the option database name, the default value and whether the option can be set using the GRIDPLUS set command/mode.

The GRIDPLUS gpoptions command can be used to simplify setting of GRIDPLUS Option Database options.

OptionDatabase NameDefaultGRIDPLUS Set?
-actionN/AnoneNo
-anchorGridplus.anchorsNo
-attachGridplus.attach{}No
-autogroupGridplus.autoGroup{}No
N/AGridplus.autoSelect1No
-backgroundGridplus.background{}No
-borderwidthGridplus.borderWidth2No
N/AGridplus.buttonWidthGridplus.widgetWidthNo
-calcolorGridplus.calColorblack/whiteNo
-calreliefGridplus.calReliefflatNo
-calselectcolorGridplus.calSelectColorblack/grayNo
-ccmdN/A{}No
-centuryGridplus.century50Yes
-cfmtN/A{}No
-checkbuttoncommandN/A{}No
-columnformatN/A{}No
-columnsortGridplus.columnSort1No
-commandN/A{}No
-compoundN/AleftNo
N/AGridplus.containerWidth250No
-dateN/A{}No
-dateclearGridplus.dateClear1No
-datecommandN/A{}No
-datecmdN/A{}No
-dateformatGridplus.dateFormatusYes
N/AGridplus.dateIcon{}No
-dcmdN/A{}No
-dropdowncommandN/A{}No
-ecmdGridplus.entryCommand{}No
-entrycommandGridplus.entryCommand{}No
N/AGridplus.entryDisabledreadonlyNo
N/AGridplus.entryWidthGridplus.widgetWidthNo
-errormessageGridplus.errorMessage%Yes
-fileiconGridplus.fileIconfileNo
-fixedGridplus.fixed999999No
-foldericonGridplus.folderIconfolderNo
-fontGridplus.font{}No
-foregroundGridplus.foregroundblackNo
-fromGridplus.from{}No
-groupN/A{}No
-heightGridplus.height10No
N/AGridplus.helpDisplayTime2500No
-iconGridplus.icon{}No
-iconfileGridplus.iconFiletkIconsNo
-iconpathGridplus.iconPath[file join $::starkit::topdir lib]
...If part of STARTKIT or...
[file join [info library]]
...if not.
No
-inN/A{}No
-incrementGridplus.increment1No
-insertexprN/A{}No
-insertoptionsN/A{}No
-justifyN/AleftNo
-labelanchorGridplus.labelAnchor{}No
-labelcolorGridplus.labelColor/No
-labelstyleGridplus.labelStyle/No
-linereliefGridplus.lineReliefsunkenNo
-linewidthGridplus.lineWidth2No
-linkcolorGridplus.linkColorblack/blackNo
-linkcursorGridplus.linkCursorarrowNo
-linkstyleGridplus.linkStyle/underlineNo
-listvariableN/A{}No
-localeGridplus.locale{}Yes
-menuN/A{}No
-modalN/A0No
-navbarGridplus.navBar1No
-navcommandN/A{}No
-navselectGridplus.navSelect0No
N/AGridplus.notebookPadding{}No
-openGridplus.open0No
-optionsetN/A{}No
N/AGridplus.optionSetStyle1No
-padGridplus.pad5No
-paddingGridplus.padding{5 5 5 5}
...Except "notebook"...
Gridplus.notebookPadding
No
-padxGridplus.padX5No
-padyGridplus.padY5No
N/AGridplus.paneHeight0No
N/AGridplus.paneWidth0No
-patternN/A{}No
-prefixGridplus.prefix{}Yes
-procGridplus.proc0Yes
-radiobuttoncommandN/A{}No
-rcmdN/A{}No
-reliefGridplus.reliefflatNo
-scrollN/AnoneNo
-seeinsertGridplus.seeInsert0No
-selectfirstN/A0No
-selectmodeGridplus.selectModebrowse
Gridplus.treeSelectMode
No
-selectpageGridplus.selectPage0No
-selecttodayGridplus.selectToday0No
-showGridplus.showtreeNo
-sortfirstN/A0No
-sortorderN/AincreasingNo
-spaceGridplus.space20No
-spinformatGridplus.spinFormat{}No
N/AGridplus.sqlErrorProc{}No
-stateN/AnormalNo
-styleN/A{}No
-substGridplus.subst1No
N/AGridplus.substCommand0No
N/AGridplus.substCommandGridGridplus.substCommandNo
N/AGridplus.substCommandLayoutGridplus.substCommandNo
N/AGridplus.substCommandNotebookGridplus.substCommandNo
-tableoptionsN/A{}No
N/AGridplus.tableWidth40No
-taborderN/AcolumnNo
-tabpaddingGridplus.tabPadding{}No
-takefocusN/A1
...Except "tablelist"...
0
No
-tagsN/A0No
-textN/A{}No
-titleN/A{}No
-toGridplus.to{}No
-topmostGridplus.topmost0No
N/AGridplus.treeSelectModeextendedNo
N/AGridplus.unknown1No
-validateGridplus.validate0No
-validateautoGridplus.validateAuto1No
-validatepopupGridplus.validatepopup0No
-validationN/A{}No
-variableN/A{}No
-variablesN/A1No
-wcmdN/A{}No
-weekstartGridplus.weekStart1No
-widgetGridplus.widgetgridNo
N/AGridplus.widgetWidth10No
-widthGridplus.width40
Gridplus.widgetWidth
Gridplus.buttonWidth
Gridplus.containerWidth
Gridplus.entryWidth
Gridplus.paneWidth
Gridplus.tableWidth
No
-windowcommandN/A{}No
-wrapN/AwordNo
-wraplengthN/A0No
-wtitleN/A{}No

Setting GRIDPLUS Option Database Options

The gpoptions command can be used to set one or more GRIDPLUS Option Database values.

There are two possible syntax options:-

gpoptions option value

...To set a single option - Or...

gpoptions {option value ... ...}

...To set several options.

For Example:

gpoptions space 0
...Is the same as...
option add *Gridplus.space 0
...and...
gpoptions {
   calColor       black/lightgray
   calSelectColor white/red
   calRelief      groove
}

...is the same as...

option add *Gridplus.calColor       black/lightgray
option add *Gridplus.calSelectColor white/red
option add *Gridplus.calRelief      groove


Copyright © 2014 Adrian Davis.