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

Re: Something about the output data.

From: 韦春阳 <bessie2525(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: Dave Page <dpage(at)pgadmin(dot)org>, "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Something about the output data.
Date: 2010-08-12 14:48:30
Message-ID: AANLkTimwCVE-j5_t-PMwBRvMp3HNNp7U6pw4bZ=v4ivv@mail.gmail.com (view raw or flat)
Thread:
Lists: pgadmin-hackers
Thanks for your help.
I look at the *frmQuery.cpp*. In it, the *sqlResult* object take charge of
showing the result table of the sql query execution.
The sqlResult is a pointer of *ctlSQLResult*,which derived from *ctlSQLGrid*,
which derived from wxGrid.
Can I make some change to it to get this purpose:
I want to click one detail of the table, or something action like that, and
show a new window contains the whole text.
I've no idea about how to do this, can you give me some advice?
Thank you very much.


Bessie

2010/8/12 Guillaume Lelarge <guillaume(at)lelarge(dot)info>

> Le 12/08/2010 07:40, 韦春阳 a écrit :
> > I'm a beginner, and I'm not very familiar with the wxWidgets.
> > So, I wish I could get some advice from you.
> > How can the new windows show exactly one specific table content in the
> > wxGrid? And in the pgAdmin project, which part of code should I work on?
> >
>
> Well, the form you talked about is frmEditGrid. You can find the source
> code in pgadmin/frm/frmEditGrid.cpp (and its header in
> pgadmin/include/frm/frmEditGrid.h). We don't use directly a wxGrid, but
> a custom component derived from it. I think you first need to be more
> familiar with frmEditGrid before trying/coding anything.
>
>
> --
> Guillaume
>  http://www.postgresql.fr
>  http://dalibo.com
>

In response to

Responses

pgadmin-hackers by date

Next:From: Matt JanssenDate: 2010-08-12 16:40:25
Subject: UI Addition Request. View Data > View BOTTOM 100 Rows
Previous:From: Guillaume LelargeDate: 2010-08-12 07:44:52
Subject: Re: Something about the output data.

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