Nadya,
A couple of questions. What class does the set_clock inherit from. Since the saveit method uses a DODEFAULT(), can you post the default code. Perhaps that will shed some light on the reason for using the point object (unless Maurice answers first) :)
>Hi everybody,
>
>I got a Data Entry application project to finish, which was started by my colleague. I found, what it uses lots of classes, which seem to be originated from Maurice De Beijer (developer from Netherlands). This developer has classes like set_point, set_clock, set_confirm, etc. for each possible VFP setting. In set_clock SaveIt method I see this code:
>
>*
>* Save the old setting
>*
>LPARAMETERS tuP1, tuP2, tuP3, tuP4, tuP5
>LOCAL loPoint
>
>loPoint = CreateObject('Set_Point', '.')
>
>DODEFAULT(tuP1, tuP2, tuP3, tuP4, tuP5)
>
>THIS.cSet1 = TRIM(PADR(SET(THIS.cCommand, 1), 50))
>
>I'm trying to understand, why set_clock calls set_point object - is it by mistake or with some sense? Currently this application displayes time at the upper right corner of the screen, but the width of it is not enough, so I can not see seconds portion. How can I increase this width?
>
>Thanks in advance.
Brian McCord
President
Sagacity Systems