Delphi: creating & displaying TImage on FormCreate -


Being a new novice, I have answered my first question so far () Immediately collision in a new problem:

P>

  Process TSelectorForm.FormCreate (From: TObject); Wear Loop: Byte; Start for loop: Start ArrayOfImages from = 1 to 10 [Loop]: = TImage.Create (SelectorForm); MainForm.MyImageList.GetBitmap (Loop-1, Arrayoff Images [Loop]. Image Bitmap); ArrayOfImages [Loop]. Top: = ... ArrayOfImages [Loop]. Lift: = ... ArrayOfImages [Loop]. Enabled: = true; ArrayOfImages [Loop]. View: = True; End; End;  

When I display this form

  Process TMainForm.MyImageClick (Sender: Tubbed); Start selectorForm.Visible: = True; End;  

Pictures are not visible. What am i doing

I want to thank everyone for their advice. Asking the primary question helps others to avoid asking them in the future: -)

< P>

Setting all parents' assets includes image components in the form.

  Process TSelectorForm.FormCreate (Sender: Tubect); Wear Loop: Byte; Start for loop: Start ArrayOfImages from = 1 to 10 [Loop]: = TImage.Create (SelectorForm); MainForm.MyImageList.GetBitmap (Loop-1, Arrayoff Images [Loop]. Image Bitmap); ArrayOfImages [Loop]. Top: = ... ArrayOfImages [Loop]. Lift: = ... ArrayOfImages [Loop] .Visible: = True; ArrayOfImages [Loop]. Parents: = SelectorForm; End; End;  

Comments