[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

HAve multi lines on Control tips on Outlook form controls..

Is it possible to have multi lines on Control tips on Outlook form controls?  At the moment, if the line of text is longer that the width of the page, teh end of line is missing.  IS there a way of wraapng the text?  The native Outlook control tips already there seem to do it, but I dont seem to be able to get it to work with the control tips of the controls when customsing Outlook forms...any ideas?

  • 2
1 Solution
No...however there is a walk around.
Use TagTips and get the same effect.
'create multil line tag tips...same use as tool tips except
'that with tool tips you are restricted to one line..
'with tag tips you get multiline
'remember to set the height and width of your label to fit your
'this example uses a command button (command1) & a label (label1)
'on mouse over the command button the tool tag is displayed
Private Sub Form_Load()
   Label1.BackStyle = 0    'or 1 and set the backcolor to tooltip color
   Label1.Visible = False
End Sub

Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
     Dim msg$
     msg$ = "Tag tips for the beginner." & vbCrLf
     msg$ = msg$ & "Multil Line Tag Tips Made Easy" & vbCrLf
     msg$ = msg$ & "Think of the possibilities!"
     Command1.Tag = msg$

     Label1.Caption = Command1.Tag
     Label1.Top = Command1.Top + Command1.Height
     Label1.Left = Command1.Left + Command1.Width / 2
     Label1.Visible = True
End Sub

Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
   Label1.Visible = False
End Sub

MXTAYLORAuthor Commented:
Thanks Juliette,

But Outlook form controls do not have a mouse move event, so I can't use that idaea unless I replace all my controls with ActiveX controls (not really an option).
Then, I think you are up the creek without a paddle....hope someone else can do something but because tooltips uses a textbox (not multiline) and unless you can walk around you can't do it.


Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now