on ‎2024 Jan 08 11:07 AM
Here is my code
XML
<item top="651" left="9" width="90" height="21" AffectsFormMode="1" description="" disp_desc="1" enabled="1" from_pane="0" to_pane="0" linkto="" right_just="0" type="129" visible="1" uid="1" IsAutoGenerated="0">
<specific caption="Add">
</specific>
</item>
Code Behind :
SAPbouiCOM.ButtonCombo btnadd = (SAPbouiCOM.ButtonCombo)Root.Instance.frmQC.Items.Item("1").Specific;
int intCount = btnadd.ValidValues.Count;
if (intCount > 0)
{
while (intCount > 0)
{
btnadd.ValidValues.Remove(intCount - 1, SAPbouiCOM.BoSearchKey.psk_Index);
intCount = intCount - 1;
}
}
btnadd.ValidValues.Add("3", "Add & New");
btnadd.ValidValues.Add("5", "Add & View");
btnadd.ValidValues.Add("7", "Add & Close");
btnadd.Select("3", BoSearchKey.psk_ByValue);
btnadd.ExpandType = BoExpandType.et_DescriptionOnly;
After Clicking Add& New Button Combo, UDO form is not getting added.
Thanks.
Request clarification before answering.
| User | Count |
|---|---|
| 27 | |
| 13 | |
| 11 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.