Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,742 of 10,840    |
|    Bob Butler to Nicolas Poirier    |
|    Re: Trouble focussing    |
|    09 Nov 05 15:43:23    |
   
   XPost: comp.lang.basic.visual, comp.lang.basic.visual.misc, micr   
   soft.public.vb.general.discussion   
   From: tiredofit@nospam.com   
      
   "Nicolas Poirier" wrote in message   
   news:Pivcf.14672$1L3.623200@news20.bellglobal.com   
   > I have a simple application with one form containing one MonthView   
   > control and a command button labeled "Close" whose only action is to   
   > call "End".   
      
   FWIW, the only action in a Close button event should be "Unload Me". The   
   End statement is *never* needed in a VB application and can cause harm if   
   used to end an app before all cleanup has been done. It's nearly impossible   
   to use End completely safely. Don't use it.   
      
   > It's ennoying to click on a specific date and then have   
   > to click thice on "Close" button to be able to activate the "End".   
   > The first click does bring the focus on the button and the second   
   > activates it.   
   > It should be activated on first click.   
   > I think calling "SetFocus" on each click on the calendar is not a neat   
   > solution.   
   > I've met this ennoyance in many of my programs.   
   >   
   > Does anybody have came up with a way to deal with this double click   
   > ennoyance?   
      
   It's a bug with the MonthView so you've either got to not use that control   
   or work around it somehow.   
      
   --   
   Reply to the group so all can participate   
   VB.Net: "Fool me once..."   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca