Jump to content

guiCreateEdit Alpha down but Text 100 Alpha ?


Karuzo

Recommended Posts

Posted

Hey Guys,

So i wanted to make my Panel look more beautiful,

and so i setted the alpha of the Edit-Box to 0.

So my Question is :

The Text has also a alpha of 0 , can i make it to 100?

So the players just can see the text hey write ?

If not:

Is there another way to create a edit-box ?

  • 3 weeks later...
Posted

I still need help with this.

What i actually want to make is :

A login Panel with a editbox where the editbox' alpha is down to 0 but the text will be still visible.

Posted

hmm, actually you can make it a label and make something like:

  
Label = guiCreateLabel (...) 
bindKey("H","down",theFunction) 
function theFunction () 
text = guiGetText(Label) 
guiSetText(Label,text + "H") 
end 
  

Posted

You can't. You'd either have to make your own editbox or come up with some other workaround.

One workaround I can think of would be to put a label at the same location as the editbox, but have the editbox's alpha set to 0. Then use the event onClientGUIChanged and make the label text the same as the editbox.

You might have to fiddle around with guiBringToFront as well.

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...