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?
Hello,
No, the issue is still there.
Hi, I don't know what can be root cause of this issue but can you try adding fbscPostingType.width(100) after last line in the dialog method.
André Arnaud de Cal...
292,111
Super User 2025 Season 1
Martin Dráb
230,934
Most Valuable Professional
nmaenpaa
101,156