4D Write v14

Appendix E: Obsolete commands

Home

 
4D Write v14
Appendix E: Obsolete commands

Appendix E: Obsolete commands  


 

 

Several commands and functions found in previous versions of 4D Write have been replaced starting in version 6.5 with new routines that are more powerful and that make use of the new functionalities of the plug-in. In order to ensure the compatibility of previous applications and to permit developers to progressively update their code, these obsolete commands have been kept temporarily (prefixed by the letter 'O'). However, their use in new developments is not recommended.

Beginning with version 11 of 4D Write, these commands will no longer appear in the lists of plug-in commands. Their maintenance will no longer be ensured in future versions. From now on, it is strongly recommended to systematically replace these commands in your code with the new commands or to use alternative functions.

The table below lists the obsolete commands and indicates the alternative provided in the current version of 4D Write.

Obsolete commandAlternatives to be used
WR O DISPLAY SCROLLBARSWR SET DOC PROPERTY
WR O ON MENUWR ON COMMAND
WR O DISPLAY RULERWR SET DOC PROPERTY
WR O DISPLAY MENUBARWR SET DOC PROPERTY
WR O Get pageWR GET CURSOR POSITION
WR O Is HyphenWR SELECT
WR O PICTURE TO AREAWR PICTURE TO AREA
WR O FindWR Find
WR O EXPERT COMMANDWR LOCK COMMAND
WR O CREATE STYLESHEETWR Create stylesheet
WR O MOVE PICTUREUsing alignment attributes (left,right, center) or setting the margins of paragraphs to move the picture and the new commands for working with pictures.
WR O DO COMMANDWR EXECUTE COMMAND
WR O TEXT ALIGNMENTWR SET TEXT PROPERTY
WR O SET ATTRIBUTESWR SET FONT
WR O LINE SPACINGWR SET TEXT PROPERTY
WR O SET MARGINSWR SET TEXT PROPERTY
WR O SET PACK OPTIONSWR SET DOC PROPERTY
WR SET AREA PROPERTY
WR O OPTIONSWR SET AREA PROPERTY
WR O SET PREFERENCESWR SET DOC PROPERTY
WR O SET TABSWR SET TAB
WR O RESIZE PICTUREWR SET PICTURE SIZE
WR O Area to pictureWR Area to picture
WR O Picture to offscreen areaWR New offscreen area
WR O INSERT HYPHENWR EXECUTE COMMAND
WR O INSERT PICTUREWR INSERT PICTURE
WR O Get ScrollBarsWR Get doc property
WR O GET ATTRIBUTESWR Get font
WR O GET STYLESHEETWR GET STYLESHEET INFO
WR O GET PICTUREWR GET PICTURE SIZE
WR O GET MARGINSWR Get text property
WR O Get pack optionsWR Get doc property
WR O GET PREFERENCESWR Get doc property
WR O GET RULERWR Get text property
WR O GET TABSWR GET TAB
WR O SET STYLESHEETWR SET STYLESHEET INFO
WR O CHANGE STYLEWR SET TEXT PROPERTY
WR O Font nameUse 4D commands.
WR O Count StylesheetWR Count
WR O Page numberWR INSERT PAGE NUMBER
WR O Font numberUse 4D commands.
WR O COMPUTE NOWWR EXECUTE COMMAND
WR O ReplaceWR Replace
WR O AUTO SAVEWR Area to picture
WR O STATISTICSWR Count
WR O MENU STATUS WR GET COMMAND INFO
WR O REMOVE HYPHENWR SELECT
WR DELETE SELECTION
WR O DELETE STYLESHEETWR DELETE STYLESHEET
WR O STRUCTURE ACCESSWR LOCK COMMAND
WR O Save to pictureWR Area to picture

 
PROPERTIES 

Product: 4D Write
Theme: Appendixes

 
SEE ALSO 

Appendix D: Removed V6.0.x Commands

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)