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


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

Re: List Box Select

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: List Box Select
Date Wed, 2 Sep 2015 11:03:33 +0200
Lines 38
Message-ID <d4nstpFcbc1U1@mid.individual.net> (permalink)
References <3334241f-e1bd-4c18-a155-e19333e0c898@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding 7bit
X-Trace individual.net A7sYQkmw+yGRM5TSh1pdXQ39BZ7ldsoTyZjdJaclnuAI92v2HL
Cancel-Lock sha1:UaBzQMcAiKhUWNfLq0m4OJW+KEY=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-EsetId 37303A2992966F67607363
X-EsetScannerBuild 25560
Xref csiph.com comp.lang.clipper.visual-objects:8389

Show key headers only | View raw


Hi Rob,

You call ListBoxSelect() and ask for cmbTrams.
Is cmbTrams a ComboBox? Something wrong with controls?

Try:
METHOD ListBoxSelect(oControlEvent) CLASS TramsBrowser
 LOCAL oControl as Control
 oControl := iif(oControlEvent == null_object, null_object, 
oControlEvent:Control)
 SUPER:ListBoxSelect(oControlEvent)
 //Put your changes here
? oControl:NameSym    //  include Terminal Light Lib

Regards
Urs

"Rob Smith" <rasmithhalifax@gmail.com> schrieb im Newsbeitrag
news:3334241f-e1bd-4c18-a155-e19333e0c898@googlegroups.com...
> Hi
>
> I have the following code, but when I look at oControl there is no
> 'NameSym', it has always worked before but this is a new app, what am I
> missing?
>
> METHOD ListBoxSelect(oControlEvent) CLASS TramsBrowser
> LOCAL oControl as Control
> oControl := iif(oControlEvent == null_object, null_object,
> oControlEvent:Control)
> SUPER:ListBoxSelect(oControlEvent)
> //Put your changes here
> IF oControl!=null_object
> IF oControl:NameSym == #cmbTrams
>
> Any help would be welcome.
>
> Rob

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


Thread

List Box Select Rob Smith <rasmithhalifax@gmail.com> - 2015-09-02 01:28 -0700
  Re: List Box Select "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2015-09-02 11:03 +0200
  Re: List Box Select Rob Smith <rasmithhalifax@gmail.com> - 2015-09-02 02:47 -0700
  Re: List Box Select "Wolfgang Riedmann" <wriedmann@gmail.com> - 2015-09-02 12:04 +0200
    Re: List Box Select Rob Smith <rasmithhalifax@gmail.com> - 2015-09-02 03:18 -0700

csiph-web