Path: csiph.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: cccalendar Date: Sun, 22 Mar 2020 16:12:38 +0100 Lines: 72 Message-ID: References: <60fa3510-d017-4200-8059-cf690e3ee833@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 nav/PZ9akBXJqNZQOB2SrwCL0rFybUIpZhu4gCqTBPExnRUIJw Cancel-Lock: sha1:7DaNdDi7W8qknreQbDn/LNZvBDk= 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 Xref: csiph.com comp.lang.clipper.visual-objects:12939 Hi Aurora, Nice to hear that it works now. If the class structure is designt very carful, with the necessary access and assign methods the OOP is fascinating tool. Regards and success Urs Ciao Aurora, Mi fa piacere sapere che ora funziona.Se la struttura della classe è designata molto carina, con l'accesso necessario e l'assegnazione dei metodi, l'OOP è uno strumento affascinante. Saluti e successo Urs "aurora baccio" schrieb im Newsbeitrag news:db23e056-efb6-4d5c-99c5-e71cf9596dfb@googlegroups.com... Il giorno lunedì 9 marzo 2020 18:02:34 UTC+1, aurora baccio ha scritto: > Good evening, > I have turned cccalendar into a bookshop and am looking for an agenda. > I can't get the Easter calculation to work. It gives me the year 2000. > in the CalendarNuovo_Maschera class I inserted export odccusCalendar and > in initi of the same class I launched the Feiertage () method. > What is missing ? > Thank you > auraro baccio Ich wünsche Ihnen einen schönen Sonntag, Ich glaube, ich habe die Probleme mit der Buchhandlung gelöst. Jetzt müssen Sie nur noch einen Doppelklick ausführen in der Anlage sind die vorgenommenen Änderungen METHOD MouseButtonDown(oME) CLASS ccCalendar *LOCAL nRow, nCol, nIndex AS INT LOCAL nRow, nCol, nIndex as dword LOCAL x, y AS INT LOCAL nColBegin , nFound AS DWORD LOCAL nButtonID AS INT LOCAL LallowedArea as LOGIC local DataSelezionata as date SUPER:MouseButtonDoubleClick(oME) ***************** IF LallowedArea **self:Owner:oDCProvaData:TextValue := LTrim(Str(nFound) ) + ". " + LTrim(CMonth(self:dActualDate) ) + ". " +LTrim(Str(Year(self:dActualDate) ) ) *? NTrim(nFound) *? NTrim(Month(self:dActualDate)) *? NTrim(Year(self:dActualDate)) *? CToD(NTrim(nFound) + "/" + NTrim(Month(self:dActualDate) ) + "/" +NTrim(Year(self:dActualDate) ) ) *_Wait() *self:Owner:Owner:Owner:oDCDataOggi:TextValue := NTrim(nFound) + "/" + NTrim(Month(self:dActualDate) ) + "/" +NTrim(Year(self:dActualDate) ) DataSelezionata := CToD(NTrim(nFound) + "/" + NTrim(Month(self:dActualDate) ) + "/" +NTrim(Year(self:dActualDate) ) ) Send(self:Owner,#DateChanged, DataSelezionata) ENDIF return nil Damit übertrage ich das mich interessierende Datum in die Agenda-Klasse (in diesem Fall CalendarNew_Mask) und fahre fort. danke für alles, immer aurora baccio