Jump to content
Fudley

Delphi 12. Structure window, tab control

Recommended Posts

Is there any way to use the structure view to cause a tab on a ttabcontrol to become the active tab?

 

Thank you

Share this post


Link to post
2 hours ago, Fudley said:

Is there any way to use the structure view to cause a tab on a ttabcontrol to become the active tab?

Using the Structure Pane? No. The TTabControl and its tabs are one control, the tabs don't even show in the Structure Pane. The TTabControl is there for backwards compatibility; you should use TPageControl in new applications.

Share this post


Link to post
1 hour ago, corneliusdavid said:

The TTabControl is there for backwards compatibility; you should use TPageControl in new applications.

That is not true! A TTabControl has its uses cases just like a TPageControl has. I assume you are referring to TTabbedNotebook as the deprecated one.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×