In Delphi I would create a class or structure and store a pointer to it in the Tag property of components. With the cross platform when I cast pointers to integers I get "not portable" messages.
What is the correct cross platform way to store a pointer to a class or structure in a LCL component?
Thanks,
Jim