Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27196

Declaring shadows???

$
0
0
Hey guys. I get these two errors:

WithEvents variable 'Created' conflicts with property 'Created' in the base class 'Control' and should be declared 'Shadows'.

--AND--

WithEvents variable 'Size' conflicts with propertry 'Size' in the base class 'Form' and should be declared 'Shadows'.

I just added a ListView, and copied a code from ListBox double click and I pasted into ListView double click. I'm a beginner at VB, and don't really know what this error means, much less how to "Declare Shadows" or fix this error in another way. Here's the code where the problem originates:
Code:

Friend WithEvents Size As System.Windows.Forms.ColumnHeader
    Friend WithEvents Created As System.Windows.Forms.ColumnHeader


Thanks in advance. If you need any more information, just ask.

Viewing all articles
Browse latest Browse all 27196

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>