I read in the online help of wincc oa that the table widget "combo box" becomes visible only when you click on the correspondent cell.
is possible to force visualization and selection via script (or in other ways)?
thanks in advance
Leonardo
combo box on table
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: combo box on table
The combo box in the table is an editor for the value in the cell, so it's only visible while editing.
What the user sees in the cell is the value selected.
What the user sees in the cell is the value selected.
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: combo box on table
I'm not sure what you are trying to achieve, but you could of course use a bitmap instead of the checkbox which you toggle when they click on a cell.
It is a bit more work for you, but would look beautifull for the end-customer.
Good luck
It is a bit more work for you, but would look beautifull for the end-customer.
Good luck
- Ladrone
- Posts:14
- Joined: Thu Sep 24, 2015 2:09 pm
Re: combo box on table
Thanks guys! now I am trying to solve that problem with bitmap.
Now i have an other problem: the combo box (that has a couple of possible selectable items) has to set or reset a bit.
I try to sole in that way: I load the value of that bit on "initialize" script of the table but I am not able with the "clicked" script to set or reset the bit because that script consider only the first click that is used for show the combo box and don't consider the real combo box selection (that is set at least after 3 mouse "clicks")!!
I try to found an internal wincc oa function which allow me to check that the value in the cell is changed but i didn't found it.
Is it possible (also via script) to check the value change in the "cellWidgetRC" of the table?
help me, thanks
Leonardo
Now i have an other problem: the combo box (that has a couple of possible selectable items) has to set or reset a bit.
I try to sole in that way: I load the value of that bit on "initialize" script of the table but I am not able with the "clicked" script to set or reset the bit because that script consider only the first click that is used for show the combo box and don't consider the real combo box selection (that is set at least after 3 mouse "clicks")!!
I try to found an internal wincc oa function which allow me to check that the value in the cell is changed but i didn't found it.
Is it possible (also via script) to check the value change in the "cellWidgetRC" of the table?
help me, thanks
Leonardo
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: combo box on table
You probably do something wrong.
I attach an example panel showing that the combobox in the table triggers the clicked script of the table
passing the selected combobox entry as value.
The table gets just one line. click on it, select an entry in the combo and see the line edit below the table
showing the selection. https://www.winccoa.com/fileadmin/image ... _combo.pnl
I attach an example panel showing that the combobox in the table triggers the clicked script of the table
passing the selected combobox entry as value.
The table gets just one line. click on it, select an entry in the combo and see the line edit below the table
showing the selection. https://www.winccoa.com/fileadmin/image ... _combo.pnl
- Attachments
-
- table_combo.pnl
- (1.8 KiB) Downloaded 231 times