|
-
Jan 28th, 2004, 07:50 AM
#1
Thread Starter
Fanatic Member
-
Jan 28th, 2004, 08:14 AM
#2
Got example code to use with it??
I'm trying:
Balloon1.ShowMessage Text1.Text, Exclamation, "Text1"
-
Jan 28th, 2004, 08:26 AM
#3
Thread Starter
Fanatic Member
Yes, sample code's attached. You should open Group1 instead of the control. Then run Project2. The problem is only encountered with text that needs at least two lines.
Author for Visual Basic Web Magazine
-
Jan 28th, 2004, 08:30 AM
#4
Originally posted by TheVader
Yes, sample code's attached. You should open Group1 instead of the control. Then run Project2. The problem is only encountered with text that needs at least two lines.
Well D'oh!
Brb.
-
Jan 28th, 2004, 12:13 PM
#5
Thread Starter
Fanatic Member
-
Jan 28th, 2004, 04:28 PM
#6
-
Jan 28th, 2004, 05:43 PM
#7
Thread Starter
Fanatic Member
For fun and practicing. And I don't like to use controls I haven't written myself.
This can't bee too difficult... :S The tip is showing fine once, so mainly only the properties should have to be reset to the default values and it would work over and over...
Author for Visual Basic Web Magazine
-
Jan 28th, 2004, 11:11 PM
#8
Originally posted by TheVader
For fun and practicing. And I don't like to use controls I haven't written myself.
This can't bee too difficult... :S The tip is showing fine once, so mainly only the properties should have to be reset to the default values and it would work over and over...
I didn't look at it too much, but I think there's a problem with the way you're setting the autosize/wordwrap properties at different points in your code.
Is it necessary to do it in the HideMessage method??
Also, I think this needs a look at:
VB Code:
Private Sub UserControl_Resize()
shpBalloon.Width = UserControl.Width
shpBalloon.Height = UserControl.Height
lblCaption.Width = UserControl.Width - 650
lblCaption.Height = UserControl.Height - 240
End Sub
Because if you play around with the autosize values, the 3rd line above causes it to shrink.
But as I said, I didn't take much of a look at it. SOz.
-
Jan 29th, 2004, 08:15 AM
#9
Thread Starter
Fanatic Member
Thanks, it was indeed the resizing. In the HideMessage sub I added some code to reset the control to its original size. That did it.
Author for Visual Basic Web Magazine
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
|