Visibility of listview

cstangor

Member
Licensed User
Longtime User
Sorry, I'm a new user having trouble understanding how to reference a listview in a class module.

If I dim the listview in the main activity, then it is not exposed to the class module.

If I pass the main listvew to the class I get this error, which I don't know how to fix:
Error description: An Activity context is required.
This class has a process context.
Adding a global "Activity object" variable will fix this issue.

If I dim the listview in the class then I don't know how to pass it back for display in the main activity.

Any help appreciated.

Thanks
 
Top