Blogs

News

Favorite Posts

ctodx

Discussions, news and rants from the CTO of Developer Express, Julian M Bucknall

Sneak peek: Improving the navigation bar support in our VCL subscription (coming in v2011.1)

     

Normally, writing about removing support for an older control in favor of the newer one is enough to get me worried. In this case, the VCL team have done a bang-up job to make the transition as painless as possible.

In essence, we’re making the older ExpressSideBar (no, I didn’t know we had one!) obsolescent. You should be using the ExpressNavBar instead: it has more features, looks better, and is actively maintained. To help with migrating your legacy code to use ExpressNavBar, the developers on the team have implemented a design-time converter.

The dxsbar unit has been moved to ExpressNavBar. It contains the design-time templates for the TdxSideBar, TdsSideBarStore and and TdxSideBarPopupMenu controls. Note that this means, from v2011.1.3, the dxsbar unit can be used at design time only.

Here’s how it all works (click image to expand).

SideBar

On the left, you can see the TdxSideBar in a previous version of the VCL subscription. If you open the same project in the IDE with v2011.1.3 installed, you’ll see that its look has changed to a warning box stating the side bar is now deprecated and that you should convert your older code to use a TdxNavBar. Double-click on the warning box (or right-click to get the context menu shown and click on the relevant menu option), and the reference to the old TdxSideBar is changed to use the current TdxNavBar to produce the result on the right.

After the conversion is done, you should delete the reference to the dxsbar unit from your uses clause of your application unit.

Seems pretty simple to me and the results will make your apps look better.

Published May 03 2011, 07:57 AM by Julian Bucknall (DevExpress)
Filed under: , , ,
Technorati tags: v2011.1, C++Builder, VCL, Delphi
Bookmark and Share

Comments

 

Birger Jansen said:

Looks good! Will you be adding some nice new features to the dxNavBar as well in the next update?

May 3, 2011 12:03 PM
 

Hugh Bellamy said:

hey, sorry, I may sound stupid, but in the client center, under downloads,  there is no VCL or C++ area to download, and if I use the universal(10.2.8) it is not there!

Sorry again

May 3, 2011 3:43 PM
 

Ron Grove said:

@ Hugh - I still see my VCL downloads in the new download manager here:

www.devexpress.com/.../Downloads

Is that where you're looking?

On the topic of the older bar, the dxNavBar has been around for ages now and there's no comparison between the quality of the two. Hopefully most people have migrated by now so it won't be much of an issue.

May 3, 2011 5:09 PM
 

Hugh Bellamy said:

Hey again, I am sorry, but it is actually not there! Sorry, but could you send me a direct link? Thanks

May 4, 2011 12:19 PM
 

Ron Grove said:

@Hugh - Strange, the link I provided above is the only one I know of. If you're logged into the site and have a current VCL subscription, but still don't see it, then I recommend you write support and ask. The .NET universal sub is only for .NET components so you definitely won't see it in there.

May 4, 2011 2:07 PM
 

Hugh Bellamy said:

Hi, I am not subscribed to it, but want to try it out instead.

What next?

May 4, 2011 4:24 PM
 

Ron Grove said:

You can go here and download the latest compiled demos:

www.devexpress.com/.../Downloads

It has the source code to the demos so you can look at it in Delphi, but I don't think they provide a "real" trial version of their VCL components. That may have changed, I don't know, but the download there doesn't use the word "trial" like the .NET components do.

Hope that helps.

May 5, 2011 7:08 PM
 

Cary Moore said:

"Note that this means, from v2011.1.3, the dxsbar unit can be used at design time only"

Ah, that caught me with a re-compile of one project complaining it couldn't find designintf.dcu, it had been fine in 11.1.1 and 11.1.2

May 24, 2011 8:08 AM
 

Anthony Caduto said:

uh, the dxsidebar was part of expressbars, by moving it to the navbar sku, you are forcing users to purchase another product that they may not need.  NOT COOL.

December 9, 2011 9:43 AM

About Julian Bucknall (DevExpress)

Julian is the Chief Technology Officer at Developer Express. You can reach him directly at julianb@devexpress.com. You can also follow him on Twitter with the ID JMBucknall.
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.