Hi ctoma2005,
Thankyou for your response.
The answer, however, turned out to be that I was not setting the Parent's Parent (top level parent). I had tried assigning the parent to the form before posting this question but to no avail. In any case, TWinControl is an ancestor to both TForm and...
Hi,
I have a normal TForm derived class (normal Builder stuff... a dfm, cpp and h files) that contains a TPanel suitably named 'Panel' and within its constructor I have the following lines of code:
mem =new TMemo(Panel);
mem->Parent=Panel;
mem->Lines->Strings[0]="testing";
mem...
Hi,
Have a problem, have been thrown into the deep end with borland C++ builder. The boss wants an AnsiString drop down list to appear in the object inspector and I do not know how to achieve this.
Have worked out how to put a single AnsiString into it and this is what I have so far for the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.