Forum

× General Purpose Components and Libraries, discussions, problems and suggestions

Question TTabControl and alClient do not work correctly

  • Roman
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
3 months 1 week ago #11492 by Roman
Hi all!
If I use TTabControl with alClient alignment then in design mode CT may be crashed, or Width of TTabControl may be greather than 4000, or both.
Setting alignment to alClient call recursive modification of Width property, I think... How to correct this?

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 months 1 week ago - 3 months 1 week ago #11493 by Sternas Stefanos
Replied by Sternas Stefanos on topic TTabControl and alClient do not work correctly
Thanks Sir
we know this problem but we can't solve it (yet)

My suggestion
stop using the Embedded Form Designer
for so big Width (4000)

Uncheck "Use Embedded Form Designer"
and restart Typhon IDE


CodeTyphon Architect and Programmer
Attachments:
Last edit: 3 months 1 week ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Roman
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
3 months 1 week ago #11499 by Roman

Sternas Stefanos wrote: Uncheck "Use Embedded Form Designer"
and restart Typhon IDE

Thank you for trying to help.
But this option is completely unacceptable, because the meaning of using IDE is lost.
The best option: in the design mode, set alNone and manually stretch the component to the size of the parent form, and in the runtime in OnFormCreate, set the value to alClient.

Sternas Stefanos wrote: we can't solve it (yet)

It is sad...

Please Log in or Create an account to join the conversation.