Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag-and-drop and grids
Message
De
01/05/2006 18:47:13
 
 
À
24/04/2006 17:16:35
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01116129
Message ID:
01118227
Vues:
12
Have you seen Nikolai Neklioudov's UniversalDragDropper? See

Download#9899

>I have a grid with over 30 columns. At any point in time many of the columns have Visible set to .F. Still there are too many columns and the user must use the horizontal scroll bar. No big deal.
>
>I need to drag-and-drop from one cell to another. Don't touch the horizontal scroll bar and everything works fine. I use GridHitTest inside the grid's DragDrop Event to tell me where the user does the drop. Once I move things around using the horizontal scroll bar and then try drag-and-drop, the GridHitTest nCol becomes less than reliable.
>
>Any thoughts?
>
>If I knew which columns have been scrolled off to the left, I could compute the drop column from the x and y coordinates. Does anyone know how to tell which columns are scrolled off?
>
>My columns contain Edit Boxes. When I am dragging, DragOver for the Edits would be helpful. Only the DragOver for the grid fires. Not very helpful.
>
>
>Tim
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform