NS Basic does use pixels instead of twips for most functions. The eVB2NSB converter divides all positions by 15 to do the conversion.
The Output object is a PictureBox. Currently, only ScaleMode 3 is supported. <http://www.nsbasic.com/ce/info/technotes/TN13.htm> >Hello, > >While converting an eVB program I noticed that NSB uses pixels as the >default measurement for control coodinates while eVB uses twips. > >Is there a way to set the controls to use twips in NSB to avoid >changing the exisitng code ? > >I tried output.ScaleMode = 1 >which should be twips but output.Height and output.Width are still >returned in pixels. > >Thanks ! > > > > > >------------------------------------ > >Yahoo! Groups Links > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
