Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trailing zero in textbox
Message
From
19/01/2006 12:14:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01081752
Message ID:
01088500
Views:
21
>Does not work for my problem.

Yes, you have a different problem.

Just an idea - if the whole trouble comes from the textboxes being unbound, maybe you can visit each by a decorator object, and assign them a form's property as controlsource:
lParameter oTextbox
with oTextBox
   cProperty="cs"+.name
   thisform.addproperty(cProperty, 0)
   .controlsource="thisform."+cProperty
endwith
Of course, doesn't need to be a decorator object, you can have this as a method on the form, and use this instead of the code where you assign values to the textboxes. You could use the value as a second parameter instead of the zero I used here. And if you have multiple containership levels, so your textbox names may repeat, you can use sys(2015) instead of .name for the cProperty.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform