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

DesktopPopUpMenu AddRow

$
0
0

XOJO 24r3 / Windows 11
I’m converting my app to API2 Desktop.
I converted a PopupMenu to a DesktopPopUpMenu.
In my code cbo1 is a DesktopPopUpMenu and sourceStyle is a Collection.

For i = 1 To sourceStyle.Count
  cbo1.AddRow sourceStyle.Item(i)
  cbo1.RowTagAt(i-1) = sourceStyle.Key(i)
Next

What do I wrong ? How to solve this ?
The error I get is - There is more than one method with this name but this does not match any of the available signatures.

Regards
Etienne

9 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 3768

Trending Articles