Recent

Author Topic: Speed form load  (Read 1102 times)

bigeno

  • Sr. Member
  • ****
  • Posts: 266
Speed form load
« on: October 19, 2018, 10:49:14 am »
I've form with large number of controls grouped in five tabs of PageControl.
When I measure preparing form timer I get good low times before ShowModal, create and all code works speed.
But afert ShowModal in main form my second big form showing after 0,5 sec (mesured in first line bigForm.onShow).
Is there any way to speed up my big form ?
I try:
auto create form in project - nothing
disable not default tabs of pageControl - nothing

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: Speed form load
« Reply #1 on: October 19, 2018, 12:15:58 pm »
put the controls on frames pr tab.
create a frame when the tab is shown.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

 

TinyPortal © 2005-2018