To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78298


User fs changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|fs                        |pl
--------------------------------------------------------------------------------
                Priority|P3                        |P4
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Jun 11 12:55:09 +0000 
2007 -------
fs->pl: The forms framework sets the ReadOnly property of the AWT control to
"TRUE", since this is what the user specified for the control (you can see this
in the property browser).
The AWT control forwards this to the ListBox VCL control, by calling its
SetReadOnly method.

ListBox::SetReadOnly is implemented as follows:
  mpImplLB->SetReadOnly( bReadOnly );
  StateChanged( STATE_CHANGE_READONLY );
ListBox::StateChanged( STATE_CHANGE_READONLY ) is implemented as follows:
  if( mpImplWin )
    mpImplWin->Enable( !IsReadOnly() );
  if( mpBtn )
    mpBtn->Enable( !IsReadOnly() );

That is, as soon as you set a list box to readonly, it is effectively disabled
(since mpImplWin and mpBtn are the two sub controls which assemble the ListBox
control).

So the question is: Is there a possibility to implement a "real" readonly-ness
for VCL list boxes?


---------------------------------------------------------------------
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]

Reply via email to