firm:
martin.jindra@egservis.cz (unlimited)
free:
pargorila@centrum.cz (5MB)
MartinJ
>I can probably send you the whole project, if you'd like. It's ~2MB zipped. Is it Ok with you? If yes, send me a message to work e-mail, so I can reply.
>
>Thanks again.
>
>>Nadya,
>> it is strange behavior.
>> Can you send (firm and freemail e-mail) me classlibrary with grid and textbox classs and form?
>> I can not simulate...
>>
>> MartinJ
>>
>>>Valid code of the class has the following code:
>>>
>>>********************************************************************
>>>* Description.......: wgTextBox.Valid
>>>* Calling Samples...:
>>>* Parameter List....:
>>>* Created by........:
>>>* Modified by.......:
>>>********************************************************************
>>>if this.visible and this.DoValid
>>> if pemstatus(thisform,'CancelValidation',5) and thisform.CancelValidation()
>>> return
>>> endif
>>>
>>> if empty(this.value) and this.lRequired
>>> do Alert with 'This field should be populated!'
>>> return 0
>>> endif
>>>endif
>>>
>>>
>>>>Hi Nadya,
>>>>
>>>> How and where you testing property
DoValid?
>>>>
>>>> MartinJ
>>>>
>>>>>Hi everybody,
>>>>>
>>>>>We still have VFP6, so here is a code from Marcia Akins which I use for grid's validation:
>>>>>
>>>>>I use my own textbox classes inside the grid columns instead of standard classes. The problem is, that somehow user defined properties became invisible for the grid, e.g. I get errors like property DoValid is not found. My textbox class indeed has this property. Sometimes it's even can not find the grid's custom property.
>>>>>
>>>>>I was trying to fix this problem by checking for the property existance, but it seems ridiculous, because I know for sure, that my class has this property...
>>>>>
>>>>>What should I do?
>>>>>
>>>>>Thanks in advance.