Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Edit in Place -- "Accepted" embed 1998-06-22 -- Rick Martin > I'm trying to enter some code that would normally go in the ACCEPTED
> embed for a standard entry control. With an edit in place field,
> however, the only place I have found to insert my code is in the
> TakeEvent embed for the field.
Try this code instead.
If RerturnValue = EditAction:Complete
your code here
End
Be sure to put this in the TakeEvent method for your field with a priority
greater than 5000. This will allow the default action for the field to
occur.
---------------------
Mike Hanson adds:
CASE ReturnValue
OF EditAction:None OROF EditAction:Cancel
ELSE
!You can assume ACCEPTED here
END!CASE
Again, this must be after the call to the PARENT.TakeEvent. In my
SuperBrowse I've encapsulated this test and created a TakeAccepted
virtual method. Catch you later!
Today is November 21, 2024, 3:48 am This article has been viewed 35191 times.
|
|