Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Strange ListView behaviour
Miscellaneous
Thread ID:
01175169
Message ID:
01175169
Views:
68
Hello All, I have my own customised ListView which calls a method InitializeListView() (shown below) from it's constructor
private void InitializeListView()
{
    ColumnClick += new ColumnClickEventHandler(MyColumnClick);
    MouseDown += new MouseEventHandler(MyMouseDown);
    ItemCheck += new ItemCheckEventHandler(MyItemCheck);

    if(_RightClickOpensFontDialog)
        MouseClick += new MouseEventHandler(MyMouseClick);
I'm sure you can see what it's doing but my problem is the property _RightClickOpensFontDialog appears to be being ignored, I default it to true in the class code and set it to whatever I need in the IDE designer, no matter what I set it to the MouseClick event (MyMouseClick) fires !!! any idea why ?
Regards,
Peter J. Kane



Pete
Next
Reply
Map
View