Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First letter of textbox forced to uppercase
Message
 
 
To
09/06/2001 14:13:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00517385
Message ID:
00517421
Views:
17
>>How about:
>>
>>IF TYPE(This.ControlSource)='C'
>>    if empty(This.InputMask)
>>       This.InputMask='!'+REPLICATE('X',LEN(EVALUATE(This.ControlSource))-1)
>>    endif
>>ENDIF
>>
>
>This.InputMask contains by default a value in the txtField class. I need to detect if at the form designer level, we have overwritten that value.
if dbgetprop('table_name.fieldname', 'field', 'inputmask') == This.InputMask
   *** then you have not overwritten the input mask
else
   *** the input mask ws changed
endif
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform