Il existe dans MapBasic (j'assume que vous en disposez) une proc�dure
appel�e SelChangedHandler, laquelle est ex�cut�e � chaque fois que la
s�lection est modifi�e.  Vous pouvez utiliser cette proc�dure pour lancer
l'ex�cution des commandes d�crites dans l'option 2 ci-dessous.  Le probl�me
de rafra�chissements d'�cran demeure.

_____________________________________________ 

Claude Lavoie 
Service du soutien � la client�le 
Direction des technologies de l'information 
Minist�re des Transports du Qu�bec 
35, rue de Port-Royal Est, salle 5.00 a 
Montr�al (Qu�bec) 
H3L 3T1 

T�l�phone:      (514) 873-6280 
T�l�copieur:    (514) 873-8203 
Courriel:       mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>  
_____________________________________________ 

-----Message d'origine-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Date: 3 novembre, 1999 03:34
�: [EMAIL PROTECTED]
Objet: MI: making some objects invisible in a table



hello, 

We have to solve the following problem: 
we would like to have some objects (regions) invisible in a map (and of
course NOT selectable in that map). 
This is logically equivalent to 'filter' the records before displaying them.

We have tried different solutions, but none is really good: 

1. Set the object's contours style to 'invisible' and fill patern to 'none'
is not good, as the object is still selectable in the map.

2. Do a SELECT and add the result query to the a map is too static: the
condition (based on columns values) which makes the objects
visible/invisible may change, 

so we must re-issue the SELECT, and add the result to the map again (the
main problem is to 'detect' when data has changed to trigger this new
SELECT, also the whole map will be refreshed when the result is
removed/added to the map).

3. Move the objects from the displayed table to another table. 

Does anybody has another idea ? 

What would be the best: 
Mapinfo adds a new attribute in a layer: a logical expression, based on
columns values like for labels, which, when evaluating to false will cause
the object NOT to be displayed. This would be very dynamic (as for thematic
maps, which are updated as soon a record is updated)

Thanks, 

Fr�d�ric DENTRAYGUES 
REALIX TECHNOLOGIES 
2, rue de la D�couverte 
BP 146 
31676 - LABEGE CEDEX 
Tel: 33 05 62 24 99 54 
Fax: 33 05 61 39 96 59 

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to