combobox.text

  • Thread starter Thread starter Finn Stampe Mikkelsen
  • Start date Start date
F

Finn Stampe Mikkelsen

Hi

I've encountered a strange problem. Strange in my mind anyway..

In my app, i use some comboboxes and fill them up from a table. After
filling, i put "Please Select" in the combobox.text property. This works
fine. I use the DropDownClosed event to handle selection in the box, after
which the routine filling up the comboboxes run again. The second time round
though, the text "Please Select" does not show and i'm puzzled as to why
this is...

Any idea??

/Finn
--
Der er 10 slags mennesker - Dem som forstår binær og dem som ikke gør.
There are 10 kinds of people. Those who understand binary and those who
don't.
Es gibt 10 Arten von Menschen. Die, die Binär verstehen, bzw. die, die es
nicht tuhen.
 
Hi

I've encountered a strange problem. Strange in my mind anyway..

In my app, i use some comboboxes and fill them up from a table. After
filling, i put "Please Select" in the combobox.text property. This works
fine. I use the DropDownClosed event to handle selection in the box, after
which the routine filling up the comboboxes run again. The second time
round though, the text "Please Select" does not show and i'm puzzled as to
why this is...

Any idea??

/Finn

You will need to add 'Please Select' each time after the Combo has been
re-filled.
 
Jeff Gaines said:
You will need to add 'Please Select' each time after the Combo has been
re-filled.

Hi Jeff

I know that. The DropDownClosed call's the routine that originally did the
filling with "Please Select". Both situations do excactly the same thing,
since it's the same code running.

/Finn
--
Der er 10 slags mennesker - Dem som forstår binær og dem som ikke gør.
There are 10 kinds of people. Those who understand binary and those who
don't.
Es gibt 10 Arten von Menschen. Die, die Binär verstehen, bzw. die, die es
nicht tuhen.

 
Back
Top