Web vs Desktop app, coding syntax

Hi,
I am learning and building apps by “Introduction to Programming with Xojo” tutorial on Web platform, and I often come to errors such as following:
CODE:
Var counter As Integer
Var myFontList As String
For counter = 0 To System.FontCount - 1
myFontList = myFontList + System.FontAt(counter) + EndOfLine
Next
Me.Value = myFontList

ERROR
Type “WebListBox” has no member named “Value”
Me.Value = myFontList

Where can I see how to write functions on web app, for the functions in this tutorial for desktop app?

WebListBox uses Rows to display the information and not a single Value.

Maybe you want your code like this:

Var counter As Integer
Var myFontList As String
For counter = 0 To System.FontCount - 1
  Me.AddRow(System.FontAt(counter))
Next
1 Like

i always look (search) for the class description in online docu, Properties & Methods and Events.
https://documentation.xojo.com/

Thanks @MarkusR and @AlbertoD .
As I see, there are big differences between methods of classes in desktop vs web platform, in very favour of desktop platform.

classes looks same but there are different in name.