DesktopGrid With Events?

When you add a container to the desktop grid, what happens to events?

How do you tie them?

Aren’t the Events, Methods and Properties within the Container itself? What am I missing?

1 Like

You need to implement an interface the name of which escapes me and then the events show up as method. This is not really intuitive.

Hi @Brian_O_Brien

The events on Container should behave as they do when used in other scenarios.

You can take a look to the ā€œDesktopGrid With Databaseā€ example project, where events in the controls of the Container are used as part of the logic to update the data modified by the user.

1 Like

This was my thought when people asked for CellFocus events on the grid. I imagine all the spaghetti that’s going to allow people to write.

It’s an implementation of a container based scroll view, which is how scrolling had been done for years. We know how to use this already, AI doesn’t :slightly_smiling_face:

I implemented the DesktopGrid Interface but I expected 1 event definition such that the control could talk to it’s parent… but I guess you add your own… I ā€˜dislike’ tying events when embedding controls.. I always feel like there is a creeping memory leak happening.