Hi Mitchell,
You can add lots of invisible panes and then make them visible as needed:
Something like
i is int
bFlag is boolean
bFlag=False
for i=1 to MyBar..Occurrence
if MyBar..Visible=False then
MyBar..Caption=MyNewFavorite
MyBar..Visible=True
bFlag=True
break
end
end
if not bFlag then Error("Maximum favorites reached.")
You'll have to think of a way to orde the bars e.g. by switching captions.
Best regards,
Piet