Hi Carlos, great work as usual!
I think I've found a bug in the class. I'm calling it from my form's save method to display a validation error and it scrolls up the display of the form. Here's the code I'm using (taken from one of the class sample forms)
This.LockScreen=.t.
This.txtCuenta.SetFocus
Thisform.ctl32_balloontip1._AutoPosition = 1
Thisform.ctl32_balloontip1._HideDelay = 5000
Thisform.ctl32_balloontip1._CapsLockTip = 0
Thisform.ctl32_balloontip1._TipIcon = 3
Thisform.ctl32_balloontip1._TipTitle = "Error!"
Thisform.ctl32_balloontip1._TipText = "Cuenta Del Cliente NO Puede Estar En Blanco"
Thisform.ctl32_balloontip1._Visible = 1
Thisform.Refresh
This.LockScreen= .F.
RETURN 0
Check the inline comment. If I remove that line, then the form displays correctly.
Enmanuel
>I have just finished a beta version of a balloontip class, that can display native Windows common controls balloontips as well as the Caps Lock warning for password textboxes.
>
>It works on Windows 98, 2000, XP, and Vista
>
>I need volunteers to test it out and report on problems, errors, etc. No documentation yet, but code is simple.
>
>If anyone would like to add the Caps Lock warning in another language other than english and spanish, check the ctl32_SetLocaleStrings procedure. Please send me text in other languages, thanks.
>
>Download and pictures here:
http://www.goyanet.com.ar/vfp/ctl32_balloontip/balloontip.htm>
>Carlos
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain