Form View Question

Craig McPherson cdpublishing at qwestoffice.net
Fri Jan 25 14:25:05 PST 2008


There are many ways, here is one:

local newWindowRect
newWindowRect=rectanglecenter(
      info("WindowRectangle")  ,
     rectanglesize(1,1,9*36,3.5*72))

setwindowrectangle newWindowRect,
     "noHorzScroll noVertScroll noPalette"
     opendialog "Return Authorization Form"

/* If you leave the setwindowrectangle with the last parameter blank  
you will retain the scroll options and palette*/
in that case it would be:
setwindowrectangle newWindowRect,""


You can also use OpenForm instead of OpenDialog...if you use  
OpenDialog, you will probably want a CloseWindow button on the form

Craig McPherson

On Jan 25, 2008, at 2:13 PM, Nora Kramer Lester wrote:

> I have set up a form within our database for a Return Authorization  
> Form. I
> used the following to create a button in our main window that opens  
> the
> form:
>
> Field "RMA Number"
> OpenForm "Return Authorization Form"
>
> When the form opens, it opens in a new window, however the window  
> takes up
> the entire screen and covers our main window. Is there a way to  
> specify that
> form open beside the main window in a separate screen? Such as a  
> way to set
> the dimensions of the new form and position it opens in on the screen?
>
> Thanks in advance for any help.
>
> Nora
>
>
>
> _______________________________________________
> Qna mailing list
> Qna at provue.com
> http://provue.com/mailman/listinfo/qna



More information about the Qna mailing list