Jump to content

guiCreateEdit


Cornelis

Recommended Posts

Posted

Hi,

I've got some problems with editing my login script (Login script made for: my gamemode)

This is the code I'm using. The error I get is when I try to click on the edit, the cursor inside the edit isn't showing and I can't write in it...

    createCharacterWindowNameEdit = guiCreateEdit (0.475, 0.095, 0.475, 0.065, "", true, createCharacterWindow) 
        guiEditSetMaxLength (createCharacterWindowNameEdit, 15) 
        guiSetProperty (createCharacterWindowNameEdit, "AlwaysOnTop", "True") 

Picture:

9bkadf.png

Thanks, Cornelis.

Posted

That sounds like the edit is not enabled, maybe something is overlaping it, although, you set the "AlwaysOnTop" property.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Like you see in the picture I used a gridlist to made it look a bit better,, so that's why I'm using "AlwaysOnTop". Could that be the problem?

Posted

Could be the problem, have you tried it without "AlwaysOnTop" enabled?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

I found your problem, you set the "AlwaysOnTop" property to the character name label as well, which is overlaping the edit.

Remove this:

guiSetProperty (createCharacterWindowNameLabel, "AlwaysOnTop", "True") 

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

Yeah, that was another option.

You're welcome.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...