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