Class TSortThread (unit SortThds) |
TObject
Constructors |
Functions |
Properties |
Events |
Variables |
Constructors |
TSortThread
Functions |
The Execute method is called when the thread starts
VisusalSwap is a wrapper on DoVisualSwap making it easier to use. The parameters are copied to instance variables so they are accessable by the main VCL thread when it executes DoVisualSwap
Since DoVisualSwap uses a VCL component (i.e., the TPaintBox) it should never be called directly by this thread. DoVisualSwap should be called by passing it to the Synchronize method which causes DoVisualSwap to be executed by the main VCL thread, avoiding multi-thread conflicts. See VisualSwap for an example of calling Synchronize.
Properties |
Events |
Variables |