In Delphi, when the mouse moves to the label, the font will appear under the underline, mouse, underline disappear,
CodePudding user response:
Procedure TForm1. Label1MouseEnter (Sender: TObject); The begin Label1. The Font. Style:=[fsUnderline]; end;
Procedure TForm1. Label1MouseLeave (Sender: TObject); The begin Label1. The Font. Style:=[]; end;
CodePudding user response:
Thank you,, Delphi, the mainmenu is always in the top of the window, I think at the bottom of the window set a line similar to the mainmenu button, how to achieve?