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

From Karl Wochele <kw@ecos-system.invalid>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Rookie question about focus and buttons
Date 2017-06-06 07:44 +0200
Organization solani.org
Message-ID <oh5ff7$26a$1@solani.org> (permalink)
References <1d99e068-2fc5-4c12-9610-5de6bcd4cbc9@googlegroups.com>

Show all headers | 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