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


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

Re: Rookie question about focus and buttons

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Rookie question about focus and buttons
Date Wed, 24 May 2017 08:01:42 +0200
Lines 21
Message-ID <eoklu7FeulaU1@mid.individual.net> (permalink)
References <1d99e068-2fc5-4c12-9610-5de6bcd4cbc9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net I/UbE0kJYYiFX01tc6iwFQh8MedHu8M1N/S/SZ01NDnyZDIcE=
Cancel-Lock sha1:QMqusj/8fTKuf1pDJD/sOeFvHAQ=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:10602

Show key headers only | View raw


Hi Stu,

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

declare an own class for the pushbutton and put a reference of the
correct SLE to the pushbutton class. After the button click, you can
retrieve the SLE object from the pressed pushbutton and set the focus
there.

Wolfgang



-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next 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