Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox with MoverBars - How do I test for order change?
Message
From
09/03/2005 11:45:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
08/03/2005 13:44:24
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00993763
Message ID:
00994048
Views:
31
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform