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 - <b>tbctrlarr()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
tbCtrlArr()
Returns the ARRAY of CONTROL information
------------------------------------------------------------------------------
Syntax:

     tbCtrlArr( <oTbr>, <cId> ) --> aCtrl

Parameters:

     <oTbr>     tBrowse object
     <cId>      ID number of a control

Returns:

     <aCtrl> ARRAY containing CONTROL information.

Description:

     CONTROL <cID> is searched inside the <oTbr> object. If the research
     has success, an array is returned in which all data relative to the
     control is contained. If the control is not found, the returned array
     is empty.

Example:

     ? tbCtrlArr( oTbr, "lsb0001" )
     
     
     ES.
       aCTRL := tbCtrlArr( oWin, "codcli" )
     
       A questo punto aCTRL contiene l'array che compone
       il control di ID "codcli" TUTTE le modifiche
       apportate a questo array saranno riportate sul
       control stesso, in questo modo un'eventuale accesso
       da parte delle funzioni di libreria al control
       vedra' gia' i dati modificati
     
     ES.
       aCTRL := tbCtrlArr( oWin, "codcli" )
       // Control di tipo GET
       aCTRL[FORM_GET_PICTUREGET] := "@ZE 999"
       // Riassegno la picture
     
     ES.
       aCTRL := tbCtrlArr( oWin, "codcli" )
       // Control di tipo GET
       aCTRL[FORM_GET_ROW] := 10
       // Riassegno la riga

See also:

     tbCtrlPos()

See Also: tbCtrlPos()

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