General information
Category:
Forms & Form designer
>/ On my form is a grid full of children. These child records are
>ordered on
>/ parent key and an arbitrary ordering field. There is nothing
>alphabetical
>/ or numeric in the data to use for ordering, but they still need to be
>in a
>/ certain order. At the moment, the arbitrary order field can be edited
>by
>/ the user. Also, the user can click on a record in the grid, and then
>add a
>/ child with the arb.-order incremented so that the new child follows
>the
>/ selected one. However, I would rather use drag buttons, such as you
>have
>/ in the table designer, so that users never see arbitrary order
>numbers.
>/ How do I make those? Do they work well with a grid or do I need to
>replace
>/ it with a listbox or something? (I hope not.)
>
>Why not a simple textbox in an invisible column? So they never see it...
>and yet it can be used for anything.
I'm not sure how that relates to my problem. Getting the arbitrary order numbers out of sight is not a problem. I'm interested in how to make drag buttons. I can sort of imagine solutions involving the mousemove event and mouse positions, but I figure that there is a right way to do this, or even some code somewhere. Can anyone .MouseMove me in the right direction or .DragDrop me on a piece of code? As Luis Guzman might say, THIS.Thanks. Or maybe I should say
oGuzman = CREATEOBJECT(LuisGuzman)
oGuzman.Thanks
RELEASE oGuzman :)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only