Page 1 of 1
[26 Dec 2006] InKeyStr
Posted: Sat Jun 13, 2020 5:31 pm
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
[26 Dec 2006] Re: InKeyStr
Posted: Sat Jun 13, 2020 5:31 pm
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.
[26 Dec 2006] Re: InKeyStr
Posted: Sat Jun 13, 2020 5:31 pm
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?
[27 Dec 2006] Re: Re: InKeyStr
Posted: Sat Jun 13, 2020 5:31 pm
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.