To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73495 Issue #|73495 Summary|ImageButton control: "SetImage" broken Component|framework Version|OOo 2.1 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|cd Reported by|akrioukov
------- Additional comments from [EMAIL PROTECTED] Mon Jan 15 14:12:18 -0800 2007 ------- I am experimenting with complex toolbar controls for my add-on package. I would like to indicate the state of my application by setting different images for an ImageButton control. Unfortunately, sending the "SetImage" command to the control produces no result, although my code seems to be correct (all operations with other controls work perfectly). I had a look at OOo sources and noticed the following condition in framework/source/uielement/imagebuttontoolbarcontroller.cxx: if ( rControlCommand.Command.equalsAsciiL( "SetImage", 7 )) As you can see, the second argument of equalsAsciiL is probably wrong (should be 8). Is it possible that "SetImage" fails for this reason? P.S. Reducing the command name to 7 characters (i. e. "SetImag" instead of "SetImage") doesn't help. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
