Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Karl-Heinz" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Month selector Date: Thu, 15 Dec 2016 19:24:47 +0100 Lines: 27 Message-ID: References: <5caec2e2-9b90-44d4-954e-fc4bfe7e8b68@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 bh2H5aCsFa43pbSyjbSLzAgd6ICSyZhWfB95/gn6OzTEMZq74= Cancel-Lock: sha1:nD/GnwdNcvJ3mQrA7LKwOrG3bXc= In-Reply-To: X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3564.1216 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3564.1216 Xref: csiph.com comp.lang.clipper.visual-objects:10071 Hi Sebastian, here´s a cleaner ControlNotify - most of the time i´m on a pure Dispatch() trip ;-) METHOD ControlNotify(oEvent) CLASS BaseDataDialog DO CASE CASE DWORD ( oEvent:NotifyCode ) == DTN_DROPDOWN IF oEvent:control != NULL_OBJECT .AND. IsMethod ( oEvent:control , #__SetView ) Send ( oEvent:control , #__SetView ) ENDIF ENDCASE RETURN SUPER:ControlNotify(oEvent) regards Karl-Heinz