[REBOL] Re: Editor
From: ingo:2b1 at: 25-Jun-2002 8:43
Hi Jim,
[jim--clatfelter--net] wrote:
> I wonder if anyone knows how to keep the focus in a text area when
> you click on a button. If I am entering text using the key board,
> when I click a button that is supposed to enter more text, all that
> happens is that I lose the caret and the focus in the text area. I
> have to click back into the text area to get the focus and caret
> back.
I changed the "date" button in your ed-64.r (btw, does this mean, that
you have at least 70 specialized editors?) to the following:
btn green / 1.8 "Date" #"" [
focus my-area
put to-string now/date length? to-string now/date
]
Now the button works as expected - but only a few times. After 3 to 10
times it doesn't do anything at all.
I'm using REBOL/View 1.2.5.4.2 6-May-2002, anyone seeing the same problem?
I hope that helps,
Ingo