WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Dialog Editor
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How Controls are Ordered in Dialog Editor

Keywords: 	 order controls

Question:

Is there any function to set a field active when a dialog box is opened. e.g.,
******************************************
* USERNAME ....... < OK > *
* PASSWORD ....... < CANCEL > *
******************************************
where the cursor is active in the USERNAME field when the dialog opens?

Answer:

Put the username edit box as the first dialog edit control (eg: dialog01).

The "tab order" of the controls written by the dialog editor is the same as the order they were defined. Instead of drawing the dialog box over again though, you can edit the script.

In the dialog script each control is numbered, kinda like:

MYDIALOG01="ssdsdsdsdsd"
MYDIALOG02="sdsdsdsdsdsd"
MYDIALOG03="dfddfrere"
The rule is (short version) that the screen will open up on the lowest numbered control that can accept any kind of input. You can just renumber the controls to your liking.

Also the tab order is also controlled by this. Just arrange all the input controls in the desired tab order by changing the two digit numbers at the end of the variable name.


Article ID:   W12853
Filename:   Order of Controls in Dialog Editor.txt
File Created: 1999:04:15:16:50:06
Last Updated: 1999:04:15:16:50:06