4D Pack v14

4D_Pack Introduction

Home

 
4D Pack v14
4D_Pack Introduction

4D_Pack Introduction  


 

 

The 4D_Pack plug-in provides 4D developpers with useful additional routines.

The 4D_Pack command names have the “AP” prefix in order to avoid any confusion with 4D commands. They also use the uppercase/lowercase convention depending on whether they are commands or functions.

You install the 4D_Pack plug-in just like any 4D plug-in: you must put it in the Plugins folder located either next to the executable application or next to the structure file of the database. For more information, please refer to the Installing plugins or components section in the Design Reference manual.

Beginning with 4D v14, the 4D Pack plug-in is also provided in a 64-bit version. This way you can take advantage of the 64-bit architecture in a configuration using the 64-bit Windows version of 4D Server. The 64-bit version is included in the plug-in bundle. No specific installation is required.

Due to changes in technology and continuous integration of new features 4D, 4D Pack commands have been removed from successive versions. This section lists the commands that were removed as well as their recommended alternatives.

Command removedReplaced with (if applicable)
AP AVAILABLE MEMORYGET MEMORY STATISTICS
AP CLOSE HELP, AP HELP INDEX, AP HELP ON HELP, AP HELP ON KEYObsolete commands - The Windows Help application (WinHlp32.exe) is no longer integrated in Windows starting with Windows Vista.
AP Create method, AP Modify method
 METHOD SET CODE("myMeth";vCode;*)
 METHOD SET ATTRIBUTE("myMeth";vInvisible;2;v4DAction;3;vWebService;4;vWSDL;5;vExported;7;vSQL;8;
 vRemote;1024;vFolderName;*)
AP Does method exist
 METHOD GET NAMES($arrNames;"myMeth")
 $exists:=(Size of array($arrNames)>0) // -> True if method exists
AP Get picture typeCommands of the "Pictures" theme
AP Get templatesObsolete command
_AP External clock, AP SET CLOCKTimePicker Widget (4D v14)
AP Rect DraggerSET DRAG ICON
AP Timestamp to GMT
 $laDate:=String(Curent date;ISO Date GMT;Current time)
  // returns, e.g. "2013-05-06T12:19:23Z"
AP GET PARAM, AP SET PARAMObsolete commands - Secondary parameters managed by these commands are no longer maintained.

AP PICT DRAGGER -> Use the integrated drag and drop functions of 4D (MouseDown, MouseX and MouseY System Variables in the case of “click” type events)
AP PICT UPDATER and %AP Pict displayer -> Use a picture field
AP Read Picture BLOB -> Use BLOB TO PICTURE
AP Read Picture File - > Use READ PICTURE FILE
AP Save GIF -> Use CONVERT PICTURE + WRITE PICTURE FILE
AP SET PICT MODE -> Use SET FORMAT
AP Select document -> Use Select document
AP Set palette -> Use Select RGB Color
AP Sublaunch -> Use LAUNCH EXTERNAL PROCESS
AP PrintDefault -> Use AP BLOB to print settings + AP Print settings to BLOB
AP Text to PrintRec -> Use AP BLOB to print settings + AP Print settings to BLOB
AP PrintRec to text -> Use AP BLOB to print settings + AP Print settings to BLOB
AP PrValidate -> Use AP BLOB to print settings + AP Print settings to BLOB
AP Toolbar installed -> Use Tool bar height (returns 0 if toolbar is hidden)
AP SET WEB FILTERS -> Use SET DATABASE PARAMETER and Get database parameter
AP ShellExecute (Mac OS) --> Use LAUNCH EXTERNAL PROCESS
AP Add table and fields -> Use 4D SQL engine
AP Create relation -> No alternative solution currently

 
PROPERTIES 

Product: 4D Pack
Theme: Preface

 
ARTICLE USAGE

4D Pack ( 4D Pack v14 R2)
4D Pack ( 4D Pack v14)
4D Pack ( 4D Pack v14 R3)
4D Pack ( 4D Pack v14 R4)

Inherited from : 4D_Pack Introduction ( 4D Pack v13.2)