>Hi Trey,
>
>Are you sure, there is no other solution, rather than use select with union (I thought the same, BTW)? The reason, I'm asking, is there are lots of comboboxes, which are used in our application. Does it mean, that we should re-define RowSource for all of them?
>
>I was thinking about something like this in combobox.RightClick() method for our combobox class:
>
> this.displayvalue=''
> this.value=''
>
>
>Not sure, it it would work.
This is FoxPro - there's almost always another solution <g>
If you like this approach, I wouldn't put it in the RightClick(), but rather trap a Delete or Backspace in the KeyPress of the combobox.
That's more intuitive, and behaves like a textbox would if you selected all and hit Delete or Backspace.
Insanity: Doing the same thing over and over and expecting different results.