Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resequencing Items
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Resequencing Items
Divers
Thread ID:
01255990
Message ID:
01255990
Vues:
52
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
Répondre
Fil
Voir

Click here to load this message in the networking platform