TRVChat.OnClickFile

<< Click to display table of contents >>

TRVChat.OnClickFile

Occurs while the user clicks on a file attached to a message.

type

  TRVClickFileEvent = procedure (Sender: TRVChat;

    Msg: TRVChatMessage; FileIndex: Integer)

    of object;
 
property OnClickFile: TRVClickFileEvent;

You can get information about the clicked file using Msg.Files[FileIndex].