Hello,
I inserted the line
(TheTypeCode == WT_COMBOBOX) ||
in my Default script file in the OpenComboBox and CloseComboBox scripts.
Alt+Downarrow and Alt+UpArrow now work as they should except for in Word97.
In Word97 ALT+Up and ALT+Down causes a "This Program has caused an illegal
operation and will be shut down...". Then JFW shuts down.
I tried this in the ComboBoxes in the Formatting toolbar and in the Look in
combobox in the Open dialog box.
I actually prefer the F4 trick over the alt+down for opening comboboxes but
I am curious as to why Word97 causes the alt+down command to knockout JFW?
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Lee Maschmeyer
Sent: Thursday, May 06, 1999 6:25 AM
To: [EMAIL PROTECTED]
Subject: Re: jfw33 and combo boxes
Yes, there is a problem with combo boxes. They forgot to test for a window
type when deciding whether to read a sentence or work on a box. Strangely,
the type they forgot to test for was the combo box.
You can reproduce the problem by running Script Manager and opening a file.
Pressing Control+o puts you on the filename field. Press Shift+tab twice to
get to a combo box. Alt+Downarrow doesn't work right.
F4 does seem to open it, and strangely, so does DownArrow all by itself. But
you can fix the arrows easily:
In both the OpenListbox and the CloseListbox scripts, insert the line:
(TheTypeCode == WT_COMBOBOX) ||
anywhere in the long If statement. Recompile and your life will be serene.
:-)
-
Visit the jfw ml web page: http://jfw.cjb.net
-
Visit the jfw ml web page: http://jfw.cjb.net