Minibar removal  Topic is solved

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

Minibar removal

Postby neil.interactit » Tue Mar 15, 2016 10:10 am

Yeah I know ... if you have a minibar, why remove it!

In this case I mean the mini-toolbar on the JiwaFinancials.Jiwa.JiwaDocumentTypesUI.MainForm form. I am inheriting this to build a popup form ...

minibar.png

I have been able to show/hide all the other controls as needed, but cannot work out how to hide the mini toolbar?

Cheers,
Neil.
neil.interactit
Kohai
Kohai
 
Posts: 232
Joined: Wed Dec 03, 2014 2:36 pm
Topics Solved: 6

Re: Minibar removal  Topic is solved

Postby Scott.Pearce » Tue Mar 15, 2016 10:38 am

It's not a mini-toolbar, it's simply a toolbar. You have a ribbon and a toolbar. There is also a "mini-toolbar" as part of the component, but we don't use that.

Anyway, to hide the toolbar you circled:

Code: Select all
UltraToolbarsManager1.Toolbars("Toolbar").Visible = True
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Minibar removal

Postby Mike.Sheen » Tue Mar 15, 2016 6:40 pm

Note the user can hide the toolbar themselves by right clicking the ribbon and unchecking the "Show Toolbar" checkbox. The base form will remember that preference an apply it every time the user loads the form.

I'm also curious why you chose to inherit from JiwaFinancials.Jiwa.JiwaDocumentTypesUI.MainForm - that form itself inherits from JiwaFinancials.Jiwa.JiwaApplication.ListMaintenance.UserInterface which is what I think would be more appropriate to inherit from.
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: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807

Re: Minibar removal

Postby neil.interactit » Wed Mar 16, 2016 12:59 pm

Thanks Scott, nailed it.

Hi Mike ... only that UserInterface needed UserInterface<ItemType,ListType>, and looking in from the outside ItemType and ListType weren't immediately apparent, whereas MainForm seemed to work. Probably not a great reason, but unfortunately since the search feature disappeared off the Jiwa API doco, many decisions are "suck it and see" based!

Cheers,
Neil.
neil.interactit
Kohai
Kohai
 
Posts: 232
Joined: Wed Dec 03, 2014 2:36 pm
Topics Solved: 6

Re: Minibar removal

Postby Mike.Sheen » Wed Mar 16, 2016 4:25 pm

neil.interactit wrote:Hi Mike ... only that UserInterface needed UserInterface<ItemType,ListType>, and looking in from the outside ItemType and ListType weren't immediately apparent, whereas MainForm seemed to work. Probably not a great reason, but unfortunately since the search feature disappeared off the Jiwa API doco, many decisions are "suck it and see" based!


We used to have a search in the API reference? I'll look into why that's disappeared.

The Editable List Maintenance sample should help to understand how to construct these type of forms.
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: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 4 guests