Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Tchart and Progressbar don't paint while a iTask is running , why ?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 0
Jose Silva

Posts: 20
Registered: 11/1/11
Tchart and Progressbar don't paint while a iTask is running , why ?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 17, 2017 11:39 AM
My Tchart doesn't draw points while a iTask is running in paralel , why ?
I'm using Delphi Tokyo 10.2 updt 1 with Tchart V2016.17.160129 32bits VCL. I have two forms : in FormA I call a stored procedure to update a database table and this StoreProc is inside an iTask. After call this iTask I open FormB which has a Tchart and a progress bar that are initiated in a OnShow event.

The first action in FormB is coded in FormB.onShow event is to draw chart axis with certain values already available and update a Progressbar with a message in a TEdit field 'Preparing Processing .

The problem is : although FormB shows up as soon as it is called, the Progressbar and the Tchart are not being updated in the screen ! It takes a while until they are updated and the Progressbar only advances a small part and then frozel ! What is going on here ?

Is there any resctiction between VCL components and iTasks ? Which kind of restriction or pre-requisites are those ?

I appreciate your attention on this .

Thanks.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02