Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and drop and comboboxes
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00033820
Message ID:
00033850
Views:
42
>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


After further testing, I've determined that the problem has nothing to do with drag and drop. When I try to modify the values of these two controls programatically with a value in neither list, the combobox goes blank and the drop-down list shows the new value.Anyone got a clue??

TIA

Mike
Previous
Reply
Map
View

Click here to load this message in the networking platform