It is a quick one and i'm sorry if i'm missing something obvious however i haven't been able to figure out how to change the title of the dialog panels ( openDialog() ).
Thank you in advance.
Agustín Romero Sánchez.
setWindowTitle() on dialog panels
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: setWindowTitle() on dialog panels
In fact you should not use openDialog() at all (that was introduced for Gedi internals to be able to open a panel from the attribute editor for wizards).
Instead, use one of the ChildPanelOn functions.
When you pass a name in ChildPanelOn function, the given name is used as window title except the panel has been given a name directly in the attribute editor in Gedi.
Instead, use one of the ChildPanelOn functions.
When you pass a name in ChildPanelOn function, the given name is used as window title except the panel has been given a name directly in the attribute editor in Gedi.
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: setWindowTitle() on dialog panels
And there is also an explicit function to change the window title: setWindowTitle() (and a similar one for the icon: setWindowIcon())
- Romero
- Posts:27
- Joined: Wed Jul 19, 2017 9:24 am
Re: setWindowTitle() on dialog panels
I knew i was missing something, it is well explained on the Online Help. I should be using the ChildPanelOnModal() which has utility i was looking for.
Thank you Martin
Best regards
Thank you Martin
Best regards