Print Page | Close Window

Trigger of lost focus without edit

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=3690
Printed Date: 24 November 2024 at 10:10pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Trigger of lost focus without edit
Posted By: WaaZ
Subject: Trigger of lost focus without edit
Date Posted: 22 February 2006 at 12:57pm

Hi,

Is there any trigger i can use when I lose focus on an event?

The senario is as follows:

 - I click on the Event and the cursor enables me to change the subject

- I do not want to change the event and i click outside.

I wish to be able to get hold of the event even if the user has not change anything. Had he change something I would have used the EventChanged handler. But he didnt change anything and i want to write a piece of code to do somthing in that case.

Thnks

WaaZ




Replies:
Posted By: sserge
Date Posted: 23 February 2006 at 9:36am
Hi,

Look at SelectionChanged event.
 
But please note:
A subject editor starts only when user clicks at the event text area.
If user clicks at the border or at time area the event is selected also
but subject editing is not started.
 
See also IsEditOperationDisabled and BeforeEditOperation handlers.
You can use them to determine whether a subject editor was started or not.
 

--
WBR,
Serge


Posted By: WaaZ
Date Posted: 19 March 2006 at 10:29am

Hi

disabling the edit operation using BeforeEditOperation handlers works much better since it enables you choose when to disable operations depending on what type of operations you want to do

Thnx




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net