Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resequencing Items
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Resequencing Items
Miscellaneous
Thread ID:
01255990
Message ID:
01255990
Views:
53
I have some tab controls that I created in this app.

On startup the records for the tabs are pulled from SQL order by a sequence column. The sequence
number is stored to an iIndex property on each tab.

Assume that the user wants to move the tab 'Tools' between 'Home' and 'Project', or 'Schedule' after
'Resource'.

I am not going to be writing out to SQL again until the user clicks 'Save' at some point, so going to
the data is out, but I need to be able to reorder the controls interactively at run-time.

I'm having trouble coming up with the algorith for this. Can anyone help?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Reply
Map
View

Click here to load this message in the networking platform