What event is fired when
Hi Everyone,
I have a page that is displayed using
CompleteAuditController *screen = [[CompleteAuditController alloc] initWithNibName:@"CompleteAuditWindow" bundle:nil];
screen.modalTransitionStyle = UIModalTransitionStyleCrossDissolve;
[self presentModalViewController:screen animated:YES];
[screen release];
So when this is done on the CompleteAuditWindow page
[self dismissModalViewControllerAnimated:YES];
What event (if any) is fired on the caller page??
in essence, I need to know when this page become the active page on the stack.
Thank you
take care
tony
Both [viewWillAppear:|http://developer.apple.com/iphone/library/documentation/UIKit/ Reference/UIViewControllerClass/Reference/Reference.html#//appleref/occ/instm/UIViewController/viewWillAppear:] and [viewDidAppear:|http://developer.apple.com/iphone/library/documentation/UIKit/R eference/UIViewControllerClass/Reference/Reference.html#//appleref/occ/instm/UIViewController/viewDidAppear:] should be sent to the parent controller object. - Ray
Similar Messages
-
What event is fired when a new native window is created
And where do you add the event listener? SystemManager?
Thanks in advanceI see your point. It is useful to have an event to let you know when a new window has been created and another when it is shown. You could add that functionality easily by subclassing the NativeWindow class. (In Flex, you could also subclass the Window class.)
I will add your recommendation for a systemManager level an event to our list of suggested features. Thanks. -
What event is fired when notification close ?
Hi,
I've subscription "oracle.apps.wf.notification.close" event,but when notification close my codes don't still work and have no exception come out !
I've try my codes by subscription "oracle.apps.wf.notification.send" event , and when notification send it can work ! I'm sure that there have no different between the subscription "oracle.apps.wf.notification.close" and the subscription "oracle.apps.wf.notification.close" in the subscription step .
Doesn't when notification closing raise the "oracle.apps.wf.notification.close" event?
I need your help!
thanks,
Your friend, yao!Pl post details of OS, database and EBS versions. Is the "oracle.apps.wf.notification.close" event enabled ?
HTH
Srini -
What Event is Triggered When a Title Window is Shown?
I am creating the Title Window Component once, and then
showing it with PopUpManager.addPopUp, and hiding it with
PopUpManager.removePopUp. I need to run some logic each time the
PopUp is shown. However, I can't figure out what Event is triggered
when the TitleWindow is "opened". The window is there, it's just
not being displayed. This make me think that "show" would be
triggered, but it is not. I also tried "add", but this threw a RTE.
Any thoughts?
Thanks.Since I couldn't find an Event to trigger, I am instead using
an override of protected function commitProperties() to run my
logic. -
What event is called when the handle next to a tree node is clicked
Hi,
I have a JTree...and the nodes in the tree have a little handle next to them. When i click on the handle, the children of that node, are shown below (as expected). However, what event occurs before the treeExpanded event is fired?? it seems like something happens just before it.
thanksPost your code, I dont think any event except treeExpanded is fired.
-
What event tells me when any data changes in a mx:datagrid?
I have a mx:datagrid that I need to have an event tell me when anything at all changes in the datagrid. The datagrid can be empty and as such may not have a dataprovider (=null) some of the time. I have looked at a variety of events but none seem to do what i want - can anyone suggest what event i should be listening for please?
many thanks,
Mark.We have not formalized the concept of nested collections in Flex. However,
let me amend my recommendation a bit.
Typically in a nested collection, the objects in the top-level collection
are not just collections but an object with some other reference data and
then a collection like:
public class FamilyTreeItem
public var name:String;
public var children:ArrayCollection;
The top-level collection is listening for propertyChange events. Typically,
as a data item gets modified, a propertyChange event is dispatched. If the
data items do not dispatch propertyChange events, then the itemUpdated()
method is used. Either way, the result is a COLLECTION_CHANGE event from
the top-level collection.
When you have a nested ArrayCollection, while that sub-ArrayCollection is
dispatching COLLECTION_CHANGE, nobody is listening for it at the top-level.
You can dispatch it yourself, or you can call itemUpdated() on the top-level
or dispatch a propertyChange.
The latter will be the most work, but most general. Code in FamilyTreeItem
would attach a listener to the collection for COLLECTION_CHANGE and then
dispatch a propertyChange as appropriate. -
Lync Phones Disconnect Events are Firing when a call is answered
Im working with Lync client SDk 2013. I am trying to write a simple desktop application to determine when a call is Ringing, Answered, and Disconnected. I testing my application using Lync Desk phone (polycom phones). When i call my Lync phone, i get a "Notified"
event, and when That call is answered, i get a "Disconnected" event.
private static LyncClient _client;
private static void Main()
_client = LyncClient.GetClient();
_client.ConversationManager.ConversationAdded += ConversationManager_ConversationAdded;
_client.ConversationManager.ConversationRemoved += ConversationManager_ConversationRemoved;
Console.ReadLine();
static void ConversationManager_ConversationAdded(object sender, ConversationManagerEventArgs e)
e.Conversation.Modalities[ModalityTypes.AudioVideo].ModalityStateChanged += Program_ModalityStateChanged;
static void Program_ModalityStateChanged(object sender, ModalityStateChangedEventArgs e)
Console.WriteLine("Modality state changed "+ String.Format("{0} => {1}", e.OldState, e.NewState));
static void ConversationManager_ConversationRemoved(object sender, ConversationManagerEventArgs e)
//....some code.
}output from this code isModality state changed Disconnected => NotifiedModality state changed Notified=> DisconnectedI did come across few nice articles, but those don't seem to help me.http://blog.thoughtstuff.co.uk/2013/01/tracking-lync-conversations-in-code/http://msdn.microsoft.com/en-us/library/office/hh345194(v=office.14).aspxIs there any way to determine when the call is answered and disconnected?ThanksHi,
You might post the issue on Lync MSDN forum and more developing expert will help to verify if this can be achieved using Lync SDK. Thank you for your understanding.
http://social.msdn.microsoft.com/Forums/en-US/communicatorsdk/threads
Best Regards,
Eason Huang
Eason Huang
TechNet Community Support -
JToolBar -- what event is fired to make toolbar a frame?
Hi,
I want to know when a toolbar becomes a frame. For example, if the user drags the toolbar out of the borderlayout..and the toolbar becomes a floating frame...how can I tell whent his occurs?
thanksNever mind I simply added a mouse listener to the tool bar and in the mouseReleased event i just do something like,
((BasicToolBarUI) getUI()).isFloating() -
Which event gets fired when we move out of Flex Screen
I want to validate the user detail screen and infrom user if
any error when he moves out of flex screen.
Basically we have submit button out of flex area and user
enters detals in flex screen and submits using jsp headerflash.events.Event.MOUSE_LEAVE Dispatched by the Stage object
when the mouse pointer moves out of the stage area.
Should work for ur situation I guess. -
Event firing when XML data is imported via Acrobat
When a user in Acrobat imports xml data into a form, what event gets fired? I have a couple of actions that occur on change, but when I import xml into the form (to fill in values, etc), this event doesn't fire. Is it on initialize?
Yea, I dug a little deeper and ended up using the initialize event. What I did was on the initialize event I execute the exit script. So it's the same as the user physically putting the value in. Plus, I dont have to have the same code in two places.
In the initialize event code:
myThingie.execEvent("exit");
Pretty cool little function if you find it useful. Thanks for the reply. -
Event Fired when a mxml component is shown on screen
hello,
I have following application structure nested up to 2/3 level.
Application
linkbar connected to viewstack
viewstack
NavigatorContent
mxml Component
NavigatorContent
mxml Component
mxml componet in turn has similar structure
componet
linkbar connected to viewstack
viewstack
NavigatorContent
mxml Component
NavigatorContent
mxml Component
and end component is form which is shown and actions performed
I want to execute specific code when the form is first time shown
which will collect data from server and will show for further actions.
User will edit/delete/update data with various button clicks.
I tried activate event on end component but it seems that it wont get
fired at all. End components are enclosed in BorderContainer or Group.
To test activate event I have used Alert.show only but popup is not shown
when I select link button on penutimate linkbar.
If I am doing something wrong please let me know as well please
guide me which event shall I use so that whenever linkbutton is
pressed on linkbar it will fire that event. In that event I can check
whether it has been called earlier by checking some variable which
will be null in creation complete and set in event fired when linkbutton is pressed.
Thanks and regards
RajaI think 'creationComplete' is the closest event to what you are looking for.
-
What event fires when a captivate ends?
Hello,
I'm a web app developer and I'm working with Captivate. I'm not a captivate designer myself, just a programmer, so I don't know the first thing about Captivate (though I'm working with someone who does). I'm wonder if there's an event that fires when the captivate is done--that is, when the user clicks on the "submit" button on the last slide after which there is nothing more for the captivate to do.
My friend the Captivate designer says the submit button is wired up to an event handler in the CPM.js file. The script is named "assessment_Pass" and we've located the event handler in CPM.js. However, I can't work with this. I can't manually manipulate minimized javascript that Captivate generates, especially when we've got hundreds of captivate files and keep getting updated. I need to work in the javascript in my Visual Studios project. If I could know what event fires (if an event fires) when the captivate is done, I can then wire it up to a javascript event handler in my development environment.
I found this list of Captivate events (they're actually for the Captivate API Interface, which I'd prefer to work with, but any event will do), but none of the one's I tried seem to fire.
Any help is much appreciated.[quote="elearning_dude"]Events are exposed only for interactive objects (buttons, button smartshapes, etc.) and ON_SLIDE_ENTER and ON_SLIDE_EXIT (the latter of which actually fires on the first frame of the *following* slide, unless it's been fixed in Cp8). [/quote]
Well, it's a submit button on the captivate that's supposed to fire the event. Is that an interactive object?
[quote="TLCMediaDesign"]Maybe if you explained what you are trying to accomplish I could point you in the right direction. Maybe you could use the CPAPI_MOVIESTOP or CPAPI_VARIABLEVALUECHANGED events and check if on the last slide.[/quote]
I would like to know when the captivate ends (i.e. when the user has gone through all the slides and has clicked the submit button) and to do some processing in javascript afterwards (essentially, calculate the user's score and figure out whether they passed or failed).
I'm trying the CPAPI_VARIABLEVALUECHANGED event on a captivate variable called "result". My friend the Captivate designer says that when the user clicks the last submit button, a script is run to change the value of this variable. When it changes, this event should be fired and I should be able to catch it, no?
I'm doing it like this:
_captivateWindow.cpAPIEventEmitter.addEventListener("CPAPI_VARIABLEVALUECHANGED", "result", ResultChanged);
var ResultChanged = function()
alert("hello");
but I'm not getting my hello message.
I will try the timer idea that andreleal suggested and get back to you. -
What does one do when iPhoto version 7.1.5 only opens one event without showing all photos or any other events?
Depends -what other clues? What recently changed? Do you have a good current backup? best guess is to Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - and repair the database - if that does not resolve things rebuild your iPhoto library database
LN -
Revision: 4015
Author: [email protected]
Date: 2008-11-04 11:34:41 -0800 (Tue, 04 Nov 2008)
Log Message:
Fix an RTE when a pop up is removed before its FlexEvent.CREATION_COMPLETE event is fired.
QE Notes: None
Doc Notes: None
Bugs: SDK-17886
Reviewer: Alex
tests: checkintests, Managers/focusManager
FocusManager.as
In the FlexEvent.CREATION_COMPLETE handler don't activate a pop up if the pop up does not have a parent.
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17886
Modified Paths:
flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/managers/FocusManager.asRemember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them. This may or may not be unique to Arch Arm, so you might try asking on their forums as well.
-
MediaPlayback - event fired when file not found?
I want to have a playlist containing mp3 from multiple sites.
I would like to use the MediaPlayback component to play these. If
we try to play an mp3 that is not currently available we'd simply
like to skip to the next mp3. I don't see any event or anyway to
detect if a file was not found.
We'll be using the "complete" event to know when to start the
next mp3. Unfortunately this event it not fired in the scenario
where the file is not available.
Any suggestions (other than using the Sound object directly)?
Thanks in advance.Hi,
Refer these links for Java i\o operations.
http://www.java2s.com/Code/Java/File-Input-Output/CatalogFile-Input-Output.htm
http://download.oracle.com/javase/tutorial/essential/io/check.html
http://www.roseindia.net/java/example/java/io/
For java mapping help, pls search in sdn, you will find lots of helpful blogs
Regards
Maybe you are looking for
-
In need of desparate help (newbie)
so my plan is simple. from the execute query i bring back multiple resultsets, which i then populate into a vector. then this vector must be redirected to a JSP to iterate through a loop and display the results. here is my following code: test.java V
-
Finder Search-Function is troubled / corrupted / misfunctioning When keying in a search word the files are selected properly, yet not shown with details. Furthermore you cannot click and open any file. Also sorting is not possible. Anyone else has su
-
Stopped playing quicktime movies
Out of the blue it seems I can't play any quicktime movies. QT opens but no pic or sound. mpeg movies play fine in qt. I have qt pro, latest updates on a macbook pro w/ leopard. Get an error message directing me to 3rd party updates. Any ideas Thanks
-
How to change the location of JButton
b1 = new JButton("Disable middle button"); b1.setVerticalTextPosition(AbstractButton.CENTER); b1.setHorizontalTextPosition(AbstractButton.LEADING); //aka LEFT, for left-to-right locales b1.setMnemonic(KeyEvent.VK_D); b1.setActionCommand("disable"); b
-
CS6 on High Resolution Screen Windows 8.1
Hallo, I am using CS6 on a laptop with a 3200x1800 Screen. Wonderfull for pictures - But, while Win8.1 enlarges the icons and menus in standard appclications all the icons in the CS UserInterface are so tiny it is hard to find them. Is there a pos