Android Question Flexible Table old version

Sergey_New

Well-Known Member
Licensed User
Longtime User
I am using the old version:
B4X:
B4A=true
Group=MyProject\Classes
ModulesStructureVersion=1
Type=Class
Version=7.3
@EndOfDesignText@
#Region 1
#Event: CellClick
#Event: CellLongClick
#Event: HeaderClick
#Event: HeaderLongClick
#RaisesSynchronousEvents: CellClick
#RaisesSynchronousEvents: CellLongClick
#RaisesSynchronousEvents: HeaderClick
#RaisesSynchronousEvents: HeaderLongClick
...
Since I have made many changes to this version, I ask you to help me find the original version and examples that were previously published with this version.
This is necessary to translate my application to B4XPages.
P.S. Version from around 2017
 
Last edited:

klaus

Expert
Licensed User
Longtime User
Which version are you looking for ?
The version number is on top of the class.
Is it version 1.44, which is the last version before it became a custom view.
This file is still in the Flexible Table thread.
Anyway, if you know the number, i still have the old versions.
 
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
Here it is.
The error occurred at line: 840
If HeaderWidths(col) > ColumnWidths(col) Then Or HeaderWidths(col) > ColumnWidths(col)
I am using minSdkVersion="5" targetSdkVersion="29", B4A v. 13.30(64 bit)
What should I fix?
 
Last edited:
Upvote 0

Sergey_New

Well-Known Member
Licensed User
Longtime User
but without seeing your code
The error occurs in the example you gave. I did not add anything of my own. It occurs immediately after opening the example, I did not run the compilation.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
The error occurred at line: 840
If HeaderWidths(col) > ColumnWidths(col) Then Or HeaderWidths(col) > ColumnWidths(col)
I am using minSdkVersion="5" targetSdkVersion="29", B4A v. 13.30(64 bit)
What should I fix?
Remove this bold code. it should be like this. you can easily find this code in new version
B4X:
            If HeaderWidths(col) > ColumnWidths(col)  Then
                Change = 1
                ColumnWidths(col) = Max(HeaderWidths(col), ColumnWidths(col))
            Else If ColumnWidths(col) > HeaderWidths(col) And ColumnWidths(col) > DataWidths(col) Then
                Change = 1
                ColumnWidths(col) = Max(HeaderWidths(col), DataWidths(col))
            End If
 
Last edited:
Upvote 0
Top