4D v13WR SET DOCUMENT INFO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v13
WR SET DOCUMENT INFO
WR SET DOCUMENT INFO
The WR SET DOCUMENT INFO command stores in the document the information that is passed in the parameters. From a user standpoint, the information is displayed in the Document information dialog box. You can access that dialog by selecting Document information in the Tools menu. To manage the document lock status, refer to WR LOCK DOCUMENT. You want users to be able to modify only the Title, Subject and Comment of the document information. You need to implement a method that intercepts the selection of menu commands and display your own customized form when users select Document information from the Tools menu. 1. In the form method of the form that contains the 4D Write area, place the following code to intercept the menu command: Case of 2. The method 'z65OnCmd' is the following: C_LONGINT($1;$2;$3) 3. In the customized Information form, named "InfoArea", only the variables vTitle, vSubject and vComments are editable. Here is the method attached to this form: Case of |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D Write 6.5 SEE ALSO |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||