Skip site navigation (1) Skip section navigation (2)

Re: extending functionality strategy

From: "Dave Page" <dpage(at)pgadmin(dot)org>
To: "Gevik Babakhani" <pgdev(at)xs4all(dot)nl>
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: Re: extending functionality strategy
Date: 2008-10-20 08:47:11
Message-ID: 937d27e10810200147j22866a1v8ec17c6941d19962@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
On Sat, Oct 18, 2008 at 10:43 PM, Gevik Babakhani <pgdev(at)xs4all(dot)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

In response to

Responses

pgadmin-hackers by date

Next:From: Simon RiggsDate: 2008-10-20 09:25:29
Subject: Hot Standby utility and administrator functions
Previous:From: Guillaume LelargeDate: 2008-10-19 21:33:21
Subject: Re: Buglets in dlgFunction

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group