Performance issues re-sizing large amount of components on form resize

后端 未结 2 1643
走了就别回头了
走了就别回头了 2021-02-06 02:38

I feel my failure so far lies in search terms as information on this has to be pretty common. Basically I am looking for common solutions and best practices when performing resi

2条回答
  •  别那么骄傲
    2021-02-06 03:15

    I don't know if this will make a significant difference, but instead setting PBSSRow[I].Width and PBSSRow[I].Top separately, make one call to PBSSRow[I].SetBounds instead. This will save you one Resize event for that SubComponent.

提交回复
热议问题