Jeff,
So, I am finally looking at this code more carefully, text is created with outtext command with specific X,Y positions. The first three are the Plot Scale, File Number and File Increment and they are all positioned correctly. The next outtext call (about 44 lines of code later) is for the "Plot-CM" and it is now shifted upwards and all text after is shifted upward. I have looked at the code in between but don't see any obvious issues. I have included the code between these screen writes below.
Also the information viewport below the control viewport is shifted too somehow as the top line of information is now missing. I didn't notice that before. There should be room for 3 information lines of text, there still is but the first one is missing... perhaps underneath the control view port?
Here is the promised code:
call outtextxy(10,57,inctext)
call settextjustify(RIGHT_TEXT,CENTER_TEXT)
! Create scale text box and set contents
isclbox = createtextbox(80, 5, 60, 20)
call settextboxcontents(isclbox, scalenumber)
! Create file number text box and set contents
ifilebox = createtextbox(80, 30, 60, 20)
call settextboxcontents(ifilebox,filenumber)
! Create file increment text box and set contents
incbox = createtextbox(80, 55, 60, 20)
call settextboxcontents(incbox, trim(fileinc))
ibtoffy=(ibutton-8)/2
! Create x-offset text box and initialize its contents
ixosbox=createtextbox(iptx-25,30,50,15)
write(xostext,'(f7.1)')xos
call settextboxcontents(ixosbox,xostext)
! Create y-offset text box and initialize its contents
iyosbox=createtextbox(iptx-25,45,50,15)
write(yostext,'(f7.1)')yos
call settextboxcontents(iyosbox,yostext)
! Create z-offset text box and initialize its contents
izosbox=createtextbox(iptx-25,60,50,15)
write(zostext,'(f7.1)')zos
call settextboxcontents(izosbox,zostext)
! Build C-M Object Check box and text box
!Check C-M Plot box is first
icbox1=createcheckbox(295,47,15,15,'',cboxone)
! Create PPV check box
iPPVChkBx=createcheckbox(295,62,15,15,'',cboxPPV)
! create first object text box
ipart1box=createtextbox(280,5,40,20)
call setcolor(mDrkGrn)
write(ipart1text,'(i5)')ipart1
call settextboxcontents(ipart1box,ipart1text)
! create second object text box
ipart2box=createtextbox(280,25,40,20)
call setcolor(mRed)
write(ipart2text,'(i5)')ipart2
call settextboxcontents(ipart2box,ipart2text)
! Write text out to the viewport for text box descriptions
call settextjustify(LEFT_TEXT,CENTER_TEXT)
call setcolor(mBlack)
call outtextxy(240,47,'Plot C-M')