I have created an object from my class “Settings” inside class “App” and I stored data inside the properties of my newly created instance. Now I want to access my properties in another class called “Window1”.
App → Event handlers → Open:
Var obj As Settings obj = New Settings For Each article as Dictionary in allArticles() obj.title.Add(article.Value("title")) obj.link.Add(article.Value("link")) obj.desc.Add(article.Value("description")) Next
Window1 → PushButton1 → Action event handler:
In the action event handler of PushButton1, I need to have access to all properties that were stored in the object before. How can I do that?
I would be very thankful if someone can help me.
Xojo is amazing, by the way!