Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 28 Mar 2024, 17:46

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: fix the record?
PostPosted: 09 Feb 2020, 08:44 
Offline

Joined: 09 Feb 2020, 08:40
Posts: 1
Ehlib is a best components for the delphi .But now I found a question.
I used the dbgrideh to show the record,I want to fix the current record when the scrollbar rolls,but I'm not find the options.Can you tell me ?
Tks


Top
 Profile  
 
 Post subject: Re: fix the record?
PostPosted: 10 Feb 2020, 18:29 
Offline

Joined: 08 May 2014, 18:06
Posts: 660
Hello

It's not completely clear what you mean by wicks.
You can describe your question in other words.

If you want to position the current record you should use DataSet.RecNo property.

Code:
procedure TForm1.Button6Click(Sender: TObject);
begin
  MemTableEh1.RecNo := 5;
end;

_________________
Best regards
EhLib Support Team


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: No registered users and 5 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:  
cron
Powered by phpBB® Forum Software © phpBB Group