DataGrid REALbasic Plugin

DataGridStyle.InnerObjectPtr Property

Obtains the Inner Object for the DataGridStyle Object.

InnerObjectPtr as Integer {Read}


The purpose of this is to allow binary compatible versions of DataGrid and StyleGrid to be able to share the same style object, that is you can assign the inner object of a DataGridStyle to a StyleGridCell.

As noted above then this is advanced feature, and you are responsible for not assigning rubbish integer pointer to it if you use it.

You may not store inner object pointers in any kind of variables or arrays because they might not be valid once they use it, that is if their actual objects lifetime has ended when putting them to use. Always only use the Inner Object pointers right after you get them.

See Also

DataGridStyle Class