Adding an object to a form at runtime
Posted on 1998-07-23
First off I'm using C++ builder 3... similar to Delphi ... so any delphi code will help me ...I'd post my question in C++ section, but since it's a VCL thing, you guys are probably my best source.
I want to add a DriveComboBox to a form at run time.
After declaring a pointer variable to the object, and creating the object... I can access it's properties, but I can't see it on my form.... Is there a way to do this??
my code in C++ is
Dr1 = new TDriveComboBox(Form1);
now properties can be accessed...
but DriveComboBox is NOT visible on the form