Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't set input mask
Message
From
26/04/2001 04:42:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/04/2001 03:45:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00500002
Message ID:
00500014
Views:
21
>In my combobox class I have code set in the properties
>
>inputmask
>=+PADL("",FSIZE(this.name,"modacad"),"X")
>
>This works on my test form without classes. Soon as I put it in a class
>it does not work. (when I look in the init event the inputmask is empty.)
>When I try to manually set it in the command window it just stays empty.
>Even if I use "XXX" or something.
>
>I want to the the input mask filled with the same number of X's as the field
>length no matter how long the field is.
>
>What is wrong?

Tim,
Move it from properties to code :
*init
this.Inputmask=PADL("",FSIZE(this.name,"modacad"),"X")
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform