Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any Better Idea 'bout This ?
Message
 
 
To
02/10/1998 11:50:22
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonesia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00143298
Message ID:
00143322
Views:
32
Senna,
lcName = "popclick" + alltrim( .Name )
.parent.AddObject( lcName... )
loObject = eval( ".parent." + lcName )
with loObject
   .Visible = .t.
   ...
endwith
>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 :)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform