Subject: RE: Comment créer une interface avec cormas?
From: Pierre Bommel (bommel@cirad.fr)
Date: Mon May 15 2006 - 15:18:50 CEST
Hy,
If you just need to set the value of an attribute interactively, you
can also use 2 other solutions.
* Using Dialog class (see all available class methods by editing the
Dialog class)
| answer |
answer := Dialog request: 'What is the value of xxx ?' initialAnswer:
'0'.
answer = '' ifTrue:[^nil].
self myAttribute: answer asNumber
* Using Cormas facilities :
Best reagrds,
Pierre Bommel - CIRAD - UR Green
Universidade de Brasília - Centro de Desenvolvimento Sustentável
SHIS QI 26, Conjunto 15, Casa 18
71670-150
Brasília DF
tel: (00 55 61) 3367 3405
http://www.cirad.fr/ur/green