Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Wish: this.setall('inputmask', this.child.inputmask
Message
 
To
16/05/2003 11:13:12
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00789239
Message ID:
00789257
Views:
18
Wow thanks again (twice today itself) Cetin.

>>Hi all
>>
>>Is this possible or is there a programatical alternative.
>>
>>grid.init()
>>
this.setall("inputmask", "this.child.inputmask", "column")
>>
>>or
>>
>>
this.setall("sparse", "iif(this.child.class = 'txtcurrfld', .F., .T.)", "column")
>>
>>Please advise.
>
>Hierarchically column sets inputmask unless bound=.f.
>However I think you can use the same logic you use in yur txtbox class to get inputmask and apply to column instead (ie: dbgetprop()).
>
>SetAll somewhat awkward to do this. It gets the value once and applies to given classes. What you need is soemthing like this (per column) :
>
>
>for each oColumn in this.Columns
> if pemstatus(oColumn,'txtcurrfld',5)
>   with oColumn
>     .InputMask = .txtCurrFld.Inputmask
>     .CurrentControl = 'txtCurrFld'
>     .Sparse = .F.
>   endwith
>endfor
>
PS: I know I know no error check.
>Cetin
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform