Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||the "key press" event doesn't get called when the generating control is a textbox in a gridcontrol with multtiline property set to true|
|Component:||code||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description kompix69 2010-03-22 18:16:54 UTC
In an Base document I created a form that contains a grid control. When editting the form: -Assign a macro for the "key pressed" event of the grid control (p.e. "grid_key_pressed") -Do the same for two different columns in the grid control (let's call them Col1 and Col2). Both columns are of "Text Box" type. Let's call the associated macros col1_key_pressed an col2_key_pressed. -set property "Multiline input" ("General" tab) to "no" for Col1 and to "yes" for Col2 -Save and close When you open the form, and type something inside Col1, grid_key_pressed gets called first, and then col1_key_pressed. But when you type in col2 neither grid_key_pressed nor col2_key_pressed get executed. Edditing the form and setting col2 multiline property to "no" makes col2 fire both macros grid_key_pressed and col2_key_pressed.
Comment 1 r4zoli 2010-03-23 11:39:04 UTC
*** Issue 110317 has been marked as a duplicate of this issue. ***
Comment 2 r4zoli 2010-03-23 11:39:46 UTC
*** Issue 110316 has been marked as a duplicate of this issue. ***
Comment 3 r4zoli 2010-03-23 11:40:17 UTC
*** Issue 110315 has been marked as a duplicate of this issue. ***
Comment 4 marc.neumann 2010-04-07 12:09:25 UTC
confirm , set target and send to the right developer @oj: open the attached bugdoc and insert something in the "Type" column in the grid control. ==>> the key pressed event is not fired.