Solved

Dbgrid and chechbox ?

Posted on 2004-04-08
6
194 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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi cmd execution 6 60
Delphi : could not find program, '...exe' 2 163
oracle global variables 4 68
PHP preg_replace code convert to Delphi 14 54
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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now