Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Change the z-order of item (Read 2034 times)
qomo-peter
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Nov 4th, 2011
Change the z-order of item
May 23rd, 2012 at 2:21am
Print Post  
When I change the z-order of item (using ZLevelDown ZLevelUp), the order of item not changed until click the diagram again. Is there a way to refresh the diagram immediately ?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Change the z-order of item
Reply #1 - May 23rd, 2012 at 8:11am
Print Post  
If the item is selected, its position within the Z order might be overridden by the SelectionOnTop property. Check if ZLevelDown/Up work as you expect with SelectionOnTop set to false. Otherwise try calling the diagram's UpdateLayout method after changing Z order, although the diagram does get redrawn automatically in my test.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
qomo-peter
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Nov 4th, 2011
Re: Change the z-order of item
Reply #2 - May 24th, 2012 at 4:02am
Print Post  
Thanks, it works after set SelectionOnTop = false
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint