home bbs files messages ]

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,572 of 10,840   
   Joe-Paul to All   
   Get Rid of Warning Box   
   19 Jun 05 13:06:01   
   
   From: HarvestWind@comcast.net   
      
   Hello:   
      
   I just upgraded to VB 6.0 (late bloomer)..anyway, I am using the datagrid   
   control and when the user does not fill in a specific cell, I don't want the   
   changes saved.  So, I put a procedure in the "BeforeUpdate" event and allow   
   the user to choose to fill in the cell or not save the newly inserted (or   
   changed) information.  However, after the msgbox asks the user to make a   
   decision, the system also sends a popup that says "Action is Cancelled"...I   
   don't want that "Action is Cancelled" popup...how do I suppress it?   
      
   I also noted that there is no "SetFocus" for controls on a Grid.  CAn you   
   set the focus to a specific cell in the grid?  If so, how do I do that?  If   
   the user says they want to fill in the cell they missed, I could set them   
   back in that specific cell.   
      
   Anyway, any assistance would help. . . and Thanks in advance.   
      
   JP   
      
   --- 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