Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple drag & drop operation
Message
 
 
À
05/06/2002 17:03:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00665152
Message ID:
00665226
Vues:
22
Check file #9472 and file #9185 for a sample code.

>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform