Solved

Dbgrid and chechbox ?

Posted on 2004-04-08
6
198 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
  • 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
Industry Leaders: 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Comparing dates in Delphi. Greater than/ Less than 3 290
Mobile Keyboard covers the display of the TMemo 3 101
Delphi Yen format 3 58
Delphi: making a BW image transparent 10 88
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

713 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