[26 Dec 2006] InKeyStr

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
GMKai
Posts: 158
Joined: Mon Feb 15, 2010 10:58 am

[26 Dec 2006] InKeyStr

Post by GMKai »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 26 Dec 2006 14:04:24 +0100

Hello,

when prompting the user to input a string, how can it be done and make the string invisible afterwards?

Greetings GMKai
User avatar
airsoftsoftwair
Posts: 5832
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[26 Dec 2006] Re: InKeyStr

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 26 Dec 2006 14:46:08 +0100
Hello,

when prompting the user to input a string, how can it be done and make the string invisible afterwards?
Either remove the layer added by InKeyStr() or restore the background in the area where the string is.
GMKai
Posts: 158
Joined: Mon Feb 15, 2010 10:58 am

[26 Dec 2006] Re: InKeyStr

Post by GMKai »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 26 Dec 2006 20:06:49 +0100

Hallo Andreas, good, this works. but how do InKeyStr-Layers get their name when their id is unknown?
User avatar
airsoftsoftwair
Posts: 5832
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[27 Dec 2006] Re: Re: InKeyStr

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 27 Dec 2006 15:11:13 +0100
Hallo Andreas, good, this works. but how do InKeyStr-Layers get their name when their id is unknown?
The layer added by InKeyStr() does not bear a name. You can find out its ID using

Code: Select all

id = GetAttribute(#BGPIC, <current bgpic>, #ATTRLAYERS)
This will retrieve the numbers of layers currently in the system. Right after InKeyStr() returns, this number is the ID of the InKeyStr() layer because this layer is the top-most one.
Locked