I ran that one with the 'Test' function inside the Dialog Editor.I've attached another log running it with Winbatch.Exe.

I still don't get a dropdown box that I can select from.

Strange. I am not sure how you were able to produce DebugTrace from the WIL Dialog Editor. Could you please provide the exact steps?

Also, and more importantly....The second trace log generated with WinBatch 2014B seemed to successfully run through to normal completion with NO errors. I see the dlVariable1 variable is defined.

You state that you still don't get a dropdown box that I can select from. Does the dropbox simply not appear on the dialog? Or does the dropbox itself contain the text 'dlvariable1 not defined'.

The code you posted should run fine from WinBatch 2014B as a .wbt file or compiled. The debugtrace you posted indicates that the variable is defined and displayed. Not quite sure I grasp what could be going on your system.

I included the DebugTrace at the beginning of the script and ran the dialog using F10.This gives me the "error: dlvariable1 not defined" in the dropdown box which displays only one line.

Compiled, It runs to completion and I get a the variable list in a one line display.The 'dropdown' box is only one line.I can select that line but I'm not given the option to select any individual item as they all appear on one line.

Okay the WIL Dialog Editor only understands Dialog code and would not allow you to define any variables. That was why your were seeing "error: dlvariable1 not defined" when testing in the WIL Dialog Editor using F10.

The Droplistbox does accept a tab delimited list of items. The code you originally posted defined that variable as follows:

Code: Winbatch

dlVariable1 ="ACPC":@TAB:"Computer Center":@TAB:"Admissions"

This code should display the items on their own individual line in the Droplistbox. Can you please confirm this is the exact code you are using to define that variable?

Deana, That is the EXACT code in my script.It does NOT display each item on an individual line.

It display each item on a line for everyone that has tested it.

Quote

TD; I can make the DROPLISTBOX wider but I cannot make it taller.

Yes you can. As stated previously, you need to click on the DROPTLISTBOX's button while viewing it in the dialog editor. This causes the editor to display the sizing rectangle for the drop-down list part of the control.

Logged

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight." - Dr. Tom Cade

For future reference, sizing of DROPLISTBOXes is discussed in the Dialog Editor help file. From the help file:

The Drop-down Combo Box control is made up of two parts: an Edit Box and a drop-down Item List Box. A user can enter a value in the Edit Box or select a suggested value from the list of drop-down menu items. The drop-down Item List Box is displayed by clicking on the arrow next to the Edit Box.

To size the Edit Box:

Drag the left or right edge of the control to the necessary width.

To size the drop-down Item List box:

Clicking on the arrow next to the Edit Box. You will notice the highlighting changes on the control. You can now drag the top or bottom edge of the control to the necessary height.

Logged

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight." - Dr. Tom Cade

Drop-down Combo Box and DROPLISTBOX are the same. The first is the non tool specific common control name of the control and the second is the name used to identify the control in a WIL dialog template. I am not aware of making this connection being an issue over the last 13 years of the current incarnation of the Dialog Editor but I suppose we could add something to the help file to make that clear. Although, given the subject line of this topic, it is a little surprising that the connection was not made.

Logged

"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight." - Dr. Tom Cade