Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancel Operation from a required field
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00008117
Message ID:
00008190
Views:
36
>
>Hi
>
> 1. Create a form level property or Object level property as lCancel
> and set lCancel = .F.
> 2. In the click event of cancel button
> (i). Change this lCancel property as
> thisform.lCancel = .T. [form level]
> OR
> IF TYPE('thisform.Activecontrol.lCance') # 'U'
> thisform.Activecontrol.lCancel= .T. [object level]
> ENDIF
>
> 3. In the valid of each object return value after checking lCancel value.
> LOCAL lRetval
> lRetVal = !Empty(this.value)
> RETURN IIF(lCancel,.T.,lRetVal)
>
> Hope this may help u.
>
>Thank Q
>Waheed

This is a Foxpro 2.6 questions, I placed it in the Foxpro Windows 2.6
group. Next time I will indicate it is 2.6 so there is no confusion.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform