Category Archives: Delphi

OmniThread and Exceptions

OmniThread and exceptions… Example # 48 is good… from demos of omni lib…

 

Posted in Delphi | Leave a comment

Delphi. Omnithreads. ProgressBar with ForEach

Example with progress Bar on ForEach abstraction.

 

Posted in Delphi | Leave a comment

Delphi.Omnithreads.Future – hunting the value in backGroundThread

Future is good  thread abstraction that hunts for the value in background thread.  We can ask backGround thread what is value now. Calling VCL from backGround is bad idea in that case.  For that pupose see http://www.thedelphigeek.com/2014/07/incrementing-progress-bar-from-foreach.html Below is example … Continue reading

Posted in Delphi | Leave a comment

Delphi. OmniThreads.Async – most simple example

hi, most simple example of OmniThread lib looks like

GUI is responsive during executing the code…  

Posted in Delphi | Leave a comment

Delphi. UniGUI. Emulation of Pages using Frames

UniGUI is SPA – single page application, but, emulation is possible. One option – use frames.

Then call its in main like this

   

Posted in Delphi | Leave a comment

RTTI Atributes

shows how to work with RTTI and attributes RTTI – Run Time Type Library – is approach that helps to manage code when program is running. Lets say we have code from someOne without docs. RTTI will help to find … Continue reading

Posted in Delphi | Leave a comment

Delphi IDE Colorizer – did you know about?

Yesterday opened for myself Delphi IDE Colorizer (DIC). Cool thing – see attachment pic !!! It has dozens of themes, transparent menu, with Delphi Theme Editor together you can customize IDE as you wish. And it is free. I downloaded … Continue reading

Posted in Delphi | Leave a comment

Delphi. UniGUI. Synchronious and ASynchronious modes

about ShowModal in VCL and not only http://www.unigui.com/doc/online_help/synch-and-asynch-operations.htm

Posted in Delphi | Leave a comment

Delphi. Converting TRichView2PDF

According to this and this i created my wrapper unit to convert trichview docs to pdf like this download and install SynopsePDF use my unit 09_SynopsePDF to convert to PDF from trichView like this also helpful for me was that forum having sRichView which … Continue reading

Posted in Delphi | Leave a comment

MySQL. Seconds to hours / min / sec

example from project

elementary, but in practice… or just select SEC_TO_TIME(4827); documentation is your friend!

Posted in Delphi | Leave a comment