#Region Shared Files
#CustomBuildAction: folders ready, %WINDIR%\System32\Robocopy.exe,"..\..\Shared Files" "..\Files"
'Ctrl + click to sync files: ide://run?file=%WINDIR%\System32\Robocopy.exe&args=..\..\Shared+Files&args=..\Files&FilesSync=True
#End Region
'Ctrl + click to export as zip: ide://run?File=%B4X%\Zipper.jar&Args=Project.zip
Sub Class_Globals
Private Root As B4XView
Private xui As XUI
Private Label1 As Label
Dim fPippo As B4XFont
Private TextField1 As TextField
End Sub
Public Sub Initialize
' B4XPages.GetManager.LogEvents = True
End Sub
'This event will be called once, before the page becomes visible.
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
Dim fx As JFX
fPippo=xui.CreateFont(fx.LoadFont(File.DirAssets,"MAGIC.TTF",15),15)
TextField1.As(B4XView).Font=fPippo
Label1.As(B4XView).Font=fPippo
End Sub
'You can see the list of page related events in the B4XPagesManager object. The event name is B4XPage.
Private Sub TextField1_TextChanged (Old As String, New As String)
Label1.Text=New
End Sub