Hello!!! I don't know how to do this: I have a "sales window" and when I put to search a Customer, the "SearchCustomer Window" appear. So I select one and in the 1st window I have 3 input that now, were completed with the id, name and surname of the person. Do u understand me??
I can take the data out but no update the inputs fields... Here what I have: { registerSales self openDialogInterface: #registerSalesWindow. "this is what don't work" codShow := self clienteShow codCustomer. nameShow := self clienteShow name. SurnameShow := self clienteShow surname. }"codShow,nameShow and SurnameShow are the readOnly inputs" "Action Button message" {selectCustomer self openDialogInterface: #searchCustomerWindow. clienteShow := clientesLista selection. } "clienteShow is an Instance variable" Well, I wonder If U first can understand me and then If U could help me. Thanks _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi!!
Sorry for my poor English (I'm learning a lot with this list :) ). Now I uploaded the screenshot for you... >REGISTER WINDOW http://www.compubitweb.com.ar/vwsmalltalk/salesRegisterWindow.png "THE 'SELECCIONAR CLIENTE' is a link to the SEARCH WINDOW" "There are with a black line the widgets that we are speaking about" >SEARCH WINDOWhttp://www.compubitweb.com.ar/vwsmalltalk/customerSearchWindow.png "What exactly were you expecting and what are you not getting when you write: "I can take the data out but no update the inputs fields..."?? " I can take out the selected customer and his information but I cannot show that in the input fields of the registerSalesWindow. For the user to now which customer did him select. Now it's better? JP Cook On Wed, Nov 12, 2008 at 11:51 AM, Cesar Rabak <[hidden email]> wrote: Juan Pablo Cook escreveu: _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Juan Pablo Cook escreveu:
> Hi!! > Sorry for my poor English (I'm learning a lot with this list :) ). Now I > uploaded the screenshot for you... > > >REGISTER WINDOW > http://www.compubitweb.com.ar/vwsmalltalk/salesRegisterWindow.png "THE > 'SELECCIONAR CLIENTE' is a link to the SEARCH WINDOW" "There are with a > black line the widgets that we are speaking about" > > >SEARCH > WINDOWhttp://www.compubitweb.com.ar/vwsmalltalk/customerSearchWindow.png > <http://www.compubitweb.com.ar/vwsmalltalk/customerSearchWindow.png> > > "What exactly were you expecting and what are you not getting when you > write: "I can take the data out but no update the inputs fields..."?? " > > I can take out the selected customer and his information but I cannot > show that in the input fields of the registerSalesWindow. For the user > to now which customer did him select. Now it's better? > registerSalesWindow but you're calling "SearchCustomer Window" asynchronously, so by the time you come back to registerSalesWindow this code: codShow := self clienteShow codCustomer. nameShow := self clienteShow name. SurnameShow := self clienteShow surname. does not reflect the selection done in the code for Action Button: clienteShow := clientesLista selection. _If_ this the case, one way of solving this would be the use of the Dependencies mechanism VW supports. Get a look in the example DependencyExample (runnable from the Help Launcher) and the theory in chap 9 "Dependencies Between Objects" of AppDevGuide and chapter 3 "Adding and Removing Dependencies" of GUIDevGuide. HTH -- Cesar Rabak GNU/Linux User 52247. Get counted: http://counter.li.org/ _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |