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


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

Re: Is there a simple property/method to ignore label of a checkbox?

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: Is there a simple property/method to ignore label of a checkbox?
Date Wed, 7 Oct 2020 13:02:09 +0200
Lines 34
Message-ID <hu5lhhFo322U1@mid.individual.net> (permalink)
References <e490e2d4-52d3-4824-b358-101d378d8868n@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net 73PnGTTsCz0YckA7eoZz6AvQQntgXcIj5OAx0QSMFGWyUhj50=
Cancel-Lock sha1:QxbTUgO1vfdKhCK11xLeBimFM5M=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:13098

Show key headers only | View raw


Hi Jafar,

of course is that possible.
Create a subclass, and in the Init() method of this class you can
create your label.

The following code creates a pushbutton after a SingleLineEdit control:

method Init( oOwner, nID, oPoint, oDimension, kStyle ) class LookupSLE
    Super:Init( oOwner, nID, oPoint, oDimension, kStyle )
    _oPB := LookupPB{ self, self:ControlId + 300 }     
    _oPB:HyperLabel := HyperLabel{ self:Name + "_LOOKUP", "...", ;
			"", "" }
    return self

HTH

Wolfgang


> I am maintaining a VO app where the default behavior of a checkbox is
> limited to the checkbox rectangle itself.
> 
> The way this is done however is by adding an additional label that is
> not part of the checkbox itself.
> 
> Is there a simple way to avoid having to do this through a simple
> property/method without having to create additional labels all the
> time?



-- 

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


Thread

Is there a simple property/method to ignore label of a checkbox? Jafar <jafar@marti-orbak.nl> - 2020-10-07 02:12 -0700
  Re: Is there a simple property/method to ignore label of a checkbox? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2020-10-07 13:02 +0200
    Re: Is there a simple property/method to ignore label of a checkbox? Jafar <jafar@marti-orbak.nl> - 2020-10-15 02:19 -0700
      Re: Is there a simple property/method to ignore label of a checkbox? Robert Pope <cooeee@gmail.com> - 2020-10-15 03:23 -0700
        Re: Is there a simple property/method to ignore label of a checkbox? Jafar <jafar@marti-orbak.nl> - 2020-10-15 04:42 -0700
          Re: Is there a simple property/method to ignore label of a checkbox? Jafar <jafar@marti-orbak.nl> - 2020-10-15 06:10 -0700

csiph-web