Re: Formatted text confuses table grid under windows

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Formatted text confuses table grid under windows
Дата
Msg-id 47B16B11.4040402@hagander.net
обсуждение исходный текст
Ответ на Re: Formatted text confuses table grid under windows  ("Dave Page" <dpage@pgadmin.org>)
Ответы Re: Formatted text confuses table grid under windows
Список pgadmin-hackers
Dave Page wrote:
> Hi Erwin,
>> To see my point you might want to just reproduce the bug. Create an email
>> hyperlink in an OOo document. (Insert -> Hyperlink ..) Then copy/paste the
>> email-address to a text field in the table grid.
>>
>> As long as you are in edit mode, the field displays (in blue, so obviously
>> something is different):
>>         test@foo.org
>>
>> As soon as you leave the field, to another column or row, saving the data or
>> not, the display changes to:
>>         HYPERLINK "mailto:test@foo.org" test@foo.org
>>
>
> Unfortunately I cannot find any way around this. If we stop using the
> rich text control, we limit the amount of data we can handle as the
> non-rich text variant will simply truncate oversized data on win32.
> There is no way in wxWidgets to remove the URL formatting that I can
> find, nor is there any way offered by the rich text controls own API
> :-(. It is somewhat odd that we can get the text with the other
> formatting (font etc) though - perhaps an overisght on Microsoft's
> behalf?

AFAIK, none of that auto-formatting is a part of what Windows richtext
control does, I think it's all in wx. Not that it helps you, though :-(
Unless you want to add code to wx to do it...


//Magnus

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: svn@pgadmin.org
Дата:
Сообщение: SVN Commit by dpage: r7073 - trunk/pgadmin3
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: Formatted text confuses table grid under windows