Re: using combobox in tktable



On 28 Apr., 03:15, Jeff Hobbs <j...@xxxxxxxxxxxxxxx> wrote:
MAK wrote:
I want to insert a combobox in a tktable. When I use the code behind
and the behaviour is the following:
- clicking once in a cell of the table, no combobox is shown. The
combobox is shown, when I move the scrollbar or click again in this
cell.
How can I be sure, that the combobox is shown the first time I press
the mouse-Button in a cell?
Is it possible to do the same Update as the scrollbar manually?

Follow the change of cells with the table's -browsecommand option to set
it on browse into the cell.

Jeff

I start my proc with the -browsecommand option. In this proc the
combobox is created and should be shown. But is isn't shown.
Not the cell should be shown but the combobox, which is created in
this cell, should be shown.
I tried some ways and found out, that scrolling with the scrollbar
shows the combobox. Also pressing the Button again in the same cell
shows the combobox. I hoped, there is a special command I can use to
show the combobox without one of this workaraounds (invoke was not so
easy to test. Could be the best workaraound for me, if there's no
better way).

Regards
Michael

.


Quantcast