CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 1999
    Location
    Salisburyl UK
    Posts
    324

    delays in event handling

    Evening All

    Im new to vb.net, in so far as the last time I wrote anything was V6 ! What has happened to it !!!!!

    Anyway, my little problem is that I have some buttons on a form that increment the value of an integer. This integer is sent to an arduino via a serial cable.
    I dont want the user tho have to press a send button after changing the value, but at the same time I dont want every value the integer holds to be sent ether as the user happily clicks away to reach there desired value.
    I was wondering if there is a simple way I can achieve this. Maybe by use of a timer somewhere.

    Your thoughts would be very much appreciated.

    Thanks
    Phil

  2. #2
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: delays in event handling

    A timer can definitely help you..

    Here is an article on Codeguru that can and will help you..
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured