by yoni » Sat Mar 11, 2006 11:12 pm
Hi,
Same question for the XP tabs with a twist.
I also need to right align the tabs, so I changed the value of the startPos variable. It works great for static tab names. However, my tab names are dynamic.
so this:
___________________________________menu 1 | menu 2 | menu 3___
becomes this:
___________________menu 1' | menu 2' | menu 3'__________________
Is there a way to calculate at run time the total widths of the tab names?
If so, I can set the startPos to total_width - tab_names_width and the problem is solved.
Any ideas?