There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox firewall freezes freezing hard drive hardware hijackthis internet internet explorer itunes keyboard laptop malware motherboard mouse msn network networking outlook 2007 power printer problem ram router screen slow sound trojan usb virus vista vista 32-bit windows windows xp winxp wireless
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
ComponentOne True DBGrid


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
satyamr's Avatar
Junior Member with 3 posts.
 
Join Date: Jul 2004
05-Jul-2004, 08:18 AM #1
ComponentOne True DBGrid
Hi,

I have to set focus to a particular cell in a ComponentOne True DBGrid -- This is the problem.

Actually I have a cell level validation and I want to get the focus back to the cell if the currently entered value in this cell is invalid, so that I can not proceed without enterring a valid input.

Please send me or suggest a solution as soon as possible.

Coding in VB.NET and using this (ComponentOne True DBGrid ) third party component.

Thanks & Regards,
Satyam
Aftab's Avatar
Member with 62 posts.
 
Join Date: Oct 2003
05-Jul-2004, 07:57 PM #2
True DBGrid
I have used True Grid with VB6, the way to do it is you have your validation code in the Grid_BeforeColUpdate() event. One of the arguments passed to this event is called "Cancel" and if you want to cancel the update of this cell you set Cancel = true.
satyamr's Avatar
Junior Member with 3 posts.
 
Join Date: Jul 2004
06-Jul-2004, 02:05 AM #3
Hi Aftab,
Thanks for the solution.
But I have solved it yesterday itself proceeding in the same way.
Thanks once again.
Satyam
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:03 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.