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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Know wich is the object on OnPresentMeasure event
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

c.basso

Italy
36 Posts

Posted - Jan 30 2017 :  12:17:15  Show Profile  Reply
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

xequte

38615 Posts

Posted - Feb 01 2017 :  01:52:44  Show Profile  Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: