Joel,
In dos it was microrim_menu_pos
The help file says it's supposed to be initpos for windows.
But I don't see where to put it in the choose command.
I tried a couple of places but got syntax error.
I also tried set var initpos=5 but that didn't do it either.

Maybe Razzak can chime in here???

Bernie Lis

----- Original Message ----- From: "Joel Solomon" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Monday, May 09, 2005 5:36 PM
Subject: [RBG7-L] - RE: Choose Command



When I choose the name 'Smith' for var vPick, then I would get the following
list:


Smith, Bill
Smith, John
Smith, Sam
Smith, Tim
Smith, William

The cursor highlights 'Smith, Bill' and all the rest of them in order. I
want the cursor to highlight 'Smith, Sam' as the middle of the list and show
all of the Smith's above and below it.



----- Original Message ----- From: "Dawn Oakes" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Monday, May 09, 2005 4:57 PM
Subject: [RBG7-L] - RE: Choose Command



I'm not sure I get what you're trying to do.

Do you mean you want the Stu_Number to appear in the middle of the
Stu_lname, Stue_fname, Stu_location in your CHOOSE list?  But have it
act like it's first (for WALKMENU purposes)??  If that's what you mean,
then no, I don't think so.  If that's not what you mean, then....reply
back.

Dawn

-----Original Message-----
From: Joel Solomon [mailto:[EMAIL PROTECTED]
Sent: Monday, May 09, 2005 4:32 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Choose Command

In the following command file, is there any way to have my variable
(vchoice) appear as the middle item in the choose display box and have
the cursor on the middle item instead of the first item in the display
box.


DIALOG 'Enter Full or Partial Name' vpick=25 vEndKey 1 CAPTION 'Student Last Name' ICON QUESTION SET VAR vpick = (.vpick+'%') IF vPick = % THEN GOTO endrun ELSE CHOOSE vchoice FROM #VALUES FOR ((LJS(Stu_Lname,20)) + (LJS(Stu_Fname,20)) + (Stu_Location)) ,Stu_Number FROM StudentMaster ORDER BY Stu_Identify + WHERE Stu_lname LIKE .vpick AND Stu_status = 'Student'CAPTION 'Choose Student' LINES 10 FORMATTED ENDIF

Joel Solomon
V.P. Finance
Barbizon International
[EMAIL PROTECTED]





Reply via email to