JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup Arrow  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup Arrow

Postby SBarnes » Wed Aug 26, 2026 2:01 pm

How do you make the ^ appear on the JiwaFinancials.Jiwa.JiwaApplication.Controls.Lookup controls button?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1714
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 193

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

Postby Mike.Sheen » Wed Aug 26, 2026 4:48 pm

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.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2628
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 824

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

Postby SBarnes » Wed Aug 26, 2026 5:18 pm

Thanks Mike, the following two lines make it work

Code: Select all
 jLookUp.Manager = salesOrderForm.Manager;
 jLookUp.InitialiseLookupControl();
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1714
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 193


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 16 guests