Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Tab ordering of boxes (Read 2015 times)
JonathonB
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 10th, 2007
Tab ordering of boxes
Apr 10th, 2007 at 8:47am
Print Post  
Hello,

Could you please tell me what is used to determine the tab ordering of the boxes on a control? And is it easy to change?

I have tried setting the Z Index on the hope that that is used but nope Sad I'm led to think that it's ordering is done on the creation order... but hopefully there's something I can do.

Kind regards,
Jonathon
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Tab ordering of boxes
Reply #1 - Apr 10th, 2007 at 8:59am
Print Post  
Hello,

You can do that with ZIndex. If using the FlowChart.Add method to add boxes, make sure you set ZIndex after calling Add(). The ZIndex setter modifies the FlowChart.Objects collection, so it does not have any effect before the box is added.

Stoyan
  
Back to top
 
IP Logged
 
JonathonB
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 10th, 2007
Re: Tab ordering of boxes
Reply #2 - Apr 10th, 2007 at 9:28am
Print Post  
Hi there,

Thanks for the reply - unfortunately doing that doesn't really seem to help. It still seems to go in the ordering of how they were created.

Initially they were all using the FlowChart.CreateBox() method with no call to FlowChart.Add() but I changed it to call that to see if anything would work. Unfortunately not - I am setting the ZIndex well after they have been created on the flowchart.

Even tried calling Flowchart.Update and FlowChart.Refresh but tabbing through the boxes still gets the incorrect order Sad

Regards,
Jonathon
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Tab ordering of boxes
Reply #3 - Apr 10th, 2007 at 9:33am
Print Post  
Hi,

There is not built-in support for tabbing in Flowchart.NET. How exactly do you implement it in your application? If you enumerate items in the Boxes collection, ZIndex won't have effect on their order. ZIndex affects only the order of items in Flowchart.Objects.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint