Home > Back-end >  Delphi real-time display large amounts of data quickly, the splash screen, how to solve?
Delphi real-time display large amounts of data quickly, the splash screen, how to solve?

Time:09-29

Delphi real-time display large amounts of data quickly, the splash screen, how to solve?

CodePudding user response:

O great god reply!

CodePudding user response:

O great god reply!

CodePudding user response:

O great god reply!

CodePudding user response:

Don't know what you are in space, if a list you can use the virtual list,
Virtual list

CodePudding user response:

In humans, how quickly the real-time,
Movies are 24 frames per second, the game is 30 ~ 100 frames per second, but this is based on people can be predicted on the basis of continuous change, if not predictable, discontinuous change, such as slides, generally 1 frame is 3 ~ 5 seconds, faster and more than 1 second 1 frame,

Well, back to your question, why in real time, to see the data need to 1 second, your program only needs to be 100 ms refresh an interface is ok, if it is animated, 10 ms a can refresh,
A large amount of data? The screen can show how many rows of data? 10 lines? Line 100? Or 1000 rows? Actually can display only a few rows of data, just refresh these lines are not won't have any pressure,

TStringGrid since the painting interface, 6 million rows of data 10 ms refresh without any pressure,


CodePudding user response:

Read splash screen, big data is read data and the screen refresh, scramble for CPU resources,

CodePudding user response:

I think you should say to get some more details, so that others can do for you,

CodePudding user response:

Basically see what controls to display! Various control flashing means are different!

CodePudding user response:

Application. The intrinsic processmessage

CodePudding user response:

Read splash screen, big data is read data and the screen refresh, scramble for CPU resources,

CodePudding user response:

If there is doublebuffer attribute set to true to try

CodePudding user response:

The query process into thread

CodePudding user response:

Above a lot of Daniel,,, in learning

CodePudding user response:

Using LockWindowUpdate lock screen operation, after the completion of the unlock

CodePudding user response:

The splash screen of the locale DoubleBuffered:=True;

CodePudding user response:

Not so complicated,
ADOQuery1. DisableControls
,,,,,,,
ADOQuery1. EnableControls

CodePudding user response:

Upstairs method seems to be good,,,

CodePudding user response:

Virtu list is also a good way to learn,,,

CodePudding user response:

Recommended TNXGRID controls to load the data

CodePudding user response:

Enable doubleBufferd; If the form is beginupdate first... endupdate

CodePudding user response:

reference 16 floor SXQWHXQ response:
less complex,
ADOQuery1. DisableControls
,,,,,,,
ADOQuery1. EnableControls

This used, simple and clear

CodePudding user response:

reference 16 floor SXQWHXQ response:
less complex,
ADOQuery1. DisableControls
,,,,,,,
ADOQuery1. EnableControls
effective support,

CodePudding user response:

Don't draw on the screen, immediately
50 milliseconds at a time, in memory of self-built TBitmap, then place them on Canvas,

CodePudding user response:

Real-time display too fast, no meaning, even if not flash people have what meaning,
  • Related