I assumed that by at least posting screenshots of the ‘code’ that would do enough, but obviously not. Is there a doc that explains in what order Xojo actually runs code? (Event Handlers, etc, etc. I have no idea what I’m talking about here so any help is appreciated)
Since it APPEARS that the errors are listed from the bottom to the top in the Errors list, can I assume that the parts of code at the bottom of the Errors list are happening first and therefore need to be resolved first? If so, the FontListBox control has two Events associated with it, Change and Open. If again, I assume that they are run in the order that they are listed, than I can skip ‘Change’ since I don’t see any errors and see that there are two errors listed in the ‘Open’ Event, so here’s that code:
[code] Dim counter, myFontCount As Integer
myFontCount = FontCount
For counter = 0 To myFontCount -1
Me.AddRow(Font(Counter))
Next[/code]
The two errors in that code state,
'Redefined identifier. This name is already defined by variable Counter (Dim Counter, myFontCount As Integer'
and
Type "TextField" has not member named "AddRow" Me.AddRow(Font(Counter)).
Incidentally, is there any way to copy errors to clipboard so I don’t have to type them out?
Anyway, the first error I’m at a loss at since I’m still not too familiar with Xojo, but the second error is what has me confused the most. The Me.AddRow object is clearly listed as a ListBox and not a TextField in the Inspector and even given my extremely limited knowledge of Methods in Xojo, the FontListBox Control is a ListBox and not a TextField as referenced in the Inspector.
Edit: Oops, I marked my response as an answer and I have no idea how to undo that, oh well.