B4J Question jGauges Tag not work

rtek1000

Active Member
Licensed User
Longtime User
Please check why the "tag" of jgauges does not work, thanks

https://www.b4x.com/android/forum/threads/jgauges.70538/

B4X:
#Region Project Attributes
    #MainFormWidth: 600
    #MainFormHeight: 600
#End Region

Sub Process_Globals
    Private fx As JFX
    Private MainForm As Form
   
    Private Gauge1 As Gauge
    Private Button1 As Button
    Private Canvas1 As Canvas
    Private CheckBox1 As CheckBox
End Sub

Sub AppStart (Form1 As Form, Args() As String)
    MainForm = Form1
    MainForm.RootPane.LoadLayout("1") 'Load the layout file.
    MainForm.Show
   
    Log("Gauge1: " & Gauge1.Tag)
    Log("Button1: " & Button1.Tag)
    Log("Canvas1: " & Canvas1.Tag)
    Log("CheckBox1: " & CheckBox1.Tag)
   
End Sub

'Return true to allow the default exceptions handler to handle the uncaught exception.
Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
    Return True
End Sub
 

Attachments

  • Gauge_tag.zip
    2.3 KB · Views: 382
Top