Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: D10Seattle: Manualdock, TStringGrid "disappeared"

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0
Andrea Kaiser

Posts: 63
Registered: 11/17/15
D10Seattle: Manualdock, TStringGrid "disappeared"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 23, 2015 12:01 AM
Delphi 10 Seattle Enterprise

Create a Mainform with a TPageControl and a form called "TestForm", docking the latter to the Mainform:
    TestForm := TTestForm.Create(Application);

I can undock and redock TestForm anytime, using something like this:
    - or -

So far so good, works perfectly smooth - except when I have a TStringGrid in TestForm. At the first call the TStringGrid is NOT shown. I checked its coordinates (Left 0, Top 0 - okay) and its visibility (true - okay). As soon as I undock TestForm it is visible. If I redock TestForm it stays visible. TStringGrid disappears only at the first "Show" of TestForm.

I strongly suspect this to be a bug in D10Seattle.

Or do I do something wrong? Is there a workaround?
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02