Skip to Content

Changing the title of a Dialog box

Hello,

I am using a dialog box (which is seperate IView and pops up as a dialog box)

I am unable to change the title of the dialog box (at present it comes as window.PopupWindow.title)

What settings are needed to be done to change the title?

Please guide me.

Warm regards,

Ashutosh.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • May 23, 2005 at 06:56 AM

    Hi,

    Change the properties of the WINDOW in which you have embeded your dialog box view.There you should be able to set the " TITLE " property.

    Regards.

    sandip

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 08, 2005 at 03:49 PM

    Hallo,

    from Service Pack Stack 12 on you can also programmatically set the window title with

    IWDWindow.setTitle(String titleText).

    Regards, Bertram

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 09, 2005 at 05:31 AM

    Hi,

    If u r using IWDWindow typecast that object to IWindow .

    For this object you can set the title.

    IWDWindow window = wdContext.currentContextElement().getWininstance();

    IWindow in = (IWindow)window;

    in.setTitle();

    Regards

    Bharathwaj

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Bharathwaj,

      Ok, this is an inevitable workaround for missing functionality but nevertheless I repeat it again and again: <b>Never ever hijack internal Web Dypro classes and interfaces</b>. The reasons are described in this <a href="href=/people/bertram.ganz/blog/2005/02/02/never-ever-hijack-internal-web-dynpro-classes-and-interfaces.

      Do you really replace this unsupported coding in SP12,SP13 ... using the public API?

      Regards, Bertram