Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange ListView behaviour
Message
De
08/12/2006 21:29:50
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01175169
Message ID:
01176322
Vues:
14
Pete,

Try setting that in the Load event instead of the constructor.

~~Bonnie



>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 ?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform