User Profile

Collapse

Profile Sidebar

Collapse
sgeklor
sgeklor
Last Activity: Nov 14 '07, 01:40 AM
Joined: Oct 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sgeklor
    started a topic VB .NET Picturebox events... frustrating :(
    in .NET

    VB .NET Picturebox events... frustrating :(

    Hi Guys,

    I am trying to add some event handlers to my picturebox object which I am creating at runtime. The compiler (Visual Studio 2005) is flagging the code and telling me that the object does not have the events I am using. The code works fine for labels, just not for this picture box. Where have I gone wrong? :(

    Here is my code:

    Code:
    Dim ctrl_pb = New PictureBox
    ctrl_pb.Location = New Point(5,5)
    ...
    See more | Go to post

  • I haven't heard from anyone in regards to my query.

    Can anyone help?
    See more | Go to post

    Leave a comment:


  • VB .NET Panels, Controls and Mouseover Events - Advice welcome

    Dear All,

    My question refers to how best to organise my mouse events to correctly and efficiently give the effect I want.

    On my form I have a panel and that panel contains a number of controls.

    By setting up the MouseOver and MouseOut events for the panel I am able to change the panel's background while the mouse is over the panel. A very simple effect and one that is straightforward to implement.
    ...
    See more | Go to post

  • Brilliant!!! The .Clear() method works perfectly.

    In general though, I didn't realise the limitations of "For Eaching" through an ArrayList.

    What if I had a general ArrayList and wanted to remove some elements from it (those that match some criteria) by "For Eaching" through the list. Then by disposing those members that I do not want will I not have the same problem?

    What is the correct...
    See more | Go to post

    Leave a comment:


  • VB .NET Strange Behaviour When Removing Form Controls

    Hi guys,

    I have a panel on a form and at runtime I create some controls on the panel. Then, also during runtime I want to clear the panel of all of its controls. The basic way to do this is with the following code:

    Code:
    For Each this_ctrl As Object In target_panel.Controls
         this_ctrl.Dispose()
    Next
    What happens when I use this code is that only every second control is removed from the panel!...
    See more | Go to post
No activity results to display
Show More
Working...