•  Back 
  •  Window-dialogs 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File8.8.5  wdlg_get_edit                                               TOS

 Name:         »Window-dialog get edit« - Obtain current editable 
               field

 Opcode:       164 (sub-opcode 1)

 Syntax:       int16_t wdlg_get_edit ( DIALOG *dialog, int16_t *cursor 
               );

 Description:  The function wdlg_get_edit returns the index of the 
               current editable object. The following apply:

                Parameter  Meaning

                dialog     Pointer to the dialog structure
                cursor     Index of the character

               Note: With old WDIALOG versions cursor is not returned. 
               The binding ensures that -1 is entered in this case.

 Return value: This function returns the index of the current editable 
               object. If the result is 0, then no editable object is 
               active at the present time.

 Availability: The presence of this call should be checked for using 
               appl_getinfo (Opcode 7).

 Group:        Window-dialogs

 See Also:     Binding   wdlg_open   wdlg_close