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]

dBsee  data  entry is based on a CONTROL  system,  so if you know how to
modify  the CONTROL sytem you can do just about anything with dbsee data
entry.

The  ATTACH statements in dBsee data entry  all work in the same way, by
adding  an entry to the CONTROL ARRAY of the form (oWin:W_CONTROLARRAY).
You can modify the entry to make a change on a CONTROL.

Example:

   ATTACH "box0026" TO oWin:W_CONTROL BOX 02 ; //
     AT   0,  0,  3, 77            ; // Coordinates
     PAGE  0                       ; // Page
     COLOR {"N/G","B+/GR*","W+/G"} ; // Color Array
     FILL  " "                     ; // Fill Char
     DISPLAYIF {||.T.}               // Conditional display

   This ATTACH adds an arrary to the oWin:W_CONTROLARRAY.
   To modify this ARRAY, that has the CONTROL parameter there is the
   function tbCtrlArr().

   This  function returns the CONTROL array  with all the information of
   the control

Example:

  aCTRL := tbCtrlArr( oWin, "codcli" )

  aCTRL  now has all the information that describes the CONTROL with the
  ID (Identification) "codcli"
  ALL the modifications to this array changes a CONTROL's capabilities.

Example:

  aCTRL := tbCtrlArr( oWin, "codcli" )  // GET CONTROL
  aCTRL[FORM_GET_PICTUREGET] := "@ZE 999"   // Change the picture

Example:

  aCTRL := tbCtrlArr( oWin, "codcli" )  // GET CONTROL
  aCTRL[FORM_GET_ROW] := 10                 // Change the display row


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