BJ> struct Table
BJ> {
BJ> char Title[30];
BJ> char SubTitle[35];
BJ> char Info1[40];
BJ> char Info2[40];
BJ> };
I assume you instanciate this somewhere? When you do is it with a pointer,
or directly? What you've done here is just make a prototype for the
structure.
BJ> Then.....
BJ> Table.Title=Edit1->Text; (this line does not work )
BJ> (neither does using strcpy)
Unless there's a copy constructor, you need to use strcpy in this case. But
the LValue probably means you haven't instanciated an instance of the
structure in your code.
--- Maximus/NT 3.01b1
---------------
* Origin: LutherNet Christian BBS (1:153/7036)
|