B4J Question error WriteB4XObject

Tayfur

Well-Known Member
Licensed User
Longtime User
I seen an error when write object.
Tableview items has CHECHKBOX+Boolean +String+İntgere value each in Rows/Lines.


B4X:
Try
        TableView1.Items.Add(row)
        Dim lst As List
        lst.Initialize
        Dim r As RandomAccessFile
        lst=TableView1.Items
        r.Initialize(Main.AYAR.DirProsesad,ComboBox1.Value&".lst",False)
        r.WriteB4XObject(lst, 0)
        r.Close
        'tale rows has
        ' CheckBox + Boolean + string + integer values
    
    Catch
        fx.Msgbox(MForm,Main.AYAR.DirProsesad&"\"&ComboBox1.Value&".lst" & " DOSYA KULLANIMDA,TEKRAR DENEYİNİZ" &CRLF & LastException,"KAYIT BAŞARISIZ")
        Log (LastException)
        Return
    End Try



 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…