I seem to remember something about the form.AllowOutput property and things
disappearing.  Try changing that setting and see if that helps.

Don't know why you would have a parameters issue unless you have custom code
that's overridden the default behavior and you have an altered parameter
statement there.  Even a space character in the method will override it (and
cause there to be no parameter statement at all).

Fred


On Thu, Feb 3, 2011 at 4:04 AM, william tormey <
[email protected]> wrote:

> My Thanks to Alan, Fred and Tracy.
> Box(0,0,633,620) works fine on a New form with Draw mode =13, Draw
> style=0,Draw width 10.This gives a box that one cant miss seeing.
>
> But on the form I want to put it on, I can now see it loading and then
> it disappears, with error msg "Must specify additional Parameters"
>
> I have established max values for box draw parameters wrt
> top,left,height and width of form max values wrt physical screen
> pixels values.
>
> Have decided to chuck the original form and start again with a form on
> which box works.
>
> Learned lots about using the interpreter and parameter passing with
> forms, thanks to your support.  The project involves porting inherited
> VFP, 338 classes and Docs, and mounds of VFP, Clipper and C code. As
> Stephen remarked  in an earlier post; porting previous code has its
> joys. Actually he was not quite so polite.
>
> Many Thanks again.
> William
>
>
>
>
>
>
>
>
>
> On Mon, 2011-01-31 at 20:32 +0000, Alan Bourke wrote:
> > Just created a form in VFP9 and did this in the Init():
> >
> > This.Box(10, 10, 20, 20)
> >
> > ... which a boxeen.
> >
> > On Mon, 31 Jan 2011 19:22 +0000, "william tormey"
> > <[email protected]> wrote:
> > > Hi all.
> > > Am trying to use Box(x1,y1,x2n,y2) to draw rectangles on a Forms.
> > > to outline rolling displays for process parameters.
> > >
> > > DG VFP 5.0 says Syntax is Object.Box(----)
> > > Have tried things like myform.Box(----) as code  & in Init
> > > Thisform.Box(----), but get errors telling me cant find Box
> > > from the compiler and interpreter. Seem to need to tell the form it
> > > has a Box method. Don't know how.
> > >
> > > The original code for all this used Code page 437 & IBM Vga
> > > line drawings to do the same.
> > >
> > > Dumb I know, but needs must.
> > > William Tormey
> > >
> > >
> > >
> > >
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to