I'm converting an Excel VBA program to Pascal/Lazarus and am wondering if it's possible to programmatically select a visual component, such as TMemo from a menu, and drop it onto a form or stringgrid in design mode in order set the position, size, color, text, etc.. I suspect not because the underlying design code probably isn't compiled into the program. "Introduction to Component Building" (for Delphi) by Ray Konopka discusses csDesigning in the ComponentState set. It's easy to switch to design mode in MS-VBA programs because the code isn't really compiled and the program carries all the interpreting support with it - the biggest reason we want it compiled on cross-platforms.
HowardPC has shown me how to work around this very efficiently, but the users seem to like the VBA design mode method. Can someone verify whether or not it can be done in Lazarus/FPC?
Thank you,
Gary