Yes, the property is called Hint in Delphi but it is the same thing.
You will need to set the ShowHint property for the button or for the form, dependiing on how you want things to behave. Controls have a ParentShowHint property to control whether the control follows their parents ShowHint setting or their own.
Also note that you can have a brief hint displayed at the button (or other control) and a longer hint displayed elsewhere - like in a status bar. Try this:
Start a new project.
Add a button and a status bar.
Set the hint property for the button to be:
Short hint|More detailed explanation
Set the ShowHint property for the form to TRUE.
In the form's onCreate event put:
procedure TForm3.FormCreate(Sender: TObject);
Application.OnHint := ApplicationHint;
Then add an ApplicationHint method:
procedure TForm3.ApplicationHint(Sender: TObject);
Statusbar1.SimpleText := GetLongHint(Application.Hint);
Now when you put the mouse over the button you should get a short hint at the button and a longer message in the statusbar.
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...