Deprecated Property...
 
Notifications
Clear all

Deprecated Property Names in Dataview when replacing a Listbox

1 Posts
2 Users
0 Likes
73 Views
0
Topic starter

I tried to replace a listbox in my app with DataView. I ended up with hundreds of errors from property names that were deprecated in Xojo 2019r2, and dozens of other errors from new properties introduced in 2019r2 that are not in DataView.

After replacing all the current property names with deprecated ones, Dataview works. However, The Big Undo that worked fine with the Listbox does works with the DataView that replaced the listbox. Undoing does not change the state of the DataView.

 

Will there be an update for DataView so it works with the latest version of Xojo and The Big Undo?

1 Answer
0

I'd been planning to create a subclass for api2 that will work as a drop-in for desktoplistbox but was waiting for the API to stabilize. It seems like now is a good time to get that finished.

I will look at what it will take to add the undo functionality. The problem is that there are so many different possible uses for dataview that a general undo functionality could break some use cases. I'll see if I can work out a good way to manage the undos but still give the developer control of how/when undo works.