Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anybody on for translating VFP to C#
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Anybody on for translating VFP to C#
Miscellaneous
Thread ID:
01170530
Message ID:
01170530
Views:
54
Hi
I have a piece of code which programatically makes a few controls
I want to replicate this in C#

FOR i= 1 TO 20
lcTxt = 'txt' + STRTRAN(STR(i,2),' ','0')
WAIT WINDOW lcTxt
x= lctxt + " = CREATEOBJECT('textbox')"
&x
ENDFOR

(This just makes 20 texbox controls txt01, txt02,txt03.....txt20

Thanks in advance
Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform