-
Z-index
I'm trying to alter Z-INDEX on one of my labels to cover up other controls on my page. It covers textboxes and other labels, but not comboboxes. Any ideas on how to cover these guys up (temporarily). I'm not using the Visible property because several of the controls on my page are not visible by default, and it would be a pain to figure out wich controls to leave invisable when I need my main form back. I did attempt to make a seperate form, and pass back the value I need (1 string) but failed misserably.
-
Re: Z-index
You won't be able to cover up a combobox. The way windows uses a combobox will always place it higher than anything else on the screen. Your only option is to implement sound logic to hide/show controls.
-
Re: Z-index
How difficult would it be to open a second window, consisting of a button and a listbox, then pass the selected listbox value back to the main page?
-
Re: Z-index
Not very difficult. You can access elements on the parent page by using javascript's window.opener object.
-
Re: Z-index
Thank you, I'll look into that. Temporarily I'm setting the ddl's back and for color to match the label's, as a kind of camoflauge. But it's still pretty hokey.
-
Re: Z-index
I've found a few examples, but they mostly deal with populating a text box with a selected calander value, and I couldn't get them to work. I would like to pass back a listbox value as a string, after a button click event.