ivanomonti Expert Licensed User Longtime User Apr 10, 2015 #1 B4X: l1.Initialize("L1") l1.Text = "IVANO MONTI DEVELOPER" l1.Style = "-fx-Font-size: 18px; -fx-Font-weight: bold; -fx-text-fill: #333333; -fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 );" InfoForm.RootPane.AddNode(l1,l,t,w,h) result = null
B4X: l1.Initialize("L1") l1.Text = "IVANO MONTI DEVELOPER" l1.Style = "-fx-Font-size: 18px; -fx-Font-weight: bold; -fx-text-fill: #333333; -fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 );" InfoForm.RootPane.AddNode(l1,l,t,w,h) result = null
ivanomonti Expert Licensed User Longtime User Apr 10, 2015 #2 mmmm this problem it reflected only on debug! Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Apr 12, 2015 #3 Works here: B4X: Sub AppStart (Form1 As Form, Args() As String) MainForm = Form1 Dim l1 As Label l1.Initialize("L1") l1.Text = "IVANO MONTI DEVELOPER" l1.Style = "-fx-Font-size: 18px; -fx-Font-weight: bold; -fx-text-fill: #333333; -fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 );" MainForm.RootPane.AddNode(l1, 0, 0, 100, 100) MainForm.Show End Sub Upvote 0
Works here: B4X: Sub AppStart (Form1 As Form, Args() As String) MainForm = Form1 Dim l1 As Label l1.Initialize("L1") l1.Text = "IVANO MONTI DEVELOPER" l1.Style = "-fx-Font-size: 18px; -fx-Font-weight: bold; -fx-text-fill: #333333; -fx-effect: dropshadow( gaussian , rgba(255,255,255,0.5) , 0,0,0,1 );" MainForm.RootPane.AddNode(l1, 0, 0, 100, 100) MainForm.Show End Sub