Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: calendar controll Date: Sat, 22 Feb 2020 22:07:32 +0100 Lines: 47 Message-ID: References: <49aaabb2-544a-4709-8705-94784696e717@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: individual.net xTiNjvgqusRItS3jwEoLCg6iCjg13jvX5J4agA5De3wY/PCZ5s Cancel-Lock: sha1:jLII35H3fnrjAj0jU33Ga/n30pE= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-EsetId: 37303A29266DE36F607667 X-EsetScannerBuild: 44534 Xref: csiph.com comp.lang.clipper.visual-objects:12864 Hi Aurora, Add the following method and the corresponding push button to dtaTest: ************************************ METHOD pbSetCalendar() CLASS dtaTest LOCAL dSetCalendar AS DATE LOCAL oTB AS TextBox dSetCalendar:= CToD(oDCsleSetDate:TextValue) // Convert string to date // Translations per Google..(g).. IF dSetCalendar == NULL_DATE // Test sulla data valida oTB := TextBox{,"Attenzione","La data non รจ valida"} oTB:Type := BUTTONOKAY+BOXICONEXCLAMATION oTB:show() ELSE // OK, send the instruction to the ccCalendar Send(SELF:oDCcusCalendar, #Actualize , dSetCalendar) ENDIF /* ? Day(dSetCalendar) // Just for information ? Month(dSetCalendar) ? Year(dSetCalendar) */ RETURN NIL ************************************ regards Urs schrieb im Newsbeitrag news:d5f7ce60-8d30-4cb3-863d-1fe0397222a9@googlegroups.com... > Il giorno domenica 16 febbraio 2020 11:09:46 UTC+1, aurora...@gmail.com ha > scritto: >> sorry my english >> is there any way to have bigger fonts in calendarcontroll? >> Thanks >> aurora baccio > > by a button I would like to bring the calendar to the date of 1/12/2020. > How can I do ? > I have tried with > METHOD PushButton4 () CLASS dtaTest_vo > > self: oDCcusCalendar: dActualDate: = CToD ("01/12/2020") > > RETURN NIL > but it does not work > Thank you > aurora baccio