forums

TNT Basic Forums > Programming Q&A
Scrolling within a canvas
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-06-2006 03:33

Posted by:
swagIT

Location:
Great Wet North (Vancouver)

Find more posts by swagIT

Maybe a dumb question - but I am looking to build an interface in which
the bottom quarter and right quarter are static, containing command buttons, etc...
I would like the top left three quarters of the screen to be a scrolling viewport
of my main map.

Is this possible?

cheers

barry

02-06-2006 07:57

Posted by:
allnodcoms

Location:
hertfordshire (England)

Click Here to Email allnodcoms   Find more posts by allnodcoms

Open Map Viewport

Hi Barry, Yup, 'Open Map Viewport' does exactly that... You just need to give it a canvas reference to draw into (it will create it for you, you just need to tell it the number), which layer of the current map you want to draw and the left, top, right and bottom co-ordinates of the 'window' you want to define... Doddle!
Drop over to the learning zone, and look at 'TNT Basic Help' -> 'Viewports' for a full breakdown.

Danny (nods)

02-06-2006 17:46

Posted by:
swagIT

Location:
Great Wet North (Vancouver)

Find more posts by swagIT

thanks - that clears things up - I was brain-glitching and not seeing it.

cheers

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.