Subject: Re: Display a number or a image in SpatialEntity
From: Pierre Bommel (bommel@cirad.fr)
Date: Tue Mar 25 2003 - 10:25:29 CET
Hello Diana,
dianaada a écrit :
> Hi,
> I'd like to know if possible display a number
> (1,2,3,...) or a image (.gif or .jpeg) in a space of
> SpatialEntity.
>
> I'm attacking a grid screen, and I'd like, for example,
> to put in first cell (in black color) the number 1 in
> white color. Is it possible?
You must send the message "displayString: aString" to your cell. For example
(into a Cell's method):
self displayString: (self state printString) (printString converts a
number as a String)
> Other doubt: Can I change a cell border? It is necessary
> to limite a space of igual cells.
Sorry but I don't understand your question. Can you be more precise, please ?
Best regards,
Pierre
***********************************
Pierre Bommel
CIRAD TA 60/15
73, rue Jean-François Breton
34398 Montpellier cedex 5 France
Phone: +33 (0)4 67 59 38 53
Fax: +33 (0)4 67 59 38 27
http://cormas.cirad.fr
***********************************