Jump to content
Xtreme .Net Talk

mas7004

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by mas7004

  1. Hi, In my project, I want the user to click on a button to open a new form. In this new form, I would like to have a copy of an existing tree with all the current nodes in place. I tried using OOP and pass the tree in the constructor of the new form, but this did work. I also tried passing just the collection of nodes, but this didn't work either. Any thoughts? Thanks, Matt
  2. do you mind providing a simple example?
  3. if have a 'chartDataClicked' from a 3rd party component. Thus I am not using the standard VB MouseDown event.
  4. can i do it outside a mouseDown event, in a different event I have? Is there a another way to get whether the mouse button was clicked without using a parameter (such as 'e') from a method. Like something in: System.Windows.Forms....?
  5. How can I check to see if the mouse click was with a right click? If mouseClick = right click then Endif Thanks, Matt
  6. I mean part of my form is not shown on the other computer because it runs off the side. Is there a way in VB to check the resolution of the computer and resize a form accordingly?
  7. Hi, I made an executable of a program I wrote. When I run the executable on a new machine, the form is being cut off. Any thoughts? Thanks, Matt
  8. Hi, I am building a context menu in run time. I need to figure out what specific menu item has been clicked. There is no menuItem.Clicked = True I would love to just go: If menuItem1.clicked = true then : : : : end if But since there is no Menu Item property like that I am stuck. I used addHandler when I create the Menu Items. It looks as such: AddHandler menuItem.Click, AddressOf ItemsClick Thus I am using the item click method which only has two arguments: (sender As Object, e As System.EeventArgs) I would love to be able write: Private Sub ItemsClick(ByVal sender As Object, ByVal e As System.EventAgrs) debug.writeline("THE CURRENT MENU ITEM CLICKED IS: " & ________ End Sub I need some help on the '_______________' part. How do I get the current menu item that is selected when menu item can be anything from menuItem_1.......menuItem_N? Thanks, Matt Thanks, Matt
×
×
  • Create New...