Controls Problem
From: Gigaworld (servizi_at_gigaworld.it)
Date: 06/28/04
- Next message: yuya: "Re: How to remove mouse process ?"
- Previous message: plandry: "removing Standard SDK feature breaks platform?"
- Next in thread: Valter Minute: "Re: Controls Problem"
- Reply: Valter Minute: "Re: Controls Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 18:08:12 GMT
I have this PROBLEM with controls collection:
The old VB 6.0 syntax was:
MyStr = me.controls("button1").text
VB .NET doesn't function in this way, because in .NET
I must know the index of the control! I need to use the
STRING NAME of the control to address the object, because
my target is doing something like this:
for i = 1 to 10
MyStr(i) = me.controls("button" & i ).text
next i
if I use this:
MyStr = me.controls(IndexOf(button1)).text
I have again the same problem: cannot use the STRING NAME
of the object!
- Next message: yuya: "Re: How to remove mouse process ?"
- Previous message: plandry: "removing Standard SDK feature breaks platform?"
- Next in thread: Valter Minute: "Re: Controls Problem"
- Reply: Valter Minute: "Re: Controls Problem"
- Messages sorted by: [ date ] [ thread ]