Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Resize column event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resize column event

 Post Reply Post Reply
Author
Message
JamesH View Drop Down
Senior Member
Senior Member


Joined: 01 December 2004
Status: Offline
Points: 147
Post Options Post Options   Thanks (0) Thanks(0)   Quote JamesH Quote  Post ReplyReply Direct Link To This Post Topic: Resize column event
    Posted: 26 September 2008 at 7:01pm
Hello, I would like to display strings formatted differently depending on the column width.  How do I tell when a column has been resized so I can reformat the strings in that column?
 
Thanks,
- James
Back to Top
ijwelch View Drop Down
Senior Member
Senior Member


Joined: 20 June 2006
Status: Offline
Points: 262
Post Options Post Options   Thanks (0) Thanks(0)   Quote ijwelch Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2008 at 11:21pm
There's a ColumnWidthChanged event according to the docs. But you will probably find this doesn't help you.

Try using the BeforeDrawRow event which allows you to change the text and appearance of any 'cell' before it's painted.

The DrawItem event provides more low-level custom drawing .

To have these events fired you'll need to use the SetCustomDraw method.


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.