| View previous topic :: View next topic |
| Author |
Message |
Marco Guest
|
Posted: Mon Apr 19, 2004 3:19 pm Post subject: ToolButton question |
|
|
Hi everyone.
Is possible to disable the popup's row in a toolbutton if it hasn't a popup menu?---------
| Quote: | | |
|^|
| |
--------- |
Thanks in advanced.
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Mon Apr 19, 2004 7:29 pm Post subject: Re: ToolButton question |
|
|
"Marco" <mliorni (AT) libero (DOT) it> wrote:
| Quote: | Is possible to disable the popup's row in a toolbutton if it
hasn't a popup menu?
|
Please elaborate.
~ JD
|
|
| Back to top |
|
 |
Marco Guest
|
Posted: Tue Apr 20, 2004 7:07 am Post subject: Re: ToolButton question |
|
|
| Quote: |
Please elaborate.
~ JD
|
I've a toolbar with twelve toolbutton in dropdown style, some of this toolbuttons have a popup menu associated. I'd like to show the button's arrow like disable text (color = inactivetext) if the toolbutton's haven't a popup menu associated.
I hope i'm clearly.
Best regards.
|
|
| Back to top |
|
 |
JD Guest
|
Posted: Tue Apr 20, 2004 9:09 am Post subject: Re: ToolButton question |
|
|
"Marco" <mliorni (AT) libero (DOT) it> wrote:
Please wrap your lines when you post. Your editor may visually wrap them but you need to enter a hard return at the end of each line or the post will look like this does.
| Quote: | [...] I'd like to show the button's arrow like disable text
(color = inactivetext) if the toolbutton's haven't a popup
menu associated.
|
The only way that I could do it was to disable the entire button. Another option would be to add an image to the ToolBar's ImageList with the same glyph but also with the grayed down arrow. Then change the buttons ImageIndex and set it's style to tbsButton so that it looks like tbsDropDown with a disabled dropdown.
~ JD
|
|
| Back to top |
|
 |
Marco mliornilibero.it Guest
|
Posted: Tue Apr 20, 2004 9:47 am Post subject: Re: ToolButton question |
|
|
| Quote: | The only way that I could do it was to disable the entire >button. Another option would be to add an image to the >ToolBar's ImageList with the same glyph but also with the >grayed down arrow. Then change the buttons ImageIndex and set >it's style to tbsButton so that it looks like tbsDropDown >with a disabled dropdown.
~ JD
|
Sorry.
Thanks JD.
|
|
| Back to top |
|
 |
|