Mitchell
Sidebar April 15, 2008 08:15AM |
Piet van Zanten
Re: Sidebar April 15, 2008 04:10PM |
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.
Mitchell
Re: Sidebar April 18, 2008 01:53PM |