' CODE MODULE - named LoginForm
Sub Process_Globals
Private frm As Form ' Declaration of an object variable named "frm" of type Form - Form is a "window", as in VB6
'...
Public Sub Show
If frm.IsInitialized = False Then
frm.Initialize("frm", 400, 400)
frm.RootPane.LoadLayout("Login") ' <-- Here Erel loads A layout (containing "Views" - VB6 controls) he created, voluntary named Login,
' using the Designer, generating so a .bjl file (a "layout file").
' The Login layout is loaded in a "control" (node in b4j) of type AnchorPane named RootPane,
' which is always present by defaul in every Form you create, it is the fundamental basis.
' ...