Dialogue Boxes

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Dialogue Boxes

Postby w_nawfal » Mon Apr 04, 2011 7:48 am

Hi All

I've written some code to create a dialogue box with a drop down menu - but after a section is made, the dialogue box closes

i would like to keep it available (i.e. open) in case another select needs to be made

thank you for your help

WEs

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13583
Joined: Tue Sep 16, 2008 5:38 pm

Re: Dialogue Boxes

Postby EViews Gareth » Mon Apr 04, 2011 7:53 am

Drop down boxes do not allow more than one selection at a time. If you want multi-selections, you'll have to use a series of check boxes.

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Re: Dialogue Boxes

Postby w_nawfal » Mon Apr 04, 2011 8:32 am

Gareth - thanks for the quick reply

actually i do not want to make simultaneous multiple selections, what i would like to do i have the dialogue box open so that i can make another (different) selection at a later time

(i.e. i've got a list of programs that i want to choose from as i work, and i figured this would be a neatter way than having to re-type open x:\programs\... etc. every time)

wes

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13583
Joined: Tue Sep 16, 2008 5:38 pm

Re: Dialogue Boxes

Postby EViews Gareth » Mon Apr 04, 2011 8:51 am

You could always have your program relaunch the dialog after a selection has been made (i.e. just put the dialog in a while loop).

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Re: Dialogue Boxes

Postby w_nawfal » Mon Apr 04, 2011 9:09 am

a "while loop" you say ...

i haven't used that yet ~ i'll go check it out now and see where it leads me :O)

thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest