Two questions about player text input boxes...

This forum is meant for posting anything related to Adventure Maker that doesn't fit in the other forums.Please post technical questions in the Technical Support Forum!

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Two questions about player text input boxes...

Postby yerry » Sat Jan 27, 2007 7:28 am

I read the help file talking about input boxes (password, etc..). I noticed that it is case sensitive. Is there a way for player's text input to not be case sensitive?

Also can the player's input text box be custom. I read in the help how to display a custom message box for the player to read, but can the one the player types into be custom also? Thanks for any help!
_________________
Baking Forums
Last edited by yerry on Sat Feb 21, 2009 3:23 am, edited 1 time in total.
yerry
Junior Member
 
Posts: 13
Joined: Mon May 08, 2006 5:31 pm

Postby ShadowHunter » Sat Jan 27, 2007 1:13 pm

Hi,

To make an input non case sensitive you can use the VB-function "LCase"

LCase("HellO WORld") will return "hello world" so in you comparison you only use lower case.

If LCase(MyVar) = "hello world" Then MsgBox "Great !"

Hope this helps.

Kind regards,

ShAdOwHuNtEr
User avatar
ShadowHunter
Forum Admin and Games Page admin
 
Posts: 1304
Joined: Fri Jun 06, 2003 10:37 pm
Location: Belgium

Postby yerry » Sun Jan 28, 2007 3:10 am

As always, thanks for your help ShAdOwHuNtEr!!!

Does anyone know about custom input boxes?
_________________
Alcohol Rehab
yerry
Junior Member
 
Posts: 13
Joined: Mon May 08, 2006 5:31 pm


Return to Adventure Maker General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron