[DataSource] class JmgProfileTable { public int active() { int ret; ret = super(); displayColor.backgroundColor(jmgProfileTable.Color); return ret; } [Control("Integer")] class displayColor { public void lookup() { jmgProfileTable.Color = ColorSelection::selectColor(this, jmgProfileTable.Color); displayColor.backgroundColor(jmgProfileTable.Color); } } }
[ExtensionOf(formControlStr(ReqParameters, ProductionQuantitiesColorCtrl))] final class FormDF_ReqParameters_ProductionQuantitiesColorCtrl_Extension { public void lookup() { next lookup(); this.lookup_post(); } public void lookup_post() { FormDataSource formDatasource = this.formRun().dataSource(tableStr(ReqParameters)); ReqParameters reqParameters = formDatasource.cursor(); reqParameters.ProductionQuantitiesColor = ColorSelection::selectColor(this, reqParameters.ProductionQuantitiesColor); this.backgroundColor(reqParameters.ProductionInstructionsColor); reqParameters.write(); } } [ExtensionOf(FormDataSourceStr(ReqParameters, ReqParameters))] internal final class FormDS_ReqParameters_ReqParameters_Extension { public int active() { int ret = next active(); this. active_post(ret); return ret; } public int active_post(int ret) { ReqParameters reqParameters = this.cursor() as ReqParameters; if(reqParameters) { int color = reqParameters.ProductionQuantitiesColor; FormIntControl formControl = this.formRun().control(this.formRun().controlId(formControlStr(ReqParameters, ProductionQuantitiesColorCtrl))); formControl.backgroundColor(reqParameters.ProductionQuantitiesColor); } return ret; } }
FormIntControl formControl = this.formrun().design().controlName(formControlStr(ReqParameters, ProductionQuantitiesColorCtrl)) as FormIntControl; formControl.backgroundColor(reqParameters.ProductionQuantitiesColor);
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,157
André Arnaud de Cal... 883 Super User 2025 Season 2
Sohaib Cheema 674 User Group Leader