RE: Ready Only MLE
- Posted by bensler at mail.com Jan 17, 2002
- 403 views
The vscrollbar is also disabled. Chris Brian Broker wrote: > What version of Win32Lib are you using? I stuck a > setEnable(Mle1,False) > in the onOpen() routine of my previous example and I can't edit, tab to, > > nor give it focus with mouse... > > -- Brian > > > Chris wrote: > > Another Q... > > > > I know how to make the MLE read_only, and non-TABable, but but the > > MLE can still be selected with the mouse. Focus is then given to the > > MLE, and it displays the caret position. I don't want the MLE to be able > > > > > > to receive focus at all. > > > > I've tried trapping onGotFocus, and setting the focus to the default > > ctrl, but it doesn't work. In fact, as a result of setting the focus to > > the default ctrl, I'm not able to select that control anymore. > > > > I've also tried trapping the onMouse event, and Left button events > > aren't reported to the handler. And even so, I'm still not able to set > > the focus to the other ctrl. > > > > TIA > > Chris > > > >