RE: MI-L Simulating Info tool...Yes, that's it. Working fine.
Thank you.
  ----- Original Message ----- 
  From: Peter Horsb�ll M�ller 
  To: rugo ; [EMAIL PROTECTED] 
  Sent: Tuesday, December 16, 2003 8:00 AM
  Subject: RE: MI-L Simulating Info tool...


  Try this command: 

  MapInfo.do "Set Window 1008 Table " & tabname & " Rec " & recnum 

  HTH, 
  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: Monday, December 15, 2003 8:16 PM 
  > To: [EMAIL PROTECTED] 
  > Subject: MI-L Simulating Info tool... 
  > 
  > 
  > Hi List, 
  > 
  > I want to simulate Info Tool because when I click on object I 
  > want to make that object visualise (selected) to see which 
  > object is the info related to. 
  > 
  > So first I get x,y where I clicked 
  > then with Searchinfo I get tabname and recnum 
  > With these info I do the following: 
  > 
  > ' * reparent Info Window: 
  > MapInfo.do "Set Window Info Parent " & frmMainWin.hwnd 
  > 
  > ' * open Info Window 
  > MapInfo.do "Open Window Info" 
  > 
  > ' * and I want to make visualisable the selected object and I 
  > expect Info window will actualized 
  >                 
  > MapInfo.do "Select * From " & tabname & " Where ROWID=" & 
  > recnum MapInfo.do "Fetch Rec " & recnum & " from " & tabname 
  > 
  > Result: object will be "selected" but info window says: "No 
  > record selected" (But the map layer selectable!) 
  > 
  > What is wrong? Please help! (I am getting mad :() 
  > 
  > thanx 
  > 
  > George 
  > 

Reply via email to