Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3677

I had a strange meeting earlier today: Inconsistentcy

$
0
0

I started to add a string to the header, then in a loop, I populated the DesktopListBox.
I get tons of errors. Since the AddRowAt error was obvious, I removed the error there (after reading the documentation).
Then, I go to fight the Header line and had hard time until I go to the documentation… Syntax below:

AddRowAt row As Integer, text As String, depth As Integer = 0

HeaderAt index As Integer String
index As Integer, Assigns value As String

Real used code:

// Add a string in the Header
wBilly.LB.HeaderAt(0) = My_Data(0)

// Add a Row
wBilly.LB.AddRowAt(Read_Index, My_Data(Read_Index))

Hint of my error in the HeaderAt line: I do not added a ‘=’ sign…
My wrong code was:

wBilly.LB.HeaderAt(0, My_Data(0))

There are no fun to read the documentation for each and every line I wrote…
And I do not talked about the scroll in the documentation to get the correct entry.

I am retired, yes, but this is clearly a waste of time. It is SAD (instead of RAD).

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3677

Trending Articles