Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DynamicInputMask
Message
From
02/10/2002 01:37:05
Ken Wong
Aspect Computing
Hawthorn, Australia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
DynamicInputMask
Miscellaneous
Thread ID:
00706708
Message ID:
00706708
Views:
67
Do anyone know if the DynamicInputMask property of the Grid's column for VFP v5.0 working correctly? I have tried setting this property like "IIF(Code = 'XXX', '9999.99','9999')". These should display and change the input mask of each row depending on the value of the field "Code". However, the input mask seems to work for the active cell and has impact on the previous selected cell on the same column.

For Example, in the grid control:
CODE NAME QTY
AAA XXX YYY 9
XXX SSS YYY 10

When I click on 1st Row QTY, the input mask of the 1st row will be '9999'.
If then, I click on the 2nd Row QTY, the input mask of the 2nd row change to '9999.99' (this is correct), and the 1st ROW QTY's input mask change to '9999.99' as well (this is wrong!).
If then, I click back to 1st Row QTY, the input mask of the 1st row will change back to '9999', but the 2nd row's input mask change to '9999' as well (this is wrong!).

Hope that someone out there will know the answer to the problem.

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform