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


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

Re: List Box Select

From "Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: List Box Select
Date 2015-09-02 11:03 +0200
Message-ID <d4nstpFcbc1U1@mid.individual.net> (permalink)
References <3334241f-e1bd-4c18-a155-e19333e0c898@googlegroups.com>

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