|
-
Jun 18th, 2003, 07:16 AM
#1
Thread Starter
Addicted Member
Change colour of menu item
Hello,
In VB6 I have a normal form with a menu on it (created with the menu editor).
This works fine so no problem there.
What I want to do is change the colour of the text or background of a specific menu item (depending on some checks I perform)
So imagine I have the following menu structure:
<File><New><Blank>
Now if the user has no rights to create a new file, I want the <New> tag to have a red background colour or the text in red.
Invisible or disabled are not an option because the user must be able to click it anyway (he has to be prompted with a message or so after clicking an 'invalid' menu item)
How can I do this with a normal menu?
If ot is not possible, are there other components I can use?
Thanks for your time and your help!
Christophe
I do not have a specific statement...
so I will use one of my wife
Veni, Vidi, Visa ... I came, I saw, I shopped

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|