Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trailing zero in textbox
Message
 
 
À
19/01/2006 12:14:17
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01081752
Message ID:
01088505
Vues:
17
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform