To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97044
------- Additional comments from [EMAIL PROTECTED] Wed Dec 10 12:14:44 +0000 2008 ------- sadly, this patch doesn't work (in that it simply doesn't have the desired result). Looking into TextWindow::GetFocus, I think it's mbFocusSelectionHide you need to affect. This variable controls whether the selection is hidden when the control does not have the focus, and as a side effect, it also controls whether or not the complete text is selected when the control gains the focus. Perhaps a better solution, instead of working around the TextWindow's strange mixture of the "hide selection on un-focus" with the "select all on focus" concepts, it would be better to - introduce a SELECTION_OPTION_SELECT_ALL_ON_FOCUS in vcl's settings.hxx - set this bit by default when constructing a StyleSettings instance - reset this bit in the OSqlEdit's constructor - respect this flag in TextWindow::GetFocus At least this would be the cleanest way, IMO. --------------------------------------------------------------------- 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]