[CLOSED] Component construction lazarus / 31-LCL ---------------------------------------------------------------------- pcurtis · 2021-11-18 15:15 How can a component tell it was created at runtime or designtime (without passing parameters)? ---------------------------------------------------------------------- marcov · 2021-11-18 15:18 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i  if csDesigning in ComponentState ---------------------------------------------------------------------- Bart · 2021-11-18 15:23 It can tell if it is being created at designtime, not if it was created at designtime  Bart ---------------------------------------------------------------------- pcurtis · 2021-11-18 15:36 OK. Thanks all.