Hi,
I am making a program where I have a text area that contains text that I want people to be able to highlight and scroll but not edit. (A bit like using the DisableGadget() function but without greying the box and preventing scrolling/selection.) I have seen the ActivateGadget() command that allows keyboard input into a text area/text field. What I need is the opposite of this command, i.e. the command to disallow keyboard input to it? (I was hoping there was a DeactivateGadget()). I thought another way of doing this is by checking to see whether or not the text area has focus and if it has, set the focus to another gadget on the form, but I can't find a command that will set the focus elsewhere.
Please Help - I am stuck at this point
Seb
I am making a program where I have a text area that contains text that I want people to be able to highlight and scroll but not edit. (A bit like using the DisableGadget() function but without greying the box and preventing scrolling/selection.) I have seen the ActivateGadget() command that allows keyboard input into a text area/text field. What I need is the opposite of this command, i.e. the command to disallow keyboard input to it? (I was hoping there was a DeactivateGadget()). I thought another way of doing this is by checking to see whether or not the text area has focus and if it has, set the focus to another gadget on the form, but I can't find a command that will set the focus elsewhere.
Please Help - I am stuck at this point
Seb