Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any Better Idea 'bout This ?
Message
De
02/10/1998 12:08:11
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonésie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00143298
Message ID:
00143304
Vues:
32
>You are creating a control and placing next to the current control, are you not, conceivably to open a popup, is that correct? How do you make sure that the popup has the focus?

Yup its correct.
I assigned 2 new methods on textbox (the one which had the procedures below),
popin and popout, the problem for me is I dont know how to use a new created object name (such as createobject("myobject"+ALLT(THIS.NAME),myclass,THIS), So how can I put this new object name if I wanna put it in .parent.(newobject).enabled=.t.


>This Is from a textbox lostfocus event
>WITH THIS
> LOCAL mct
> mct=.PARENT.CONTROLCOUNT
>
> SET CLASSLIB TO genpopper.vcx
> .PARENT.ADDOBJECT('POPCLICK'+ALLT(.NAME),'popclick',THIS)
> SET CLASSLIB TO
>
> .PARENT.CONTROLS(mct+1).VISIBLE=.T.
> .PARENT.CONTROLS(mct+1).LEFT=.LEFT+.WIDTH
> .PARENT.CONTROLS(mct+1).TOP=.TOP
> .PARENT.CONTROLS(mct+1).ENABLED=.T.
> .POPNUM=mct+1
>ENDWITH
>
>Any better idea instead using Controls number ??
>
>
>TIA :)
Senna Dwipayana
Being good is better
Being better is a bless
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform