Messages from list : cormas@cirad.fr

Choose a topic among the following archives :

doubts about interface

New Message Reply Date view Thread view Subject view Author view

Subject: doubts about interface
From: Diana Adamatti (diana.adamatti@poli.usp.br)
Date: Mon Aug 11 2003 - 19:07:23 CEST

Hello,
I'd like get and/or set 'fields" creating in VisualWorks Graphic Interface.

For example:
I have in class "telaInicial" a field " InputField1", and I'd like to get the value of user input. How is the command in SmallTalk? This class (telaInicial) was defined in Sub-class SimpleDialog.

interface := JogoInterface new.
interface openInterface: #telaInicial.
teste:= interface value: #InputField1.

In this example, I'd like that "teste" variable had the value of InputField1. The command "value" is defined in SmallTalk, but it's return the type of InputField1, not your value.

Thank you,
Diana Adamatti

New Message Reply Date view Thread view Subject view Author view
 

Back to home