|
The same ToolTip concept do exist in Windows Applications as well but the implementation is a little different.
If you performed the same steps we mentioned in the Web Application above, you will be faced by a strange fact: Controls in Windows applications have no ToolTip property! But to be more precise, we have to say: Controls in Windows applications have no ToolTip property by default. In other words you need to provide these controls by the ToolTip property before you can actually take it's benefits and this can be simply performed by adding a ToolTip component to your form. Let's try it ourselves:
From your toolbox get a ToolTip component and drop it into your form as shown in the following figure.
 |
|
Figure 3 |
This way, and after adding this component you will notice that your button (and typically any other control) has it's ToolTip property added but with a slightly different name: 'ToolTip on ToolTip1'
You know what to do next, simply proceed as we did in the above Web Application then run / test your Windows Application.
|