To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65567
Issue #:|65567
Summary:|UnoControlListBoxModel: currentValue problem
Component:|api
Version:|OOo 2.0
Platform:|All
URL:|
OS/Version:|All
Status:|UNCONFIRMED
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|code
Assigned to:|jsc
Reported by:|winwind
------- Additional comments from [EMAIL PROTECTED] Thu May 18 23:34:42 -0700
2006 -------
There are problem in ListBox's currentValue property.
See the code First:
REM *****Test code Start*****
Function check()
Dim oForm As Object
oForm = StarDesktop.CurrentComponent.DrawPage.Forms.GetByIndex(0)
REM ListBox1.currentValue
msgbox "ListBox1's currentValue : " + oForm.getByName("ListBox1").currentValue
REM ListBox2.currentValue
msgbox "ListBox2's currentValue : " + oForm.getByName("ListBox2").currentValue
REM Alway says "true"
msgbox "Compare of ListBox1 and ListBox2 :
"+(oForm.getByName("ListBox2").currentValue=oForm.getByName("ListBox1").currentValue)
End Function
REM *****Test code End*****
There are two ListBox Controls On The Document,
but these two ListBox's currentValue property always says "true" when
ListBox1.currentValue="one" And ListBox1.currentValue="two"
Are they same value or not?
---------------------------------------------------------------------
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]