Subject Re: ok button missing in datecalendar.cc
From Charlie <tm@tc.com>
Date Mon, 06 Nov 2023 10:16:50 -0500
Newsgroups dbase.getting-started

Got it to work on my desktop.  I have duflp on there also.  I will try to copy that to my laptop and hopefully that will fix it.  Thanks for the help!

Charlie Wrote:

> Yes I missed that but I do now remember it from before.  But I am still missing the button on the bottom of the calendar.  
>
> Ken Mayer Wrote:
>
> > On 11/6/2023 4:50 AM, Charlie wrote:
> > > Thanks Mervyn...  Yes I did move it on the second try.  First try was a failure.  I was confused as the container and entryfield were so large.  I hope it is ok to resize them.  I will try again.  I installed these several years ago on another form.  I don't remember it being like this.
> > >
> >
> > If the component is too big then perhaps you need to check the form's
> > metrics against the component metrics. If you open the file
> > :dUFLP:DateCalendar.cc in the source editor, at the very top of the file
> > you should see:
> >
> > // Form Metric must be Pixels (6) for this
> >
> > If your form is set to a different metric, then the component will be
> > the wrong size.
> >
> > You should *always* check things like this when using code from the
> > dUFLP. Also, you should perhaps read the header comments, to be sure of
> > how to use them.
> >
> > 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
> > dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
> > dBASE DOS to Windows Tutorial:
> > http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
> >
>