Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Update Window1 from Window2
Update Window1 from Window2 [message #105831] Thu, 08 September 2005 14:26 Go to next message
Eclipse UserFriend
Originally posted by: bp.maximuss.dk

Hi NG

I have a little problem. I have an application where i have a main window
(win1) and a pop-up window (win2). My problem is that when i open win2 and
do some stuff in it and hit the "ok" button, i need to have a List and a
Tabel that i need to update with the new data that will be saved in my
database when the "ok" button in win2 is pressed (win2 is then closed)

If somebody have a little gui that i can look after or a good explanation
on how to do it, i will preciate it very much

Greetings from Denmark

MaxiCom
v/Bjarne Pedersen
Re: Update Window1 from Window2 [message #105948 is a reply to message #105831] Thu, 08 September 2005 20:59 Go to previous message
Eclipse UserFriend
Originally posted by: eldzino.gmail.com

hi Bjarne,

make a class instance storing all the information that you wanna store
in the DB and fill it in win2.. after hitting OK button in modal dialog
pane, you can access the filled instance in win1 by some method like
getReturnedInstance and in win1 write to DB...

good luck

Bjarne wrote:
> Hi NG
>
> I have a little problem. I have an application where i have a main window
> (win1) and a pop-up window (win2). My problem is that when i open win2 and
> do some stuff in it and hit the "ok" button, i need to have a List and a
> Tabel that i need to update with the new data that will be saved in my
> database when the "ok" button in win2 is pressed (win2 is then closed)
>
> If somebody have a little gui that i can look after or a good explanation
> on how to do it, i will preciate it very much
>
> Greetings from Denmark
>
> MaxiCom
> v/Bjarne Pedersen
Re: Update Window1 from Window2 [message #610718 is a reply to message #105831] Thu, 08 September 2005 20:59 Go to previous message
Eclipse UserFriend
Originally posted by: eldzino.gmail.com

hi Bjarne,

make a class instance storing all the information that you wanna store
in the DB and fill it in win2.. after hitting OK button in modal dialog
pane, you can access the filled instance in win1 by some method like
getReturnedInstance and in win1 write to DB...

good luck

Bjarne wrote:
> Hi NG
>
> I have a little problem. I have an application where i have a main window
> (win1) and a pop-up window (win2). My problem is that when i open win2 and
> do some stuff in it and hit the "ok" button, i need to have a List and a
> Tabel that i need to update with the new data that will be saved in my
> database when the "ok" button in win2 is pressed (win2 is then closed)
>
> If somebody have a little gui that i can look after or a good explanation
> on how to do it, i will preciate it very much
>
> Greetings from Denmark
>
> MaxiCom
> v/Bjarne Pedersen
Previous Topic:Changing active TabItem in VE
Next Topic:VEP install problem? Or did I miss something stupid?
Goto Forum:
  


Current Time: Fri Nov 08 23:37:01 GMT 2024

Powered by FUDForum. Page generated in 0.03018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top