Re: How do I display a ControlTip for a disabled control
- From: Dave Peterson <petersod@xxxxxxxxxxxxxxxx>
- Date: Wed, 07 Dec 2005 08:36:27 -0600
Like on a userform?
How about just having the thing that disables the control also change the
tooltip.
Option Explicit
Private Sub CommandButton2_Click()
With Me.CommandButton1
.ControlTipText = ""
.Enabled = False
End With
End Sub
Private Sub UserForm_Initialize()
With Me.CommandButton1
.ControlTipText = "hi there"
.Enabled = True
End With
End Sub
And the thing that enables the control would set the tooltip back.
Ken Soenen wrote:
>
> Is there any way I can display the Control Tip for a control that is
> disabled?
>
> thanks
--
Dave Peterson
.
- Follow-Ups:
- Re: How do I display a ControlTip for a disabled control
- From: Ken Soenen
- Re: How do I display a ControlTip for a disabled control
- References:
- How do I display a ControlTip for a disabled control
- From: Ken Soenen
- How do I display a ControlTip for a disabled control
- Prev by Date: Syntax with "IF" statement...
- Next by Date: Re: Which Control has the Focus??
- Previous by thread: How do I display a ControlTip for a disabled control
- Next by thread: Re: How do I display a ControlTip for a disabled control
- Index(es):