Jump to content

dxGui elements properties


Recommended Posts

I've created this gui window, buttons, gridlist, and tabpanel.

i have a separated dx.lua file which includes dxCreateButtonfunction, dxCreateWindow function, etc..

now, my script works just perfectly without any warning. However, when i tried to exports.resourcename:dxFunction()

all the old gui element properties are screwed up, for example :

guiSetVisible(window, true) 
-- The above code used to work with the ordinary guiCreateWindow element 
-- after changing it to  
exports.resourcename:dxCreateWindow(...) 
-- it warns about "Expected GUI element, got DX :/"  

Hope i made it clear enough.

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