Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Disable a button on a button menu

Thread Tools Display Modes
Old 11-13-2003, 03:07 PM
lowfreq lowfreq is offline
Join Date: Oct 2001
Posts: 151
Default Disable a button on a button menu

I know this is simple, but I can't figure it out..how do you disable a button on a button menu programmatically?
Reply With Quote
Old 11-13-2003, 03:29 PM
PlenoJure's Avatar
PlenoJure PlenoJure is offline
'With Full Right'

Retired Moderator
* Guru *
Join Date: Jun 2003
Posts: 1,880

Have you tried this:
mnuMyMenuItem.Enabled = False

-- Please use [vb][/vb] tags for code | Posting Guidelines | Please check the MSDN and Search before posting
-- Other Sites: Did you search Google first? | My Blog
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Button to Titlebar alehawk General 0 08-29-2003 11:12 AM
VB5 Listbox & Popup Menu alehawk General 3 07-08-2003 02:19 PM
Few Questions dealing with pictures crazycheetah General 21 06-17-2002 11:08 PM
VB Menus John General 8 02-05-2002 10:31 AM
Disable the Start Menu in the keyboard yammy API 1 08-28-2000 10:21 AM


Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..