Jump to content

Trying to disable $GUI_ACCEPTFILES


BigDaddyO
 Share

Recommended Posts

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.

Link to comment
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:
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...