Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Karl Wochele Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Rookie question about focus and buttons Date: Tue, 6 Jun 2017 07:44:08 +0200 Organization: solani.org Lines: 31 Message-ID: References: <1d99e068-2fc5-4c12-9610-5de6bcd4cbc9@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: solani.org 1496727847 2250 eJwFwYEBwCAIA7CXxEJh55Qp/59gEqDxT2fQY2JuOc3XB8F01a2DPqm6NBSxItJH6bvNtvAAGlkQuA== (6 Jun 2017 05:44:07 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Tue, 6 Jun 2017 05:44:07 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 In-Reply-To: <1d99e068-2fc5-4c12-9610-5de6bcd4cbc9@googlegroups.com> X-NNTP-Posting-Host: eJwFwQkBwDAIA0BLvEknpzDwL6F36VA0A4nIzQ3+oWqf9AKZDapR7MR0EXPosyXtfiF6ax8A4hCb Cancel-Lock: sha1:g0fF4FUA7JKaaCsARg4v16GfW2Y= X-User-ID: eJwFwQEBACAIA7BMIvwSB5H3j+AWGwtNR8BDIWOtyqOB3zIzXL32CYyQSSQtm6zmHu+jDyInEVc= Xref: csiph.com comp.lang.clipper.visual-objects:10649 Hi, in a subclass of Pushbutton you can use Method Dispatch(oE) class MyPushButton local liRt as int do case case oE:Message = WM_MOUSEACTIVATE lIRt := MA_NOACTIVATEANDEAT else liRT := super:Dispatch(oE) endif return liRt HTH Karl Am 23.05.2017 um 16:25 schrieb Stu: > Hi all > > I've got a small app that I'm migrating to touchscreen. I have a few SLE and have created large buttons for input into the SLE. > > Dumb question I know, but how do I return focus to the appropriate SLE after the button is clicked? > > I can't seem to suss out how to determine where to return focus to. > > Many thanks. >