Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag&drop grid2grid
Message
De
04/07/1998 22:38:27
 
 
À
04/07/1998 12:45:46
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00114247
Message ID:
00114296
Vues:
34
>Well two grids (related) like this
Grid1                 Grid2
>Childkey textvalue    Parentkey Textvalue
>x1       val1         x2        cval1
>x2       val2         x2        cval2
>x3       val3
I want to drag&drop cval2 on to x3,val3 row. How do I ? I came to a point where I could do it by getting "current" row dropped on to (I mean grid1.dragdrop fires but not grid1.columns(x).controls(y) which is the reverse of online doc says). It seems that textbox in a grid doesn't support dragmode=Automatic. Am I missing something ? Any suggestion saving my brain cells are wellcomed. TIA.
>Cetin

it is a little easier in VFP6 where you have GridHitTest method
but you can still calculate in VFP5 the relatiove row and column -after you get the mouse coordinates with MROW and MCOL

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform