Getting Name of HotPicture!
Posted: Mon Sep 05, 2005 2:44 pm
Hello!
I add HotPicture to the document like this:
At OnJump event using follwing line of code I get Tag number of hot picture:
Now I want to get name constant of hot picture. because I have two kind of hot picture: Edit, Note.
I want to understand does user clicked at Edit HotPicture or Note HotPicture.
Is there a way to get name constant of hot picture?
Regards
I add HotPicture to the document like this:
Code: Select all
RVE.AddHotPictureTag('Edit', EditBMP, -1, rvvaBaseline, DM.SearchQuery.FindField('StoriesID').AsInteger);
Code: Select all
var
ItemNo: Integer;
RVData: TCustomRVFormattedData;
begin
RVE.GetJumpPointLocation(id, RVData, ItemNo);
if RVData.GetItemStyle(ItemNo) = rvsHotPicture then
ShowMessage('Picture ' + IntToStr(RVData.GetItemTag(ItemNo)));
end;
I want to understand does user clicked at Edit HotPicture or Note HotPicture.
Is there a way to get name constant of hot picture?
Regards