ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Know wich is the object on OnPresentMeasure event

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
c.basso Posted - Jan 30 2017 : 12:17:15
Hi,
need to customize text shown on iekRULER objects.
We are trying to use OnPresentMeasure,
but it has only these arguments:
(Sender: TObject; var Text: string; Value: double; ValType: TIEVValType)

How can we detect wich is the ruler associated with that data?
We need to obtain the HObj of the ruler that fires this event.

Thanks

Claudio
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Feb 01 2017 : 01:52:44
Hi Claudio

Unfortunately when OnPresentMeasure is called it is not possible to know the specific ruler, because the event it used not just for drawing but also hint generation.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com