Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10649

Re: Rookie question about focus and buttons

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Karl Wochele <kw@ecos-system.invalid>
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 <oh5ff7$26a$1@solani.org> (permalink)
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

Show key headers only | View raw


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.
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Rookie question about focus and buttons Stu <stuart.mcalpine@ymail.com> - 2017-05-23 07:25 -0700
  Re: Rookie question about focus and buttons Franz Rachbauer <office@rachbauer.org> - 2017-05-23 16:32 +0200
  Re: Rookie question about focus and buttons "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-05-24 08:01 +0200
    Re: Rookie question about focus and buttons stuart.mcalpine@ymail.com - 2017-05-24 03:23 -0700
      Re: Rookie question about focus and buttons Franz Rachbauer <office@rachbauer.org> - 2017-05-24 13:13 +0200
        Re: Rookie question about focus and buttons Stu <stuart.mcalpine@ymail.com> - 2017-05-25 01:18 -0700
  Re: Rookie question about focus and buttons Karl Wochele <kw@ecos-system.invalid> - 2017-06-06 07:44 +0200

csiph-web