- This topic has 4 replies, 2 voices, and was last updated 2021-03-18 at 7:02 am by .
Viewing 4 reply threads
Viewing 4 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Konopka Signature VCL Controls (formerly Raize Components) › TRzListView infoTip firing without delay
Hello
I have a RzListView in report mode with checkboxes. I filled some lines and has soon I passe over any lines the ListView1DrawItem event is fired immediatly. Is there a way to prevent this?
Hi,
The OnDrawItem event in TRzListView is inherited from the TListView control. That is, the event is generated by the inherited behavior of the TListView (and more precisely, the TCustomListView) class. According to the Help for TListView, the OnDrawItem event only fires when CustomDraw is also set to true. You may wish to take a look at the other drawing related events such as OnAdvancedCustomDraw, OnAdvancedCustomDrawItem, etc.
Ray
Hello sorry for the error in my mesage. It’s the ListView1InfoTip event that is fired immediatly,
The TRzListView implements a slightly different hinting support originally added to provide better support for the TRzBalloonHints component. The issue was that hinting in the base TListView did not handle custom regions (as used by balloon hints).
Unfortunately, there is no property that controls that behavior. To prevent the OnInfoTip event from firing, you would have to modify the source code for the TRzListView.
Is the frequent calling of the OnInfoTip event causing an issue? What are you doing in the OnInfoTip event handler?
Ray
Since I am not using the TRzBalloonHints, I have modified the source and removed the DoHint calls and it resolved my problem.
Thanks.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Stripe is a payment processing platform that enables businesses to accept online payments securely and efficiently.
Service URL: stripe.com (opens in a new window)