Add a Heading entry in the Properties pane

Today, there are ID, Position, Locking, Appearance and Behavior in the Properties pane.

Is it a good idea to get another ID that will be called Heading ?

In it, you will be able to set:

Has Header     = True | False (or **Has Heading**)
Heading String = Coma Separated String(s)
Column Count  = Integer
Column Widths = String (Double, % or *…)

Your opinion is ?

You can already add new headings to the inspector using the Inspector Behavior dialog. Just click the + button and give it a name.

4 Likes

Thank you Anthony,

I do not see that / do not have that; here’s a screenshot of Xojo 2025r3

Maybe it was not obvious from Anthony’s screenshot but you need to work on a Canvas subclass

Canvas1 (like your screenshot):

Canvas Subclass:

Available on any class definition, but not a class instance on a view (DesktopWindow, MobileScreen, WebPage, *Container).

I’m down (working in survival mode, so my understanding is at minima…).
Is it available in DesktopListBox Sub-Class ?

I do not recall, but I’ve made my screenshot beside (on screen of course) Anthony’s Screenshot.

It tooks me minutes before I realized the Control on the screenshot was a Canvas… Go figure !

I even fired the previous version (both Xojo and Project) just in case I do not understand something in the current version(s)…

Sometimes, I’d better stay in (a hot) bed.