RE: MI-L "selecting" an object on MAP windowHi Peter,
thanks for reply! Although yet I could not try out (that will come soon) but just to
make sure: my problem is not to select an object and get info about it, but to make it
to look like as an MAP object selected on screen in Mapinfo... (After as I found the
necessary object I want to visualise to see: it is the selected object, like MapInfo
does when I click on an object with mouse during selection tool is aktive)
Your suggestion will do this?
thanks
Gy�rgy
----- Original Message -----
From: Peter Horsb�ll M�ller
To: rugo ; [EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 4:52 PM
Subject: RE: MI-L "selecting" an object on MAP window
You could use a pretty simple SQL Select:
Select * From szTab Where ROWID = nRowIDFound
Where szTab holds the name of your table and nRowIDFound and the ROWID, both found
using SearchInfo()
Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
COWI A/S
Odensevej 95
DK-5260 Odense S
Denmark
Tel +45 6311 4900
Direct +45 6311 4908
Mob +45 5156 1045
Fax +45 6311 4949
E-mail [EMAIL PROTECTED]
http://www.cowi.dk
*****CHANGE OF ADDRESS - COWI's offices in Odense are now under the same roof*****
On December 8th. 2003, Geographical Information & IT moved from Rugaardsvej 55, 5000
Odense C to Odensevej 95, 5260 Odense S.
Please note our new telephone, direct and telefax numbers.
COWI wish you a merry Christmas and a happy New Year.
> -----Original Message-----
> From: rugo [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 09, 2003 4:39 PM
> To: [EMAIL PROTECTED]
> Subject: MI-L "selecting" an object on MAP window
>
>
> Hi List,
>
> please help me on a simple problem.
> II want to simulate clciking on an object in MAP window from
> Mapbasic. Is that possible anyhow?
>
> in details: with SearchInfo() and Fetch I can find the
> necessary object and information, but as it has done I want
> my program to "select" the object on window like when I
> simple click on it (when "selection tool" is active in MapInfo)
>
>
> Please tell me how is possible to do this.
>
> Thank you
>
> Gy�rgy
>