|
From: mhd2100 on 31 Jan 2005 08:18 How do you change ToolTip display font size? I'm interested in learing how to make the tooltip font size larger. I think if I can change the size of the tooltip font I should be able to achieve this purpose. But how???
From: Ivar on 31 Jan 2005 15:39 The tooltip font size, Name, Colour, Type etc is a windows user setting. I don't think it can be set by VB. Or at least I've never seen it. "mhd2100" <mhd_khatib(a)hotmail.com> wrote in message news:5ccb9b960072c75c426bed4e27d0b231(a)localhost.talkaboutprogramming.com... > How do you change ToolTip display font size? > I'm interested in learing how to make the tooltip font size larger. I > think if I can change the size of the > tooltip font I should be able to achieve this purpose. But how??? > > >
From: Jim Y on 2 Feb 2005 15:54 "mhd2100" <mhd_khatib(a)hotmail.com> wrote in message news:5ccb9b960072c75c426bed4e27d0b231(a)localhost.talkaboutprogramming.com... > How do you change ToolTip display font size? > I'm interested in learing how to make the tooltip font size larger. I > think if I can change the size of the > tooltip font I should be able to achieve this purpose. But how??? > > I have not tried this myself, but on page 655 of "Visual Basic 6 from the Ground Up" by Gary Cornell is tip: "You can use the MouseMove event to add tooltips to a control that doesn't have a ToolTipText property. All you have to do is make an invisible label with the correct caption become visible in the correct location. When the mouse moves off the tool, set the label Visible property to False in the MouseMove event of all the other controls and of the form itself." It is an optional way to create a ToolTip to your liking. If you try it, I would like to know the results. Jim Y
From: Jim Y on 2 Feb 2005 18:13 "Jim Y" <j.s.yablonsky(a)NOSPAM.att.net> wrote in message news:V5bMd.6888$xR1.3118(a)bgtnsc04-news.ops.worldnet.att.net... > > "mhd2100" <mhd_khatib(a)hotmail.com> wrote in message > news:5ccb9b960072c75c426bed4e27d0b231(a)localhost.talkaboutprogramming.com... >> How do you change ToolTip display font size? >> I'm interested in learing how to make the tooltip font size larger. I >> think if I can change the size of the >> tooltip font I should be able to achieve this purpose. But how??? >> >> > I have not tried this myself, but on page 655 of "Visual Basic 6 from the Ground Up" by Gary > Cornell is tip: > > "You can use the MouseMove event to add tooltips to a control that doesn't have a ToolTipText > property. All you have to do is make an invisible label with the correct caption become visible > in the correct location. When the mouse moves off the tool, set the label Visible property to > False in the MouseMove event of all the other controls and of the form itself." > > It is an optional way to create a ToolTip to your liking. > > If you try it, I would like to know the results. > > Jim Y > > I tried this, but it does not quite work. I have not figured out how to get it to work on the object. Right now, it works on an area of the form only. Public Sub form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) 'If (X > 7210) And (X < 9740) And (Y > 1810) And (Y < 2090) Then 'actual location of picture If (X > 6950) And (X < 7200) And (Y > 1810) And (Y < 2090) Then Label3.Visible = True Else Label3.Visible = False End If End Sub
From: Jim Y on 2 Feb 2005 18:39 "Jim Y" <j.s.yablonsky(a)NOSPAM.att.net> wrote in message news:V5bMd.6888$xR1.3118(a)bgtnsc04-news.ops.worldnet.att.net... > > "mhd2100" <mhd_khatib(a)hotmail.com> wrote in message > news:5ccb9b960072c75c426bed4e27d0b231(a)localhost.talkaboutprogramming.com... >> How do you change ToolTip display font size? >> I'm interested in learing how to make the tooltip font size larger. I >> think if I can change the size of the >> tooltip font I should be able to achieve this purpose. But how??? >> >> > I have not tried this myself, but on page 655 of "Visual Basic 6 from the Ground Up" by Gary > Cornell is tip: > > "You can use the MouseMove event to add tooltips to a control that doesn't have a ToolTipText > property. All you have to do is make an invisible label with the correct caption become visible > in the correct location. When the mouse moves off the tool, set the label Visible property to > False in the MouseMove event of all the other controls and of the form itself." > > It is an optional way to create a ToolTip to your liking. > > If you try it, I would like to know the results. > > Jim Y > This worked. Picture2 is a "button" on my test program. and I can make the "Tool Tip" use any font, any font size or color. The Picture2 size is 750 x 300. Private Sub Picture2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) If (X > 0) And (X < 750) And (Y > 0) And (Y < 300) Then Label3.Visible = True Else Label3.Visible = False End If End Sub
|
Pages: 1 Prev: neopets cheat no passsword needed Next: NEOPOINT GENERATOR |