Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple drag & drop operation
Message
De
05/06/2002 17:03:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Simple drag & drop operation
Divers
Thread ID:
00665152
Message ID:
00665152
Vues:
61
I am trying to program a drag & drop operation that will allow me to click on a record in a list control and drag it to a textbox control and have it set the textbox control's value to a value from that record.

In my list controls mousedown method I have the this.drag command to start the drag. In my textbox dragdrop method I have this.value = tblJobTicket.JobNum to set the textbox's value property.

The problem I am having is that when I click on a record and drag it to the textbox, the record pointer is not being moved until after the textbox's dragdrop event fires and therefore the textbox's value is not being set to the record that I just drug, but is being set to the record that was previously selected.

Any help on this issue will be greatly appreciated.

Thanks,

Barry
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform