This is more of a theoretical question. I have a program which displays complex vascular networks. The vessels are drawn as polygons in a TImage canvas. I would now like to load and display a bitmap image behind the canvas. When I try to load an image to the TImage.picture, all the objects on...
So the first line
"Application.createForm(TCustomForm, customForm);"
creates the form, and the second line
"self := create(customForm,0,0);"
creates the frame which is placed on the form created in the first line. The second line of code is not creating another form, it is just referencing...
This code is meant to create a form on which the custom frame is placed..
constructor TCustomForm.createInternalForm;
begin
Application.CreateForm(TCustomForm, customForm);
self := create(customForm,0,0);
self.parent := customForm;
the ":self := create..." line could be replaced with...
This is a bug which has been driving me crazy! I have a base custom frame which is inherited by other classes. The code has functioned properly for a long time, but sometimes it "acts up". Strange things will cause an error message to appear upon instantiating a derived class of the base custom...
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.