Re: Win32lib question

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Bernie,
I think you missed to point. I think what was being asked was, given a
control id, and only a control id, how can one tell what sort of control it
is?

Currently, there is no support for this in win32lib. If you need to do this
sort of thing, you have to create your own solution.


------
Derek Parnell
Melbourne, Australia
(Vote [1] The Cheshire Cat for Internet Mascot)

----- Original Message -----
From: "Bernie" <xotron at PCOM.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Wednesday, November 15, 2000 9:59 AM
Subject: Re: Win32lib question


> On Tue, 14 Nov 2000 20:56:57 +0100, Feta <mb11363 at CHELLO.BE> wrote:
>
> >Humm, we can do a lot of things with this wonderful library, but is there
a
> >way to know the class of a control
> >with just an id ?
> >why ?  I have a lot of controls IDs in a sequence like this :
> >
>
> How about this:
>
> sequence s
>
> atom edtx
>
> fuction edtxt()
>   return create( EditText, "", Win, 95, 0, 105, 20, 0 )
> end function
>
> s[1] = routine_id("edtext")
>
> then append them to the arrays
>
> Then use call_func(x[1],{})
>
>
> Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu