>but I tried to make a class but I saw oTooltip on Windows class is not a classdata but only a variable static !!
I think Antonio told me it was done this way for speed.
>for the dialog how I can make it ?
The easiest way is to just use the ACTION clause of the button define. If you are already using that for something else, then you could use bRClicked instead.
I think to popup the dialog whenever the mouse is over it will be more complex. There is a bMMoved codeblock, and if you use a modal dialog this might work. But if you wanted a window or non-modal dialog this would probably pop them up multiple times as the mouse was moving over the button so you would have to set a flag to keep this from happening.
Regards,
James