Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 27 Apr 2024, 20:13

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 13 May 2013, 14:25 
Offline

Joined: 30 Jan 2012, 11:40
Posts: 3
How To set focus to Specific Cell in a DBGridhEh and set it into Edit Mode?
the idea is after posting new record i do checking on fields so if it is not ok i will back focus on it
Thanks.
ahmed


Top
 Profile  
 
PostPosted: 14 May 2013, 12:32 
Offline
Администратор

Joined: 22 Dec 2011, 20:19
Posts: 335
Hello.

Try a property DBGridEh.SelectedIndex.
Set SelectedIndex by the index of column in the Columns array the cell of which you want to make active.

Best regards
Admin

_________________
Best regards
Admin


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 77 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group