Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and drop and comboboxes
Message
De
28/05/1997 10:26:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033820
Message ID:
00033824
Vues:
44
>I've created two classes subclassed form combobox. One has a style of 0 (Combo) the other a style of 2 (drop-down list). I'm having problems with drag and drop. Whenever I drop something onto the drop-down list that isn't in the list, it displays it and when I do the same with the combobox, it blanks out the value. Isn't that backwards? Isn't the value of a combobox allowed to be anything while the value of a drop-down list is restricted to items in the list?
>
>my dragdrop method is as follows:
>
>if type(oSource.value) == type(this.value)
> this.value=oSource.value
> this.refresh
>endif
>
>TIA
>
>Mike

check out the Solution sample shipped with vfp50 under List Box /Move items
between list boxes. this has the code for drag and drop.. I have used it
and it works..
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform