[Scribus] Why is the Selection Change event not available for combo boxes?
Thu Nov 23 20:29:20 CET 2006
I'm very new to Scribus (and fillable PDFs) so apologies if the answer
What I am looking for is an event fired when a selection is made in a
Selection Change event for the ListBox control so I wondered if the
Combo needed to be non-editable before that option was available. But no
- nothing seemed to make that option appear.
It looks like this is probably because of the limitations of Acrobat
documentation p.335 looks relevant ...
This event occurs whenever a user types a keystroke into a text box or
(including cut and paste operations) or selects an item in a combo box
list or list box field. A
keystroke script may limit the type of keys allowed. For example, a
numeric field might only
allow numeric characters.
The Acrobat user interface allows the author to specify a Selection
Change script for
list boxes. The script is triggered every time an item is selected. This
is implemented as the
keystroke event where the keystroke value is equivalent to the user
selection. This behavior
is also implemented for the combo box ? the ?keystroke? could be thought
to be a paste
into the text field of the value selected from the drop-down list."
... as is the comment on p.342 that the Selection Change event is for
list boxes only. So should I be using the keystroke event instead? But
the only events Scribus exposes to me are the four mouse events, and the
focus and blur events. None of these seem useful.
I have managed to get something useful working with a listbox but what I
really want is a combo box to save screen/page real estate.
All the best, Grant
Dr Grant Paton-Simpson
Director, Paton-Simpson & Associates Ltd
16 Summit Drive, Mt Albert, Auckland 1025
More information about the scribus