Jump to content

Question about GUI menu


Recommended Posts

Hi everyone.

I want to know, how i can change colour for text in gui Memo, i tried this command

LoadFilesText = guiCreateMemo(155, 31, 183, 104, "Please wait. The server loading missing files for game. It's may take few minutes. \n\nThanks for your support.\nInfinity RPG team.", false, LoadFileWindow)
guiSetProperty(LoadFilesText, "TextColour", "FF0064FF")

But colour stay on same. What is wrong?

Regards Nikita.

Link to comment

Ahh, simple. You can't do that on a memo. Some GUI elements can't change color. Look at the wiki closer.

The one that can change colour are only Label and Gridlist (on 1.0.4 onwards). You can take a label instead.

OR

Use a DX text. It looks better than a label.

Link to comment

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