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


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

Re: List Box Select

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: List Box Select
Date 2015-09-02 12:04 +0200
Message-ID <d4nvtlFd2ouU1@mid.individual.net> (permalink)
References <3334241f-e1bd-4c18-a155-e19333e0c898@googlegroups.com>

Show all headers | View raw


Hi Rob,

your control has a name? If you are constructing controls dynamically
and you don't add the hyperlabel to the control, the control will have
no name.

Wolfgang

> 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