Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Argh...layering object problem in userform

I have a userform with lots of controls on it.

For reasons I won't explain here, I have to place several listboxe
"behind" or underneath some other controls....the user never needs t
click into these listboxes.

Problem is, I can't seem to make them stay behind the other controls.
I try to "Send To Back" and "send backwards" but some of them (?!?!
won't stay behind the other controls.

Very frustating.

Any suggestions

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Argh...layering object problem in userform

For that matter any help on making these listboxes "not visible".....

Please note that setting the property "visible = false" is not a
option because I do have to set focus on these controls behind th
scenes.

they just won't stay underneath

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Argh...layering object problem in userform

I fixed it myself...

I think this is a bug in Excel because each time I show the user for
different listboxes that are suppose to be behind other controls appea
each time...sometimes its listbox4, sometimes listbox5...etc.


here is how I worked around it.

First, I made the controls default visible property = false

next, I went into the code and before setting focus and performin
other actions I set the visible property to true.

Finally, to prevent "flashing", I put the listboxes in a frame objec
and then shrunk the margins of the frame so that the listboxes wer
"out of bounds". This seems to work.

- Jason Sweene

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula I can't figure it out?! ARGH jewels Excel Worksheet Functions 4 December 8th 05 01:04 PM
Countif layering Ben Blair Excel Discussion (Misc queries) 2 May 27th 05 03:38 PM
Using Userform object in Excel via automation from VB 6 Howard Kaikow Excel Programming 10 December 5th 03 02:58 PM
argh, can't get it to work solo_razor[_11_] Excel Programming 4 October 27th 03 04:51 PM
unable to create embedded object on a userform Robert Nobles Excel Programming 0 September 9th 03 08:49 PM


All times are GMT +1. The time now is 08:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"