PC Review


Reply
Thread Tools Rate Thread

Cannot remove toolbar ...

 
 
JustMe
Guest
Posts: n/a
 
      5th Nov 2003
Hi ...

I have a tabcontrol on my form. When the user clicks on tabpage1, I need to
show a toolbar. This works fine. When the user clicks on tabpage2, I need
to hide the toolbar, and replace it with a menu.

No matter what I try, I cannot get the toolbar to disappear.

I've tried all of the following:

toolbar1.hide
toolbar1.visible=false
me.controls.remove(toolbar1)
toolbar1.dispose
me.menu = nothing

Am I missing something obvious?

Thanks in advance.
--Terry


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003


 
Reply With Quote
 
 
 
 
JustMe
Guest
Posts: n/a
 
      5th Nov 2003
Sorry. False alarm.

The following code did work after all.

me.controls.remove(toolbar1)

--Terry

"JustMe" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi ...
>
> I have a tabcontrol on my form. When the user clicks on tabpage1, I need

to
> show a toolbar. This works fine. When the user clicks on tabpage2, I

need
> to hide the toolbar, and replace it with a menu.
>
> No matter what I try, I cannot get the toolbar to disappear.
>
> I've tried all of the following:
>
> toolbar1.hide
> toolbar1.visible=false
> me.controls.remove(toolbar1)
> toolbar1.dispose
> me.menu = nothing
>
> Am I missing something obvious?
>
> Thanks in advance.
> --Terry
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003
>
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't remove explorer menu bar after install/remove Live Search Club toolbar Robert Firth Windows Vista General Discussion 2 8th Aug 2007 10:07 AM
Can't remove MSN toolbar for Live toolbar install. Derek Scuteri Windows XP Help 0 31st Oct 2006 04:19 PM
Remove a third party (PDF) toolbar item from Outlook's Untitled message toolbar SBCM Microsoft Outlook 1 14th Apr 2004 08:15 PM
Custom toolbar - remove toolbar options? Harmannus Microsoft Access Forms 3 13th Nov 2003 05:28 AM
Custom toolbar - remove toolbar options? Harmannus Microsoft Access Reports 0 11th Nov 2003 04:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:27 AM.