Sign in to follow this  
Followers 0
BigDaddyO

Trying to disable $GUI_ACCEPTFILES

3 posts in this topic

I have an input box that is disabled at GUI Load.

when you check a checkbox it will enable the input box and set it with $GUI_ACCEPTFILES so I can drag a file onto it to get the location. My problem is that I can't remove the $GUI_ACCEPTFILES when I uncheck the box.

I can disable the box so it's grayed out but then it can still accept drag and drops? isn't there like a guictrlsetstate($Inputbox, -$GUI_ACCEPTFILES) to remove a specific setting? that would certianly be nice.


Share this post


Link to post
Share on other sites



I have an input box that is disabled at GUI Load.

when you check a checkbox it will enable the input box and set it with $GUI_ACCEPTFILES so I can drag a file onto it to get the location.  My problem is that I can't remove the $GUI_ACCEPTFILES when I uncheck the box. 

I can disable the box so it's grayed out but then it can still accept drag and drops?  isn't there like a guictrlsetstate($Inputbox, -$GUI_ACCEPTFILES) to remove a specific setting?  that would certianly be nice.

<{POST_SNAPBACK}>

True the GUI_ACCEPTFILES is never reset,I will do a correction so GuiCtrlSetState($inputbox,$GUI_ENABLE) will reset it :lmao:

Share this post


Link to post
Share on other sites

True the GUI_ACCEPTFILES is never reset,I will do a correction so GuiCtrlSetState($inputbox,$GUI_ENABLE) will reset it :lmao:

<{POST_SNAPBACK}>

Sweet,

I just downloaded the Beta version from the 5th and it disables and enables perfectly. Thank you very much. o:)

Mike


Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0