-
new TShape(Form1)
class TForm1 : public TForm
{
__published:
TShape *shot;
void __fastcall FormCreate(TObject *Sender);
private:
public:
__fastcall TForm1(TComponent* Owner);
TShape *mshot;
};
#########
I call
void __fastcall TForm1::Timer1Timer(TObject *Sender)
{
.
.
mshot = new TShape(Form1);
.
.
}
but I can`t see the TShape.
how can I create a new TShape object with the same Params looks like
TShape *shot;
and can use it in my Form1?
-
WTF is __published? Is that borland-specific? Sounds like it.
-
yes, Borland C++ Builder 6.0
Popular pages
Recent additions