Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to limit the number of lines in a memo ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00306732
Message ID:
00306861
Vues:
41
Ken,

Your advise is similar Ed's advise. But I really don't want to switch and create another class for this, because I already designed class btcc_edit. I also want to avoid additional buttons Add/Remove.
Besides, input mask may provide 99999, but user still can type less than 5 digits, so this approach still requires additional checking.

So, as I said from the beginning, I don't want to change from editbox to grid or textbox, etc. I want to use existing classes and existing objects on the form (because I have already two of them). I ask about how can I validate the user's input in this particular case of editbox. I really don't think that it's a big deal.
'


>Have you considered using a combination of a TextBox with an input mask for input, a set of add/remove buttons and a listbox?
>
>The user would type in the zipcode in the TextBox where it could be easily validated, then click the Add button to add it to the ListBox. Remove would be used to remove items from the listbox.
>
>>Ken,
>>
>>>Is the EditBox bound to a memo field?
>>
>> No. I just want to use user's input for selection criterion. That's it. No bound to.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform