DevExpress Bars 5 to 6 - BarByName is gone, BarByComponentName not functioning properly. Help?
Posted on 2011-03-18
I use the method to introduce new elements to the bar during run time, when I say BarByComponent name, I mean that I need to invoke the name of the bar into a variable so I can call it whenever I want it, however I suspect this is not the case.
Issue: Instead of introducing the new element, a blank space is introduced instead, when clicked upon it generates an access violation error.
Example of my code:
BarX := mainBar.BarByComponentName('barMenuList');