Solved

Dbgrid and chechbox ?

Posted on 2004-04-08
6
200 Views
Last Modified: 2010-04-05
Hi guys
I use component name tdbadvlistview to show the data of my application database
but there is a problem with it , when I refresh it with data , it seem to slow
with bad look at refresh

so how can tell me about another component can give me best result
if dbgrid , I want to but checkboxes on it until the field is not a boolean field.

be fast

thanks
0
Comment
Question by:peruzzi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10786034
did you try

 MyListView.Items.BeginUpdate;

 //add items to list;
 
 MyListView.Items.EndUpdate;


Shane
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10786046
ah never mind, i just saw it was a Dataware ListView, which probably has its own disablecontrols methods

Shane
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10786085
Try this

 AdvListView.BeginUpdate
 //
 AdvListView.EndUpdate

Shane
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 17

Accepted Solution

by:
mokule earned 100 total points
ID: 10786546
I don't know the mentioned component, but I think that it cooperates with some DataSet.
You can try rather

DataSet.DisableControls

 and after making changes

DataSet.EnableControls
0
 
LVL 11

Assisted Solution

by:shaneholmes
shaneholmes earned 100 total points
ID: 10786560
yup that too, Im sure it has a Datasource property - good thinking Mokule

<Smile>

SHane


0
 

Author Comment

by:peruzzi
ID: 10808831
Hi
I solve the problem by using visable property
dblistview.visable:=false;
.
.
make the change
.
.
dblistview.visable:=true;

No points for me they are for you.......................thanks

peruzzi
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question