Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #13098
| 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 | 2020-10-07 13:02 +0200 |
| Message-ID | <hu5lhhFo322U1@mid.individual.net> (permalink) |
| References | <e490e2d4-52d3-4824-b358-101d378d8868n@googlegroups.com> |
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
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