Tech Tip: Using 4D Pack commands for 4D Help Files
PRODUCT: ACI Pack | VERSION: 6.0 | PLATFORM: Mac & Win
Published On: March 10, 2000
4D Help files are provided in order to give the user a type of online documentation while using 4th Dimension. Once the 4D help files have been installed (in the Win4DX or Mac4DX folder), they can be accessed two different ways:
From the Windows environment,
- From either the Design or User environment, you can access the help files by selecting help from the menu bar.
- By clicking on a button with an object assigned to it, you can call the help files via code
This sample code makes a call to the 4D Help file once the user clicks on the button.
AP HELP ON KEY ("4D";"BLOB size")
If you plan to call the Help files via code, you must have the ACI Pack placed in the Win4DX folder with the Help files.
From the Mac environment:
- From either the Design or User environment, you can access the help files by selecting help from the menu bar.
- By clicking on a button with an object assigned to it, you can call the help files via code
This sample code makes a call to the 4D Help file once the user clicks on the button.
www:=AP Sublaunch("Harddrive:4D.hlp")
AP HELP ON KEY ("4D";"BLOB size")
NOTE: In order to launch the Help files on the Mac, you must install the Microsoft Help application. This enables the Help files to be open via code. Also, you must use the AP Sublaunch command (as compared to the Win environment where you did not need to use this command). This is included in the standard installation of 4D.
As with Windows, if you plan to call the Help files via code, you must have the ACI Pack placed in the Mac4DX folder along with the Help files.