Navigation Menu

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Navigation Menu

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:10 pm

by CassMan >> Tue, 11 Sep 2007 9:39:27 GMT

Hi there,

The software i work with comprises of several menus and many many other forms and reports. Our current navigation is a very dated, inefficient drop-down menu in the corner in which the user can select their desired location. We have decided to update this. We would ideally like a menu on the side which acts as a sort of site map. How do we go about making this? It would be very good if it looked like the class select menu on the left-hand pane of the Jade Development Program.

I am sure this is possible, and probably very easy, i just can't find the relevant classes. Can anybody help?

Regards,

Cass

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Navigation Menu

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:10 pm

by Brendan >> Tue, 11 Sep 2007 16:52:58 GMT

One possibility is to have a look at the ListBox and ComboBox classes. Both support listing entries hierarchically. You use the itemLevel and itemExpanded properties to control this.

There are other properties which affect the display eg. hasTreeLines, hasPictures, hasPlusMinus etc.

Cheers, Brendan

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Navigation Menu

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:10 pm

by cnwtb2 >> Wed, 12 Sep 2007 11:40:11 GMT

I would suggest using a parent JadeDockContainer (JDC) control and load child JadeDockBar (JDB) controls into it. This would then allow far greater controllability in regards to resizing, reduce complexity, increase the ease of use with other controls, and overall provide a vehicle of simplicity when coding. For instance, you could load 2 JDBs into the parent JDC. In the first JDB you could add a picture control and load a logo. The second JDB could have a listbox added in which the menu could be housed. This use of the JDC and JDB relationship would enable simplified coding for resizing (if its needed) because if the parent JDC is resized, ALL child controls would resize. Also, the JDC child structure would compact all your needs into one static area while allowing for dynamic manipulation, the need for complex code would be vastly reduced. This would then allow for more simplified coding of the menu you are after as the housing mechanism is staged within a parent structure.

If you manipulate the painter options for the JDC and JDB controls you would have a very presentable menu panel.

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Navigation Menu

Postby ConvertFromOldNGs » Fri Aug 07, 2009 1:10 pm

by cnwtb2 >> Wed, 12 Sep 2007 11:40:46 GMT

I would suggest using a parent JadeDockContainer (JDC) control and load child JadeDockBar (JDB) controls into it. This would then allow far greater controllability in regards to resizing, reduce complexity, increase the ease of use with other controls, and overall provide a vehicle of simplicity when coding. For instance, you could load 2 JDBs into the parent JDC. In the first JDB you could add a picture control and load a logo. The second JDB could have a listbox added in which the menu could be housed. This use of the JDC and JDB relationship would enable simplified coding for resizing (if its needed) because if the parent JDC is resized, ALL child controls would resize. Also, the JDC child structure would compact all your needs into one static area while allowing for dynamic manipulation, the need for complex code would be vastly reduced. This would then allow for more simplified coding of the menu you are after as the housing mechanism is staged within a parent structure.

If you manipulate the painter options for the JDC and JDB controls you would have a very presentable menu panel.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 40 guests