dialogField dialogDeliveryMode;
public void postBuild()
{
dialogDeliveryMode = this.bindInfo().getDialogField(this.dataContractObject(), methodstr(YourContractClass,parmDeliverMode));
}
public void postRun()
{
super();
// Override modified method
dialogDeliveryMode.registerOverrideMethod(methodStr(FormStringControl, modified),methodStr(UIBuilderClass, deliveryMode_modified),this);
}
private boolean deliveryMode_modified(FormStringControl _control)
{
this.modifyDialogFields();
return _control.modified();
}
private void modifyDialogFields()
{
dialogDescription.value(//put the value u want here);
}
Thanks,
Layan Jweihan
Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future.
André Arnaud de Cal... 291,925 Super User 2024 Season 2
Martin Dráb 230,646 Most Valuable Professional
nmaenpaa 101,156