Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Get the box index (Read 2219 times)
andrewsando1973
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 56
Joined: Feb 14th, 2010
Get the box index
Feb 18th, 2010 at 8:04am
Print Post  
Can you please tell me how can i get the index of the box that have been just created.

I want to pass the box index to another function and keep it for future use.

So,
1) How can i get the index of a box?
2) How can i select a box programatically using its index?

Thanks in advance
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Get the box index
Reply #1 - Feb 18th, 2010 at 8:28am
Print Post  
Hi,

You could use an integer counter and assign its value to box.Tag for each new box. Then you will be able to get a box by its index by calling the FindBox method.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint