I have This Code to Display a Form:
if not assigned(MyForm) then
MyForm := TMyForm.Create(Application);
When the program compiles, it says that it 'Cannot make a visible window modal.' I don't even have to use the ShowModal part for the form to show but I don't want the user to do anything until this form is closed.
Also, I have a Statusbar on a form and I want to display a different text when the mouse moves over different somponents. I know I have to use on OnMouseMove event handler but I don't know how to set/change the text on the statusbar.
0 · ·