Hello,
I have a weird problem with a SysLookupMultiSelectCtrl control in my RunBase batch class.
I have followed the logic from the Tutorial classes as follows:
private int dlgPostingTypeId;
private FormStringControl dlgPostingType;
private SysLookupMultiSelectCtrl postingTypeLookup;
public Object dialog()
{
FormBuildStringControl fbscPostingType;
FormBuildGroupControl currGroup;
DialogRunbase dialog = super();
fbscPostingType = currGroup.addControl(FormControlType::String,
'postingTypeLookup');
fbscPostingType.label("@SYS26086");
fbscPostingType.lookupOnly(true);
dlgPostingTypeId = fbscPostingType.id();
}
public void dialogPostRun(DialogRunbase _dialog)
{
super(_dialog);
dlgPostingType = _dialog.formRun().design().control(dlgPostingTypeId);
postingTypeLookup = SysLookupMultiSelectCtrl::construct(_dialog.formRun(), dlgPostingType,
queryStr(XXXLedgerSystemAccountsQuery), true);
}
I have come across a very weird problem where upon clicking on the control for lookup for the first time, the lookup form width is as follows:

However, it looks ok upon clicking on it for a second time:

Has anyone come up with this problem?