How to lock EditBox so it doesn't accept input?
Hi all,
Basically it's most on the thread's title. I've a checkbox on my addon config frame that should lock the editboxes on that frame so that user can't edit them accidentally (what happen to me a lot during test :P) Thanks |
I would think that using this method could do what you want:
Quote:
Edit: I cannot remember (or test right now) if clicking a checkbox removes focus from a currently focused editbox. If not, you would have to add some code for that too, I guess. |
Thanks that worked!
Here's the code in case someone might need it: Code:
function chlAYLock_OnClick() |
All times are GMT -6. The time now is 06:24 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI