DataGrid REALbasic Plugin

DataGridPicture.InnerObjectPtr Property

Obtains the Inner Object for the DataGridPicture 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 picture object, that is you can assign the inner object of a DataGridPicture 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.

InnerObjectPtr as Integer

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

DataGridPicture Class