Set Combo selected item by other control
OK, next thing I can not get answer for... Nor here nor in the QuickRef...
If I select some grid row, values in the form should chande....
I have this for imputs:
So i tried something like this with the combo:
But that does not work... I know this is wrong, but I do not know how to make it better... Maybe by seting index or somethiung like that, but I do not know how...
The point is, that use the Combo as <select> so I need both the Value and The text to be changed to get ConrolValue... But if I try only with seText it wont set the index (resp. Value)
If I select some grid row, values in the form should chande....
I have this for imputs:
inputClientName.setControlText(gridClients.getCellText(2,gridClients.getCurrentRow()));
So i tried something like this with the combo:
inputClientName.setSelected(gridClients.getCellText(2,gridClients.getCurrentRow()));
But that does not work... I know this is wrong, but I do not know how to make it better... Maybe by seting index or somethiung like that, but I do not know how...
The point is, that use the Combo as <select> so I need both the Value and The text to be changed to get ConrolValue... But if I try only with seText it wont set the index (resp. Value)
ASJ
May 4,