Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trailing zero in textbox
Message
 
 
To
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:
01088505
Views:
18
You're just few seconds late with your suggestion <g>

Re: Strange behavior of the textbox with the amount Thread #1088067 Message #1088484

>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform