Re: extending functionality strategy

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: extending functionality strategy
Дата
Msg-id 937d27e10810200147j22866a1v8ec17c6941d19962@mail.gmail.com
обсуждение исходный текст
Ответ на Re: extending functionality strategy  ("Gevik Babakhani" <pgdev@xs4all.nl>)
Ответы Re: extending functionality strategy  ("Gevik Babakhani" <pgdev@xs4all.nl>)
Список pgadmin-hackers
On Sat, Oct 18, 2008 at 10:43 PM, Gevik Babakhani <pgdev@xs4all.nl> wrote:
>> I think the first thing to do is a quick inventory of the
>> lists where we might need to do this.
>
> This is of course needed to be done in order to continue with an item
> ordering/arranging solution. But before we continue we should know that most
> of the lists we use in PGAdmin are of wxListView type (wxListCtrl) which
> have no built-in way to set the item ordering (item index). This leaves us
> with a hacky solution which involves using ItemData from wxListItem. This
> means that item ordering/arranging cannot be done when one of our
> wxListViews uses wxListItem::ItemData. Any thoughts?

Well the other way is to remove the item to be moved, and re-insert it
with a new index.

--
Dave Page
EnterpriseDB UK:   http://www.enterprisedb.com

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Buglets in dlgFunction
Следующее
От: Simon Riggs
Дата:
Сообщение: Hot Standby utility and administrator functions