Page 1 of 1

JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup Arrow

PostPosted: Wed Aug 26, 2026 2:01 pm
by SBarnes
How do you make the ^ appear on the JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup controls button?

Re: JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup Arro

PostPosted: Wed Aug 26, 2026 4:48 pm
by Mike.Sheen
SBarnes wrote:How do you make the ^ appear on the JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup controls button?


The control has a method, InitialiseLookupControl which sets the image and a few other properties. That method is invoked for you automatically if the control is on one of our forms which are created using the factory - the factory calls InitialiseControls which will call InitialiseLookupControl on any lookup controls.

It could be you're adding the control to the form after the factory has called InitialiseControls, and so your controls InitialiseLookupControl is never invoked.

Re: JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup Arro  Topic is solved

PostPosted: Wed Aug 26, 2026 5:18 pm
by SBarnes
Thanks Mike, the following two lines make it work

Code: Select all
 jLookUp.Manager = salesOrderForm.Manager;
 jLookUp.InitialiseLookupControl();