Re: Possible frmMain.tv_NodeClick bug
От | Dave Page |
---|---|
Тема | Re: Possible frmMain.tv_NodeClick bug |
Дата | |
Msg-id | FED2B709E3270E4B903EB0175A49BCB1047664@dogbert.vale-housing.co.uk обсуждение исходный текст |
Ответ на | Possible frmMain.tv_NodeClick bug (Jean-Michel POURE <jm.poure@freesurf.fr>) |
Список | pgadmin-hackers |
> -----Original Message----- > From: Jean-Michel POURE [mailto:jm.poure@freesurf.fr] > Sent: 04 March 2002 18:26 > To: Dave Page > Cc: pgadmin-hackers@postgresql.org > Subject: [pgadmin-hackers] Possible frmMain.tv_NodeClick bug > > > Hi Dave, > > I noticed that "frmMain.tv_NodeClick frmMain.tv.SelectedItem" > was used > several times to simulate a node click. > > When opening several objects simultaneously, this might > generate bugs. What > do you think? No, I don't think that will cause a problem as it will always redisplay whatever is currently selected in the treeview, not the opened object. I am considering another related fix though - the code that searches for the nodes to add, drop or update is no longer required *I think*. Originally, objects in pgSchema had no knowledge of their parents in the hierarchy, so there was no easy way to locate the precise node in the tree. Nowadays, each object has a Database, and possibly Table property so we should be able to precisely figure out the correct node just by checking the relevant properties. Regards, Dave.
В списке pgadmin-hackers по дате отправления: