Title bar for dialogs

I can't work out how to put text into the title bar for a dialog I'm
creating. The dialog editor just doesn't seem to have any mechanism. Can
some kind soul please put me out of my misery?

Hello ptoye,

I can't work out how to put text into the title bar for a dialog
I'm creating. The dialog editor just doesn't seem to have any
mechanism. Can some kind soul please put me out of my misery?

Mark the whole dialog. See the properties on the left. Could be you
have only to click on the right or left of the dialog to get the
properties. There a "Title" appears.

Regards

Robert
- --
Homepage: http://robert.familiegrosskopf.de
LibreOffice Community: http://robert.familiegrosskopf.de/map_3

Thanks Robert. I knew it would be something like that, but hadn't thought of
selecting outside the dialog frame. Right-clicking in the dialog does
nothing much, nor does clicking on the title bar.

But I'm finding that trying to select the dialog box, as opposed to the
controls, is a very hit-and-miss affair. The first time I tried it enclosing
the whole box in a selection worked and I got the menu for the dialog box.
After that it look as if I'm selecting all the controls in the box, bit not
the box itself. Very odd. See the screenshot!

<http://nabble.documentfoundation.org/file/n4200620/Dialog_Editor.png>

Hi Peter,

I can't work out how to put text into the title bar for a dialog I'm
creating.

With code: oDlg.setTitle("foo")
In the basic editor, it simply the title property when the whole dialog
is selected.
Ciao - Cor

Thanks Cor. Robert answered the question. I should have specified that it was
the IDE I was asking about rather than how to do it by program (but that's
useful as well).