Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Dbgrid and chechbox ?

Posted on 2004-04-08
6
Medium Priority
?
203 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 17

Accepted Solution

by:
mokule earned 300 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 300 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

721 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