Issue 108861 - [From Symphony]Event TextBox.KeyPress,TextBox.Exit can't work with parameters
Summary: [From Symphony]Event TextBox.KeyPress,TextBox.Exit can't work with parameters
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: vba (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 02:50 UTC by lihuiibm
Modified: 2017-05-20 11:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Fix for this issue (8.00 KB, patch)
2010-02-03 02:50 UTC, lihuiibm
no flags Details | Diff
Missing idl file for this issue (800 bytes, text/plain)
2010-03-16 12:01 UTC, lihuiibm
no flags Details
Missing idl file for this issue (797 bytes, text/plain)
2010-03-16 12:02 UTC, lihuiibm
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description lihuiibm 2010-02-03 02:50:07 UTC
Steps:
     1.Open the sample file with OOo in attachments.
     2.Run the sample file as the steps described in sheet1 
     
Defects:
   1.Keypress , runtime error occured with parameter
   2.Exit , rurntime error occured with paramether
Comment 1 lihuiibm 2010-02-03 02:50:52 UTC
Created attachment 67543 [details]
Fix for this issue
Comment 2 lihuiibm 2010-02-03 02:51:17 UTC
1. Root Cause:
The VBA events such as TextBox_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
may cause an error because the original input parameter data structure --
msforms::ReturnInteger -- is a struct, it cannot support default value.
2. Resolution:
Define new interface (XReturnInteger) to support the type of
MSForms.ReturnInteger as well as the default value. Write new class
(VbaReturnInteger) to implement the newly defined interface. Use the newly class
in the event trigger process.
For the issue of MSForms.ReturnBoolean, apply similiar method. 
Comment 3 noel.power 2010-03-09 11:42:37 UTC
XReturnBoolean.idl & XReturnInteger.idl missing, also the sample file is
missing, looks like a promising patch though
Comment 4 noel.power 2010-03-16 11:59:28 UTC
re-assign, please take over and prepare to upstream
Comment 5 lihuiibm 2010-03-16 12:01:13 UTC
Created attachment 68369 [details]
Missing idl file for this issue
Comment 6 lihuiibm 2010-03-16 12:02:57 UTC
Created attachment 68370 [details]
Missing idl file for this issue
Comment 7 Marcus 2017-05-20 11:29:20 UTC
Reset assigne to the default "issues@openoffice.apache.org".