Two simple questions that maybe someone can help with:
1) Roelf had mentioned a while back about OLD.WINDOW.BEHAVIOR set to
OFF as part of a SYS.WINDOW solution to keep it from QUIT-ing when it
loses focus. I read the bit in the manual about window behavior, but
I'm stumped concerning which include file the SYS.WINDOW event
handling code is located in. Any pointers?
2) I find it an irritation that the initial Sibley window is tucked a
few pixels under the menubar and I'd like to lower it. The suggestions
(EDITOR.BOUNDS) in one of the README files led to some weird behavior.
I looked at the Editor code and it seems there are a number of likely
places to begin fiddling. But before I do, does anyone know exactly
where I should be looking?
Best to everyone out there! Charles
hi Charles,
1. It's in the root with all the other default event stuff.
AFAIK not in a separate include file.
2. This doesn't happen on my systems, what are you using?
BTW does anyone happen to know how I can turn the 'automatic
open a Sibley window on launch' off?
> 1. It's in the root with all the other default event stuff.
> AFAIK not in a separate include file.
OK, but I'm confused. If I want to have my SYS.WINDOW not to QUIT when
it loses focus, I have to set OLD.WINDOW.BEHAVIOR to OFF. But there
must be more, as this does nothing for me.
> 2. This doesn't happen on my systems, what are you using?
> BTW does anyone happen to know how I can turn the 'automatic
> open a Sibley window on launch' off?
I fixed it: found the place in the Editor file. It was off by 2
pixels, like this:
<http://www.propheticdesire.us/sibley.png>
Looked around for the "auto launch" but so far no luck...
Thanks! Charles
> Roelf Toxopeus wrote:
>
> > 1. It's in the root with all the other default event stuff.
> > AFAIK not in a separate include file.
>
> OK, but I'm confused. If I want to have my SYS.WINDOW not to QUIT when
> it loses focus, I have to set OLD.WINDOW.BEHAVIOR to OFF. But there
> must be more, as this does nothing for me.
Sorry, yes, there is more. This was just for starters :-)
My code to do this is on the MF board snippets section, I'll send you
the latest version.
>
> > 2. This doesn't happen on my systems, what are you using?
> > BTW does anyone happen to know how I can turn the 'automatic
> > open a Sibley window on launch' off?
>
> I fixed it: found the place in the Editor file. It was off by 2
> pixels, like this:
>
> <http://www.propheticdesire.us/sibley.png>
Aaaah, yes I see. I have the same, hadn't noticed it before you showed
this. Now I want to have this fixed of course.
Where in Editor (it's huge)?
>Aaaah, yes I see. I have the same, hadn't noticed it before you showed
>this. Now I want to have this fixed of course.
>Where in Editor (it's huge)?
Sorry! I get the comp.lang.forth.mac in digest form so there's a
lag...
Look in the "Editor" file around line 324:
>>dY dX
>> _GetMBarHeight 40 min 22 + \ initial TOP value
>> left \ arrange: dY\dX\T\L
>> howHigh howWide
I changed the value 20 to 22.
Best, Charles