Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 23, 2024, 2:20 am This article has been viewed 35195 times.
|
|