Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Trigger of lost focus without edit
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Trigger of lost focus without edit

 Post Reply Post Reply
Author
Message
WaaZ View Drop Down
Senior Member
Senior Member


Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaaZ Quote  Post ReplyReply Direct Link To This Post Topic: Trigger of lost focus without edit
    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

Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WaaZ View Drop Down
Senior Member
Senior Member


Joined: 31 January 2006
Location: United Kingdom
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote WaaZ Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.