Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

   Allows to define the texts that will make up the working contextual Help
   or to insert information that will be brought into the technical and/or
   user manual of the generated application.  By using simple markers it is
   possible to isolate parts of the text and bring them into the three
   different environments.  The markers available are:

   #hlp                    The text will be brought into the application's
                           Help.

   #usr                    The text will be brought into the application's
                           User Manual.

   #tec                    The text will be brought into the application's
                           Technical Documentation.

   #end                    Indicates the end of the block specified with one
                           of the previously described markers.

   If no marker is used, the text written will become part of both the
   technical documentation, the user manual and the help of the application.

Example:

   A Get control is used to allow editing of the article's price field
   (Art->PriArt). During edit, the procedure foresees the possibility of
   pasting the current price with the one inserted in the previous record. A
   specific function key is therefore associated, which is active only if the
   current Get is selected. The key chosen is F5.

   To obtain such a functionality, proceed as follows:

   During the design stage, highlight the Get control and press the Space
   Bar to access the definition frame. Press the Keys button followed
   by the Ins key. In the definition frame, enter the following data in
   the Description field:

     Price of article in previous record

   Press the Key button. The system will ask which key is to be used:
   press F5.

   A function, returning the price stored in the previous record, must be
   defined, as well as the mode in which the key is active. This is done by
   setting the properties, thus press the Options.
    Select the Function parameter and press Alt-1. Select option
   Functions on object and press the Expand entity button. In the new
   environment press the Insert button, and select the Static option.
   In this case, the UpdVal() function can only be used by the current
   object. The source code for function UpdVal() is:

     
     FUNCTION UpdVal(oWin)
     LOCAL nField
     (oWin:W_ALIAS)->(dbSkip(-1))
     nField:=(oWin:W_ALIAS)->PriArt
     (oWin:W_ALIAS)->(dbSkip(1))
     RETURN nField
     

   Now, as the function has been defined, press the Paste button in order
   to copy the function name into the entry field.
    Enter the following data in the respective options:

     
     Function.................: PriArt:=UpdVal(oWin)
     
     Active in consultation...: No - Not active
     
     Active in insertion......: Yes - active
     
     Active in modification...: Yes - active
     
     

   The PriArt:=UpdVal() assignment allows the system to evaluate the
   price to be stored in the current record, with the return value of the
   function.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson