Re: BDS Folder Tabs
Walter Haslbeck <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Organization | AMG GmbH |
| Message-ID | <[email protected]> |
Hello, > The documentation for folder tabs is minimal and the example given in the > doc is minimal. Are Folder Tabs under BDS 1) only meant to increase screen > real estate during a single INPUT statement or 2) is there a way to > implement them for a header/detail situation, that is switching tabs between > an INPUT and an INPUT ARRAY statement. 2) is possible with some "workaround": * Let the folder tab send a keystroke when it is selected by the user (gui.key.folderTab.x.selection = "Fxx" in fglprofile) * Create on-key and before-input handler for the configured F-keys in your INPUT and INPUT ARRAY statements So, if a user is in tab 1, which hold a simple input and switches to tab 2, which holds the detail-array, do the following: * remember current field * quit current input * start 'input array' * call fgl_dialog_setcurrline() with saved values in before input if the user switches back to tab1: * remember current screen/arrayline * quit current input * start 'input' etc. Walter