Hi All!
I have problem with frames I put into a package. (Sorry, if it had
discussed before...) When I try to make an instance from the frame I
cannot see anything. The parent is Form1. When I execute Form1.
FindControl('nameofframe'), I found the frame(!), I can ask the Width,
height, color, etc, but I cannot see! Why? Is it a bug?
Another interesting effect: If I .Hide then .Show the Form1 (where the
frame has been created), the frame will shown! (with Form1.
Perform(CM_VISIBLECHANGED) method I can reach the same effect) If I
check the ProjectOptions."Build with runtime packages" option it will
works also, but I cannot do this because of other reasons.
So what can I do? Has everyone heard about this issue? How can I
avoid the Hide/Show calls? (it's so silly)
I tried these:
1, LoadPackege + GetProcAddress (returns with the class of Frame),
2, LoadPackege + [TPersistent.]GetClass (returns with the class of
Frame),
3, LoadPackege + GetFrame(ParentForm) (returns with an instance of
Frame)
Please help me,
thanks for advance:
martens
___________________________________________________________________________
Játssz és nyerj könnyedén fényképezőgépet, babzsákfotelt vagy egyhetes,
kétszemélyes egzotikus álomutazást!
http://www.budavartours.hu/jatek/?from=frm_kimeno
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk