Sender.Tag and 64 bit

Jo3Jo3
edited 4:58PM in FastReport 4.0
I try to use the Sender.Tag in an OnAfterPrint Event (C++ Builder XE4)


If I compile and run this code in a c++ script for 32 bit Windwos it works, under 64 bit I get the message:

"Could not convert variant of type (Null) into type (integer)."

It seems that Sender.Tag is not available under 64 bit!? It is always Null.

void Header1OnAfterPrint(TfrxComponent Sender)
{
int tag = Sender.Tag;
}

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.