Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trailing zero in textbox
Message
De
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:
01088500
Vues:
20
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform