I tried and tried, but cannot get the value of a DesktopPopupMenu object written to my database, because I cannot find the correct member of this object.
In a PopupMenu it’s a .text member, but what is it in a DesktopPopupMenu?
it is SelectedRowValue
Thanks! I would never have guessed that. More complicated than a simple .text member.
1 Like
For some reason Xojo thinks that making the language 5x more verbose somehow makes it “easier”, e.g. ListBox.Cell(x,y) (I never heard of anyone, ever, having difficulty with that syntax) just had to become DesktopListBox.CellValueAt(x,y).
2 Likes
Well without starting an API 2 vs 1 war, you can add me to the like the new way. Surely cell should return a cell object with properties like text attributes etc. The new formats are consistent across the controls, which isn’t something you can say about the old ones.
1 Like