Re: How to set a window's title text at runtime???

From: Andrea Cannaos <Andrea.Cannaos_at_deagostini.it>
Date: Thu, 05 Nov 1998 09:09:02 +0100
Message-ID: <36415D1E.AFF31E90_at_deagostini.it>


Richard Hollingsworth wrote:

> Thanx for reading this.
>
> How do you set a window's title text at runtime? I tried...
>
> WINPC17A.TITLE := 'PC17A Generator'
>
> on a Form Level tirgger, but this will not compile.
>
> The window name is WINPC17A.
>
> Also, do you know how to set the name of the Forms 5.0 Runtime Window at
> runtime? I need to set it to something like "TRAKER Document Management
> System".
>
> Thanx for any advise:
>
> RH

Use SET_WINDOW_PROPERTY :

SET_WINDOW_PROPERTY(WINPC17A,TITLE,'My Title');

For Runtime window

SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'My Title');

--
           \\\\////
           &( oo )&
========oOO==(__)==OOo========
|                            |
|Andrea.Cannaos_at_deagostini.it|
|                            |
==============================
            ||   ||
           (__) (__)
Received on Thu Nov 05 1998 - 09:09:02 CET

Original text of this message