To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=66117 Issue #:|66117 Summary:|Calling vFound.getString() causes statusbar reset Component:|api Version:|OOo 2.0.2 Platform:|PC URL:| OS/Version:|Windows 98 Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|jsc Reported by:|tombil
------- Additional comments from [EMAIL PROTECTED] Mon Jun 5 07:15:52 -0700 2006 ------- Hi, when I worked with ThisComponent.findNext... found next mistake: After calling vFound.getString() statusbar is reset. In OOo 1.1.5 it works O.K. Next basic code and attachment file demonstrate it. sub makro1_Ctrl_M ThisComponent.CurrentController.statusIndicator.reset ThisComponent.CurrentController.statusIndicator.start("bla bla bla bla bla bla:", 10) dim count as long count = 0 RpDesc = ThisComponent.createReplaceDescriptor() RpDesc.SearchCaseSensitive = TRUE RpDesc.SearchRegularExpression = TRUE RpDesc.SearchString = "text" vFound = ThisComponent.findFirst(RpDesc) Do While Not IsNull(vFound) count = count + 1 ThisComponent.CurrentController.statusIndicator.setValue(count) report = cstr(count) ' Calling vFound.getString() causes statusbar reset report = report + " Found: "+ vFound.getString() msgbox report vFound = ThisComponent.findNext( vFound.End, RpDesc) Loop ThisComponent.CurrentController.statusIndicator.end end sub Thanks, Tom B. --------------------------------------------------------------------- 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]