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 <[email protected]>

> 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
>

Reply via email to