Issue 98219 - Set macro for 'Push button', click the button after Design Mode off
Summary: Set macro for 'Push button', click the button after Design Mode off
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: DEV300m37
Hardware: PC All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 84292
  Show dependency tree
 
Reported: 2009-01-19 08:05 UTC by amy2008
Modified: 2013-01-29 21:53 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description amy2008 2009-01-19 08:05:08 UTC
Can reproduce it with Dev300m39 on WinXP and Fedora

How to reproduce it
1 Open a new document like Writer, Calc etc.
2 View - Toolbars - Form Controls, click "Push Button", drag and draw it in the
  file
3 Select the button, right_click and Control, Properties Button dialog opens, 
  switch to "General" Tab, "Label:Test", "Take focus on Click: Yes";
  switch to "Events" Tab,click button at the end of "When receiving focus" 
  line, "Assign Action" dialog opens, click "Macro" button and OOo Dev 
  Macros - PythonSamples - TableSample - click OK on Macro Selector dialog, 
  click OK on Assign Action dialog, close "Properties Button"
4 Click "Design Mode on/off" button to turn off Form controls bar
5 Click the button inserted at step 2

Result
An error dialog opens

Expectation
Click "OK", it is no use

Note
After step 5, if click "Design Mode on/off" button to make all of buttons on 
Form Controls bar active, then hit OK button on the error dialog, it works very 
well.