|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
right click on a labelI have a label I create using code like this
dim lbl as new label me.controls.add(lbl) addhandler lbl.click, addressof someclick private sub someclick(ByVal sender As Object, ByVal e As System.EventArgs) .... end sub How would I go about testing whether the user right or left clicked on the label? Thanks. - David your code is incorrect.
On 19-Oct-2006, "David Pick" <pickda***@gmail.com> wrote: private sub someclick(ByVal sender As Object, ByVal e AsSystem.ClickEventArgs) 'Some code end sub -- Thiele Enterprises - The Power Is In Your Hands Now! "Ryan S. Thiele" <mali***@verizon.net> schrieb: No, the code was right. 'System.Windows.Forms.Control.Click' is of type > your code is incorrect. > > private sub someclick(ByVal sender As Object, ByVal e As > System.ClickEventArgs) 'System.EventHandler'. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
main menu disappearred
If comparision operator is one of these or contains ? VB 2005 Form Controls Disappeared!! UTF-8 encoding problem Table Adapter Update Method Question about walking the file system Read another applications textboxes (VB 2005) using a triple-nested for...next loop Starting process using shell execute returns nothing Rounding issue |
|||||||||||||||||||||||