4D v13

Appendix B: Menu Item Numbers

Home

 
4D Write v13
Appendix B: Menu Item Numbers

Appendix B: Menu Item Numbers  


 

 

The following table lists the command value for each menu item. These numbers will remain the same, even if menu items are modified or moved in future versions of 4D Write. For more information, refer to the description of the WR EXECUTE COMMAND command. The following codes can also be used by the WR ON COMMAND, WR LOCK COMMAND and WR GET COMMAND INFO commands.

When using these commands you can either pass the menu item number or the constant. Constants are also listed in the “WR Commands” theme.

Menu But.Command#Constant
FileNo(Menu itself)100wr cmd file menu
YesNew101wr cmd new
YesOpen102wr cmd open
YesSave103 wr cmd save
NoSave as...104wr cmd save as
NoSave as Template110wr cmd save as template
NoPreferences...105wr cmd preferences
NoPage SetUp...106wr cmd page setup
YesPrint Preview107wr cmd print preview
YesPrint...108wr cmd print
NoPrint Merge...109wr cmd print merge
NoGoto Full Window/Return to Form20wr cmd goto full windows
EditNo(Menu itself)200wr cmd edit menu
YesUndo Fonction (vary)1wr cmd undo
YesRedo Fonction (vary)2wr cmd redo
YesCut3wr cmd cut
YesCopy4wr cmd copy
YesPaste5wr cmd paste
NoClear6wr cmd clear
NoSelect All7wr cmd select all
YesFind...208wr cmd find
NoFind Next209wr cmd find next
NoReplace...210wr cmd replace
NoReplace next211wr cmd replace next
NoChange Case220wr cmd change case submenu
No/ lower case221wr cmd lower case
No/ UPPER CASE222wr cmd upper case
No/ Title Case223wr cmd title case
No/ tOGGLE cASE224wr cmd toggle case
NoShow Selection309wr cmd show selection
NoGoto Page...807wr cmd goto page
ViewNo(Menu itself)300wr cmd view menu
NoNormal302wr cmd view normal
NoPage303wr cmd view page
NoToolbars330wr cmd toolbars submenu
No/ View Standard Toolbar331wr cmd view standard toolbar
No/ View Format Toolbar332wr cmd view format toolbar
No/ View Style Toolbar333wr cmd view style toolbar
No/ View Borders Toolbar334wr cmd view borders toolbar
NoView Ruler311wr cmd view ruler
NoView Header312wr cmd view header
NoView Footer313wr cmd view footer
YesView References314wr cmd view references
NoView Pictures315wr cmd view pictures
YesView Invisibles316wr cmd view invisibles
NoView Frames317wr cmd view frames
NoView Horizontal Scrollbar318wr cmd view HScrollbar
NoView Vertical Scrollbar319wr cmd view VScrollbar
NoView MenuBar310wr cmd view menubar
NoView Status Bar320wr cmd status bar
InsertNo(Menu itself)400wr cmd insert menu
NoDate and Time...401wr cmd insert date and time
YesCurrent Hour411wr cmd insert current hour
YesCurrent Date412wr cmd insert current date
NoPage Number...402wr cmd insert page number
NoSpecial Character...409wr cmd insert special char
NoSoft Hyphen404wr cmd insert soft hyphen
NoNon Breaking Space405wr cmd insert No break space
NoColumn Break410wr cmd insert column break
NoPage Break406wr cmd insert page break
NoHTML Expression...414wr cmd insert HTML expression
NoHyperlink...413wr cmd insert hyperlink
No4D Expression...407wr cmd insert 4D expression
StyleNo(Menu itself)500wr cmd style menu
NoPlain501wr cmd plain
YesBold502wr cmd bold
YesItalic503wr cmd italic
NoShadow504wr cmd shadow
NoStrikeThrough505wr cmd strikethrough
NoUnderline520
No/ No Underline521wr cmd no underline
No/ Single Underline522wr cmd continuous underline
No/ Word Underline523wr cmd word underline
No/ Double Underline524wr cmd double underline
No/ Hatched Underline525wr cmd hatched unde
YesButton Underline530wr cmd underline button
NoSuperscript506wr cmd superscript
NoSubscript507wr cmd subscript
NoCapitals508wr cmd capitals
NoSmall Capitals509wr cmd small capitals
ColorsNo(Menu itself)600wr cmd colors menu
Text601
/ Black Text602wr cmd black text
/ Red Text603wr cmd red text
/ Orange Text604wr cmd orange text
/ Yellow Text605wr cmd yellow text
/ Green Text606wr cmd green text
/ Blue Text607wr cmd blue text
/ Violet Text608wr cmd violet text
/ White609wr cmd white text
/ LightGrey Text610wr cmd light grey text
/ MediumGrey Text611wr cmd medium grey text
/ DarkGrey Text612wr cmd dark grey
/ Other Text Color...613wr cmd other text color
Back615
/ No Back Color628wr cmd no back color
/ White Back616wr cmd white back
/ LightRed Back617wr cmd light red back
/ LightOrange Back618wr cmd light orange back
/ LightYellow Back619wr cmd light yellow back
/ LightGreen Back620wr cmd light green back
/ LightBlue Back621wr cmd light blue back
/ LightViolet Back622wr cmd light violet back
/ LightGrey Back623wr cmd light grey back
/ MediumGrey Back624wr cmd medium grey back
/ DarkGrey Back625wr cmd dark grey back
/ Black Back626wr cmd black back
/ Other Back Color...627wr cmd other back color
Strikethrough631
/ Automatic Strikethrough Color632wr cmd auto striketh color
/ Black Strikethrough633wr cmd black striketh
/ Red Strikethrough634wr cmd red striketh
/ Orange Strikethrough635wr cmd orange striketh
/ Yellow Strikethrough636wr cmd yellow striketh
/ Green Strikethrough637wr cmd green striketh
/ Blue Strikethrough638wr cmd blue striketh
/ Violet Strikethrough639wr cmd violet striketh
/ White Strikethrough640wr cmd white striketh
/ LightGrey Strikethrough641wr cmd light grey striketh
/ MediumGrey Strikethrough642wr cmd medium grey striketh
/ DarkGrey Strikethrough643wr cmd dark grey striketh
/ Other Strikethrough Color...644wr cmd other striketh color
Underline645
/ Automatic Underline Color646wr cmd auto underline color
/ Black Underline647wr cmd black underline
/ Red Underline648wr cmd red underline
/ Orange Underline649wr cmd orange underline
/ Yellow Underline650wr cmd yellow underline
/ Green Underline651wr cmd green underline
/ Blue Underline652wr cmd blue underline
/ Violet653wr cmd violet underline
/ White Underline654wr cmd white underline
/ LightGrey Underline655wr cmd light grey underline
/ MediumGrey Underline656wr cmd medium grey underline
/ DarkGrey Underline657wr cmd dark grey underline
/ Other Underline Color...658wr cmd other underline color
Shadow661
/ LightGrey Shadow662wr cmd light grey shadow
/ MediumGrey Shadow663wr cmd medium grey shadow
/ DarkGrey Shadow664wr cmd dark grey shadow
/ Other Shadow Color...665wr cmd other shadow color
Paragraph Back671
/ No Back Color684wr cmd no border back color
/ White Paragraph Back672wr cmd white border back
/ LightRed Paragraph Back673wr cmd lgt red border back
/ LightOrange Paragraph Back674wr cmd lgt orange border back
/ LightYellow Paragraph Back675wr cmd lgt yellow border back
/ LightGreen Paragraph Back676wr cmd lgt green border back
/ LightBlue Paragraph Back677wr cmd lgt blue border back
/ LightViolet Paragraph Back678wr cmd lgt violet border back
/ LightGrey Paragraph Back679wr cmd lgt grey border back
/ MediumGrey Paragraph Back680wr cmd med grey border back
/ DarkGrey Paragraph Back681wr cmd dark grey border back
/ Black Paragraph Back682wr cmd black border back
/ Other Paragraph Back Color...683wr cmd other border back color
Border685
/ Black Border686wr cmd black border
/ Red Border687wr cmd red border
/ Orange Border688wr cmd orange border
/ Yellow Border689wr cmd yellow border
/ Green Border690wr cmd green border
/ Blue Border691wr cmd blue border
/ Violet Border692wr cmd violet border
/ White Border693wr cmd white border
/ LightGrey Border694wr cmd light grey border
/ MediumGrey Border695wr cmd medium grey border
/ DarkGrey Border696wr cmd dark grey border
/ Other Border Color...697wr cmd other border color
ParagraphNo(Menu itself)700wr cmd paragraph menu
NoCopy Ruler701wr cmd copy ruler
NoPaste Ruler702wr cmd paste ruler
Yes(Bullet)1012wr cmd standard bullet
NoBullet ->1020
No/ No Bullet1021wr cmd no bullet
No/ Black Square1022wr cmd black square bullet
No/ White Square1023wr cmd white square bullet
No/ Black Circle1024wr cmd black circle bullet
No/ White Circle1025wr cmd white circle bullet
No/ Diamonds1026wr cmd diamonds bullet
No/ Clubs1027wr cmd clubs bullet
No/ Other Bullet...1028wr cmd other bullet
YesAlign Left711wr cmd align left
YesAlign Center712wr cmd align center
YesAlign Right713wr cmd align right
YesFull Justification714wr cmd full justification
YesSingle Spaced721wr cmd single spaced
Yes1.5 Line Spaced722wr cmd 1.5 line space
YesDouble Spaced723wr cmd double spaced
NoOther Line Spacing724wr cmd other line spacing
FormatNo(Menu itself)750wr cmd format menu
NoCharacter...751wr cmd character
NoParagraph...752wr cmd paragraph
NoTabs...753wr cmd tabs
NoBorders...754wr cmd borders
YesLeft border1005wr cmd left border
YesTop border1015wr cmd top border
YesRight border1007wr cmd right border
YesBottom border1016wr cmd bottom border
YesBottom border1008wr cmd inside top border
YesBottom border1006wr cmd inside bottom border
YesAll borders1009wr cmd all borders
YesBorders inside1010wr cmd borders inside
YesNo borders1011wr cmd no borders
NoStyle Sheets...755wr cmd stylesheets
NoColumns...756wr cmd columns
ToolsNo(Menu itself)800wr cmd tools menu
NoTable Wizard...408wr cmd table wizard
NoSpelling...805wr cmd spellcheck
NoLanguage...806wr cmd language
NoDocument Information...801wr cmd doc information
NoDocument Statistics...802wr cmd doc statistics
NoCompute References Now803wr cmd compute references
NoFreeze References804wr cmd freeze references

Some of these constants refer to menus (for example, wr cmd view menu) or submenus (for example, wr cmd change case submenu).
These constants can only be used with the WR GET COMMAND INFO and WR LOCK COMMAND commands (WR LOCK COMMAND deactivates or reactivates the totality of the menu or submenu).
When these constants are used with the WR EXECUTE COMMAND or WR ON COMMAND commands, these latter have no effect.

 
PROPERTIES 

Product: 4D
Theme: Appendixes

 
SEE ALSO 

WR EXECUTE COMMAND
WR GET COMMAND INFO
WR LOCK COMMAND
WR ON COMMAND