You're almost there, thanks to Borislav and Mike.
I'll just want to show it visually:
If your first project file i the form, then it becomes bold, like this, right?
Now you likely searched and found threads telling of a main.prg, so you created one, right?
The secret is neither the bolding nor the name, the bolding tells what in the project is main, but the way to set it is using context menus.
Context menus are underrated if not even known, and if you tell a strict keyboard user to use the mouse rightclick you even get fierce responses, while there also is a key one or two keys right of the spacebar that's the context menu key.
In short, here's that screenshot:
That's what you use. Or you go into the project menu...
Anyway you do it, you see now the prg is bold and the scx isn't anymore:
And now welcome to the usage of a main.prg. Everybody talks about this, nobody uses anything else as main project file. It's our C legacy.
And just by the way, you can also receive parameters that can be passed as command line parameters to your exe, simply by adding LPARAMETERS in the main.prg first line. Then what's good is establishing what should happen in the event of errors with ON ERROR. And when you have READ EVENTS, also somewhere users can cause CLEAR EVENTS. For example in the main.scx destroy or as a manu item for quitting the application.
Chriss