Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox with MoverBars - How do I test for order change?
Message
De
09/03/2005 11:45:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/03/2005 13:44:24
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Divers
Thread ID:
00993763
Message ID:
00994048
Vues:
35
>Hi All,
>
>I have a listbox with its MoverBars set to show. I have a "Save" button that is disabled until the user changes anything on the form. My problem is, I want the "Save" button to enable when the user changes the order of the items in the listbox. What listbox event can I trap for this?
>
>I tried the interactivechange() event. Although it fires when an item is moved the problem is that it fires simply by clicking on an item in the list without moving it. In effect nothing changed so I don't want to enable the "Save" button.
>
>TIA
>
>Regards,
>
>Mike

Mike,
Checking current order vs original order in MouseUp works in all versions.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform