Thanks to Andrew Harfoot who gave the right solution to get the map to
redraw properly:

Run Menu Command 610 ' (M_WINDOW_REDRAW)

Well, this seems obvious but if you're looking in the wrong direction,
then.... ;-)
However, I still can't figure out why Update Window doesn't work. According
to MB-help this command should do the same...
And I also can't figure out why it's nessecary - I've never seen it before.
It might be the custom symbol.

Thaks again
S�ren Breddam



-----Oprindelig meddelelse-----
Fra: Andrew Harfoot 
Sendt: 3. september 2004 13:23
Til: S�ren Breddam
Emne: Re: MI-L Map window doesn't update


Hi Soren,

I'm not sure why the map redraw process doesn't work, but you might try  
calling the 'Ctrl+D' redraw using 'run menu command' - the relevant line  
 from menu.def is:

Define M_WINDOW_REDRAW   610

Andrew

On Thu, 2 Sep 2004 17:53:32 +0200, S�ren Breddam <[EMAIL PROTECTED]> wrote:

> Hi List,
>
> I've made this custom tool that copies a column value from a table,  
> creates
> a point in the map in another layer and updates a specific column.
> Everything is ok but the redraw of the map. I have to press Ctrl+d to see
> the symbol.
>
> Why is that?
>
> Is it because of the custom symbol?
> Create point
>       (CommandInfo(CMD_INFO_X),CommandInfo(CMD_INFO_Y))
>       Symbol MakeFontSymbol(102,255,24,"MapInfo Miscellaneous",256,0)
>
> I have tried Set Map Redraw Off/On and Set Eventprocessing Off/On and  
> Update
> Window FrontWindow() - nothing works :-(
>
> The tool is for geocoding pictures (if any) that are not automatically
> related to a point from my GPS's tracklog. Then I make a temp table with  
> the
> path to the picture and this is just being transferred to a column in the
> new table.
>
> TIA
>
> S�ren Breddam
> GIS- og IT-koordinator
> Teknik og Erhvervsforvaltningen
> Stevns Kommune - www.stevns.dk
> *  Tlf.:  5656 1800
> *  Dir.:  5656 1891
>
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 13188



-- 
----------------------
Andrew Harfoot
Geodata Institute
University of Southampton

tel: +44 (0) 23 80592719
fax: +44 (0) 23 80592849
[EMAIL PROTECTED]

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13198

Reply via email to