Hi experts, just want to ask if how can I catch the event, comboselect from my Grid. I want to get the description in my ComboboxColumn and put it to EditTextColumn in my grid. Thus it possible? Please reply. Thanks.
Hi Hikaru,
You can get combobox description as below.
Dim oCombo As SAPbouiCOM.ComboBoxColumn
oCombo = sboGrid.Columns.Item(0) '-- Column which defined as combobox
'-- iCnt : Selected Grid row
Dim sDesc as string = oCombo.GetSelectedValue(iCnt).Description
Joanne
Thanks Joanne,
Just wondering where should I put that code. I can't put that code in code in ItemEvent where SAPbouiCOM.BoEventTypes.et_COMBO_SELECT.
Hi experts,
Here's my code from my SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
oEditText = dgCOLUMNSOTHER.Columns.Item("Description")
oCombo = dgCOLUMNSOTHER.Columns.Item("ItemCode")
oEditText.Value = oCombo.GetSelectedValue(0).Description
I can't put the value of the selected in comboboxcolumn to edittextcolum. Please help.
Solved!