How to show another form?

I’m replicating a Delphi tutorial which I’ve successfully translated to Lazarus. I’m not sure what the proper syntax is for PascalABC.Net to show another form via a mouse button click-event handler. In Delphi/Lazarus, it would be name of form + ‘.Show’, making sure that the form name is listed under Uses.

Here is a Screencast if that helps visualize what I’m trying to accompllish.


Я воспроизвожу учебник по Delphi, который я успешно перевел на Lazarus. Я не уверен в правильности синтаксиса для PascalABC.Net, чтобы показать другую форму через обработчик события нажатия кнопки мыши. В Delphi/Lazarus это должно быть имя формы + ‘.Show’, при этом необходимо убедиться, что имя формы указано в разделе Uses.

Вот скринкаст, если это поможет визуализировать то, чего я пытаюсь достичь.

1 лайк

Look at how the first form is started in the main file. It’s the same process for all the forms, except you’ll need to also start a new System.Threading.Thread and launch the form from it.