BRING listview

User avatar
sal21
PlatinumLounger
Posts: 4355
Joined: 26 Apr 2010, 17:36

BRING listview

Post by sal21 »

Exists a metod to bring in front or behind a listview.
I use a userform and vba for excel.

in effect i need to bring in front or behind programmatclly two listview: listview1 and listview3

User avatar
HansV
Administrator
Posts: 78473
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: BRING listview

Post by HansV »

You could set the Visible property of one of the listview controls to False and that of the other to True.
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4355
Joined: 26 Apr 2010, 17:36

Re: BRING listview

Post by sal21 »

HansV wrote:You could set the Visible property of one of the listview controls to False and that of the other to True.
ok i know this way...
but when use the visible property have an old prob:

http://www.eileenslounge.com/viewtopic ... urn false;

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: BRING listview

Post by Rudi »

Just a 2 cents suggestion...
Might it help if you group the two controls.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
sal21
PlatinumLounger
Posts: 4355
Joined: 26 Apr 2010, 17:36

Re: BRING listview

Post by sal21 »

Rudi wrote:Just a 2 cents suggestion...
Might it help if you group the two controls.
????

User avatar
Rudi
gamma jay
Posts: 25455
Joined: 17 Mar 2010, 17:33
Location: Cape Town

Re: BRING listview

Post by Rudi »

Select both list boxes and then group them (see image)
1.jpg
You do not have the required permissions to view the files attached to this post.
Regards,
Rudi

If your absence does not affect them, your presence didn't matter.

User avatar
sal21
PlatinumLounger
Posts: 4355
Joined: 26 Apr 2010, 17:36

Re: BRING listview

Post by sal21 »

HansV wrote:You could set the Visible property of one of the listview controls to False and that of the other to True.
tks.
resolved with Zorder...