I am currently having an issue.

I am trying to use a form (in this case, Form18) as a tooltip of a custom control that I've made, ironically called Button.

I want the tooltip (form) to display right above the button when mouse hovers over it. However, the form must be centered compared to the button, and must be right above the button.

I've tried this:

[CODE=vb]
Form18.Left = (Me.Left + Me.Width / 2) - ((Form18.Width / 2) - (Me.Width / 2))
Form18.Top = (Form18.Height) - Me.Top
[/CODE]

However, that doesn't quite pull out the same result as I expected. My calculations are probably even wrong, but I've tried for several hours now, not getting this to work at all.