|
-
Nov 3rd, 2002, 04:07 PM
#1
Thread Starter
Frenzied Member
ToolTipText Question
Hmmm.. Guys... Is there a way I can make the tooltip have a line feed instead of getting something like this:
Hello || My name is Tec-Nico
Intead I want it to appear like:
Hello
My name is Tec-Nico
So... Is there a way to do this?
Thanks in advance
We miss you, friend...  Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
-
Nov 3rd, 2002, 04:15 PM
#2
Hyperactive Member
Not in traditional way (Command1.ToolTipText = "hello" & vbNewLine & "world"), but you can create a multiline textbox (or label but with label set borderstyle to fixed single, autosize to true), set it's appearance to flat and backcolor to &H80000018& (tooltip color) and make it act as a tooltiptext. Problem with label is it isn't an object so objects (commandbutton, textbox, etc) will be ontop of the label. There are ways around this problem of course.
Last edited by Dmitri K; Nov 3rd, 2002 at 04:19 PM.
-
Nov 3rd, 2002, 04:17 PM
#3
PowerPoster
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Nov 3rd, 2002, 04:19 PM
#4
PowerPoster
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Nov 3rd, 2002, 04:21 PM
#5
Thread Starter
Frenzied Member
I know what you mean, Dmitri K... I have done it before, but I just wanted to know if it could be done with the normal Tooltip... Yet, I am going to download the control provided by James, Well, well, well... Thanks James
We miss you, friend...  Rest in Peace, we will take care of the rest of it.
[vbcode]
On Error Me.Fault = False
[/vbcode]
- Silence is the human way to share ignorance
Tec-Nico
-
Nov 3rd, 2002, 04:22 PM
#6
PowerPoster
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Nov 3rd, 2002, 04:30 PM
#7
Hyperactive Member
James, Did you know every title you post is "Well?" Just something I noticed.
Kevin Carpenter
Currently Working in the CAOS (CA Operating System) Group
-
Nov 3rd, 2002, 04:47 PM
#8
PowerPoster
Well
Originally posted by carp
James, Did you know every title you post is "Well?" Just something I noticed.
See my signature...
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Nov 3rd, 2002, 04:55 PM
#9
Hyperactive Member
ahh, Lol. I do see now. Anywho, on XP that code from the VB link above doesnt work.
Kevin Carpenter
Currently Working in the CAOS (CA Operating System) Group
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
|