Link to home
Start Free TrialLog in
Avatar of blue-genie
blue-genieFlag for South Africa

asked on

z-index issue with showDialog()

speak newbie to me.
I have an application that has a wizard which is a dialog not a form, apparently this was done in order for it to freeze the application while the wizard is running. Now the thing is the wizard has 2 buttons, one brings up a showDialog using an openFileDialog and the other and Directory dialog - the directory one is opening up behind my wizard, and the other in front - what's up with that?
Avatar of Mikal613
Mikal613
Flag of United States of America image

which did you call first?
Avatar of blue-genie

ASKER

doesn't matter which one i call first.
they're on button events. the directory one always pops to the back.
why do you have 2 dialogs open?
i dont' have 2 dialogs open. the user gets to pick to select a folder or a file, if they pick a file they click the file button, that opens the file dialog box which is fine, if they click the folder one, that one opens up behind the wizard!!!!
understand???
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Now that is just sheer genius!!!!!!!!!!!!!!!!
Thanks this much!!!!
u're the sh*t!!!!
awesome i'm ur new number 1 fan!!!!!!
bg :-)