Jump to content

[SOLVED]guiCreateEdit


Chronic

Recommended Posts

For some reason this happens: 5ZcTf.png

When I use this code:

local sx,sy = guiGetScreenSize ( ) 
local cjGUI = guiCreateWindow ( sx/3.8, sy/3.8, sx/2, sy/2, "sup", false ) 
local cjEdit = guiCreateEdit ( sx/50, sy/20, sx/2.2, sy/3, "yo", false, cjGUI ) 
guiCreateButton ( sx/50, sy/2.5, sx/5, sy/3, "Accept", false, cjGUI ) 
guiCreateButton ( sx/3.65, sy/2.5, sx/5, sy/2.2, "Cancel", false, cjGUI ) 
guiEditSetReadOnly ( cjEdit, true ) 

Does anyone know how to fix this?

Edited by Guest
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...