Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: help Date: Sat, 27 Nov 2021 18:07:36 +0100 Lines: 44 Message-ID: References: <9b517af8-3f8a-4af4-a948-fbafd0b548b8n@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: individual.net xhvNozq9xP+61BIr8NDDvAHfFdxLHkvtlyUwW4Je/x5KYvdRE= Cancel-Lock: sha1:GwGFG9NsGw18/2wEglEVv3OKw60= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:13482 Hi Aurora, > I have a question to ask, due to lack of documentation on VO. I'm really sorry, but your question has nothing to do with lack of documentation in VO. If you would close a datawindow, use the method EndWindow(), and if your window is a dialogwindow, you have to use the method EndDialog(). So you have to write self:EndDialog( IDOK ) if DemPagante_Maschera is a DialogWindow, or self:EndWindow() if DemPagante_Maschera is a DataWindow. Wolfgang > method VaBene() class DemPagante_Maschera > > oNotice := NoticeReceipt_Mask{self:Owner,aParam} > FabCenterWindow(oNotice) > oNotice:Show() > > In this particular case I alert the user that a receipt is about to > be printed, indicating the patient's name and the amount. And it > starts via the classic 'Okay" button. At the end there is the line > self:Dialog() which takes me back to the Vabene method of the > DemPagante_Maschera Class Is it correct to write in this method > oNotice:Close() ? > I hope I managed to explain myself. > Thanks > > Translated with www.DeepL.com/Translator (free version) --