Subject Re: dUFLP - Preview.wfm
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Fri, 1 Jan 2021 11:39:43 -0800
Newsgroups dbase.getting-started

On 1/1/2021 10:22 AM, edward racht wrote:
> it's the new one in your dUFLP2019B.ZIP of the dUFLP.
>
> follow the thread concerning this issue.
>
> you stated you didn't know why 'false' was in the constructor code.
>
> well, now you know why.  it is 'true' in the INIT method.
>
> so the new file has both entries plus the INIT entry.
>
> what does this code do to the code for my program?

It shouldn't cause any issues. I would just ignore it and use it. The
form's doublebuffered setting deals with some display issues, if true it
might (note the word "might") slow down the display a little for a
really complex form, but otherwise it resolves several problems with
display. With modern computers the speed issue is mostly non-existent
unless a form is really complex. I am not sure why Mervyn added that
init method bit to set the doublebuffered property, except perhaps if
you are using the preview.wfm file with a version of dBASE before that
property was added (I can't remember now which version it was added in).

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm