Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6SP5: for Critical Analysis: Input mask in a textbox
Message
 
To
09/04/2003 09:25:36
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00773410
Message ID:
00776939
Views:
11
I'll give IIF() a try, don't think so that it may be compulsory, the thing that bugs me is that DynamicInputMask becomes blank when populated by the contained textbox.init(). Is there any way that the column knows that it is supposed to get the inputmask from the textbox as someone mentioned that the textbox inits first and then the column, probably that is the reason it goes blank at runtime?!?

>>>DynamicInputMask is used for variable masks within a grid column, that is, the InputMask should change, depending on some condition. You require this, because you have only a single TextBox to control, but the user sees multiple objects (one for each visible row).
>>
>>If I require it it didn't work. Any suggestions.
>
>First of all, I want to make it clear that the idea of the DynamicInputMask (and similar Dynamic... properties) ist to have different treatment for different rows, depending on a condition. For instance, you could have a different InputMask for negative values. The expression in this case will very likely involve the IIF() function.
>
>I don't know why it doesn't work, but in most cases, the InputMask (without the "Dynamic") should work.
>
>>>Do you still have a setting for DynamicInputMask? Perhaps it is overriding (superceding, replacing) the InputMask property.
>>
>>No I don't use it anymore. But being blank does it override InputMask?
>
>I don't think so. Just in case, don't forget to select "Reset to Default".
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform