Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Unable to set TitleBar property

3 posts in Objects Last posting was on 2003-01-06 19:55:32.0Z
Jean-Marc VOILLEQUIN Posted on 2003-01-06 15:03:52.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Jean-Marc VOILLEQUIN" <voillequin@fermat.fr>
Subject: Unable to set TitleBar property
Date: Mon, 6 Jan 2003 16:03:52 +0100
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
NNTP-Posting-Host: AGrenoble-202-2-1-11.abo.wanadoo.fr 80.14.45.11
Message-ID: <364_5oeAliZtCHA.333@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:644
Article PK: 713217

In the script of my child window, when I write titlebar=false, I receive the
following message:

Error C0143: A systemwrite property may only be modified in an event or
function in its parent class.

Isn't it posible to hide a window's title bar dynamically ? Is there another
issue ?

Thanks.

PB7.0.3. BUILD 10135 on W2K


Bruce Armstrong [TeamSybase] Posted on 2003-01-06 19:55:32.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAM_bruce.armstrong@teamsybase.com>
Subject: Re: Unable to set TitleBar property
Date: Mon, 06 Jan 2003 11:55:32 -0800
Organization: TeamSybase
Reply-To: NOCANSPAM_bruce.armstrong@teamsybase.com
X-Newsreader: Forte Agent 1.92/32.572
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 36
NNTP-Posting-Host: 141.102.144.53
Message-ID: <364_j2nj1vkbuqsrc3utg6os0h26a47obvo9ni@4ax.com>
References: <364_5oeAliZtCHA.333@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:639
Article PK: 713207

You can send a SetWindowLong message to the window using the Send
command and set the GWL_EXSTYLE parameter to indicate that the window
doesn't actually have a titlebar.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/windowclasses/windowclassreference/windowclassfunctions/setwindowlong.asp

The documentation should be updated to indicate that this isn't
directly modifiable in PB dynamically (without resorting to an API
call that is). I'll open a case on that.

On Mon, 6 Jan 2003 16:03:52 +0100, "Jean-Marc VOILLEQUIN"

<voillequin@fermat.fr> wrote:

>In the script of my child window, when I write titlebar=false, I receive the
>following message:
>
>Error C0143: A systemwrite property may only be modified in an event or
>function in its parent class.
>
>Isn't it posible to hide a window's title bar dynamically ? Is there another
>issue ?
>
>Thanks.
>
>PB7.0.3. BUILD 10135 on W2K
>
>
>

Bruce Armstrong [TeamSybase]
http://www.teamsybase.com

Not 1 - but 2 new books on developing with PowerBuilder
http://www.pb9books.com

If you would like to continue to be able to use Google to search *all* of these newsgroups, please contact Google at and let them know.
mailto:groups-support@google.com

Preach the gospel at all times. If necessary, use words. - Francis of Assisi
http://www.needhim.org


Philip_Salgannik Posted on 2003-01-06 19:50:09.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Philip_Salgannik
Date: Mon, 6 Jan 2003 14:50:09 -0500
Subject: Re: Unable to set TitleBar property
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_FED1DE0C62FAB6F7006CF62E85256CA6.005A774B85256CA6@webforums>
References: <364_5oeAliZtCHA.333@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:641
Article PK: 713211

It is NOT possible thru powerscript.