Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

refer to a object created with "addobject" 2

Status
Not open for further replies.

MrDontKnowNothing

Programmer
Jun 26, 2003
94
DE
hi folks,

when i create a object with:

thisform.addobject(name_of_combo,"combobox")

where name_of_combo is a string, wich is dynamicly created, how can i access this very object, since

thisform.name_of_combo.left = 35

won't work.


is there any mechanismn, to access this object.


mfg

alex


 
mycontrol = "thisform." + name_of_combo

&mycontrol..left = 35

(please note the double period between macro substitution and property left)

Slighthaze = NULL

[ul][li]FAQ184-2483
An excellent guide to getting a fast and accurate response to your questions in this forum.[/li][/ul]
 
Slighthaze,

Just what I've been searching for the last hr. Thanks so much. I give you a star.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top