Skip to main content

two .net graphics questions - update

1 post / 0 new
pox
pox's picture
two .net graphics questions - update

Having completed my CHARA app (using VB6) I am now trying to produce a 'modern' version in vb.net. This is 95% done and working, but there are just two features of the VB6 version that I can't figure out how to do in vb.net:

1) Since VSP charts are 1200 x 1500 pixels (I think) the user needs to be able to drag them inside the observation screen viewport which is much smaller. Now, while I can do this in VB6 I have no idea how to essentially drag one large picturebox inside the viewport which is a smaller, static picturebox in vb.net.

2) Again, this is fine in the VB6 version where, if the user wants to show a standard B/W chart, the app recolours the display of the chart so that it is red stars on a black background, for night vision's sake. Again, I have no idea how to do this in vb.net.

Any .net geniuses out there?

Update, Feb 2:

Looks as though there isn't a ready way to do the latter in vb.net! So we'll have to make do with the existing (VB6) verrsion. Shame, but there it is...

AAVSO 49 Bay State Rd. Cambridge, MA 02138 aavso@aavso.org 617-354-0484