How to tell apart ready:form-event and ready:layout-event

Hi,
I would like to call the same function in a script object from different events.
As I cannot make layout changes in the ready:layout event I would like to find out in the function: Which event called me?
event.name gives me the event name nicely for most events. (Although the returned strings are somewhat peculiar....)
But: The ready:layout-event as well as the ready:form-event both give me "Open".
Therefore I would like to know:
How can a function tell whether it was called from ready:layout or from ready:form?
I suppose there is a much simpler solution, than trying "event.name".
Ulrich

Hi Ulrich,
Check out event.activity in LC Designer help. This gives a closer description of the event fired, eg 'docReady' instead of 'open'.
Good luck,
Niall

Similar Messages

  • How can I detect Form Open event and Import data event ?

    We are using Adobe Designer 7 and Adobe Reader 7.0.5. When we open a Form, Initialize event is being called. Similarly when we Import any data, initialize event is being called. At the Initialize event, I want to know whether it is caused by Opening the Form (or) Importing the data. Please respond as we were completely stuck up with this issue.

    My screenshot was only an example how you can approach the issue. I wasnt saying that you should try it with AI....
    Just take a closer look into the DAQmx Events and you will discover something like this:
    hope this helps,
    NorbertMessage Edited by Norbert B on 10-05-2007 02:35 AM
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.
    Attachments:
    DAQmxEvent.PNG ‏11 KB

  • How to delete all the events and create new events from scratch?

    I have all my photos separated into albums and I would like these albums to be considered events in iPhoto. The problem is that there are already lots of events in my iPhoto library that are not "real" events. It just so happens they were uploaded at a certain time and during one of my upgrades of iPhoto all these different uploads became different events. Of course, there are some albums I would like to become a single event as well...but I am not sure how to strip all of my photos of events and then add the photos to new events?

    Select all the pics in an Album and Flag them.
    Then go Events Menu -> Create Event from Flagged Photos
    A new Event is created that moves the pics from their existing Event
    Unflag the Photos then move to the next album. Repeat.
    Regards
    TD

  • How to apply patch to forms 6i and report 6i version

    Hi to All,
    Can any give any link or Metalink Doc ID or any method to how to apply patch to forms and reports 6i in cleint server architecture.
    Thanks and Regards
    imran

    Hi user622720
    Pls Check this Link
    Pls verify this as an example:
    MyProject =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = servername)(PORT = 1540))
    (CONNECT_DATA =(SID = TEST))
    and change the bold fields as required according to ur application..!
    Hope it Helps,
    Regards,
    Abdetu..

  • How to tell sapinst not to check and extract Oracle RDBMS CDs

    Hi,
    I try to install SolMan on a system which I already installed another SAP instance on. From that earlier installation I kept the extracted and "patched" Ora10 staging area, patches, etc., but I removed the original RDBMS CDs (I didn't needed them).
    Now SolMan sapinst also requires the Oracle installation material. How can I tell sapinst not to check and extract the Oracle RDBMS CD because the stuff is already in the stage?
             Thanx in advance,
                Laszlo Molnar

    Hi,
    The extraction of RDBMS software happens when the SAPINST is taking inputs , before starting installation.
    There is check box with the name 'Extract DB software' , you have not uncheck that , by default the check box will be checked.
    I dont remember the screen name , but it usually happens when taking inputs for database.
    thanks
    Prasanna

  • Free Forms Modernization and Oracle ADF event running June 6th 2011

    Oracle partner iAdvise are running a full day workshop on Forms modernization and Oracle ADF in Belgium on the 6th June 2011. For those interested in JDeveloper and ADF, there is a full afternoon of ADF training, as well as a copy of the Quick Start Guide to Fusion Development JDeveloper and Oracle ADF.
    You can register here:https://www.iadvise-hosting.be/pls/apexsaas2/f?p=eev:104:4479387178760612%20
    So, if you have any investment in Oracle Forms and are looking at ADF, you need to attend!

    bump

  • How to setup security for Forms, Reports, and Discoverer11g on WLS 10.3.5

    I am trying to setup simple security on my WebLogic server (linux OS) using a Windows Active Directory Server. I have an LDAP authentication provider created that links to a central Active Directory server, but I am unclear on where to go next.
    I want the user to login to the network from their PC but not have to login again if they decide to run an application like Discoverer, all of the authentication would be handled by the Windows AD server. Has anyone else done this before on WebLogic?
    Are there white papers out there that would explain the steps required to accomplish this? Thanks for any help.

    Soooo...I need to install OID on top of my Forms, Reports, and Discoverer install? Would it be better to install the SSO and OID before installing any other middle ware products like Forms, Reports, and Discoverer? Then extend the domain to include Forms, Reports, and Discoverer?
    Can you point me to documentation that would help me get this issue worked out?
    Thanks.

  • Differences between Robot class generated events and real input events

    Hello everyone!
    I'm having a problem with the translation of the description of the awt.Robot class.
    - "This class is used to generate native system input events" -
    Does this mean there is no difference between real input events and generated events from the Robot class? Difference in reference to that the generated events can't be recognized as generated events by the os or programs.
    Thanks in advance.
    Chris B.

    The Robot class will use an interface provided by the operating system to inject events. Those are very close to 'real' input events, but not quite there. There are, for instance, several games out there which have a protection mechanism against Robot's events to prevent scripting/botting. However, any application that is not paying special attention to the event's source will assume that the input events generated by Robot are actually coming from the user, so you can 'control' any application with the exception of the beforementioned games.

  • What's the difference between splitting events and creating an event?

    With photos selected in an event, "splitting" the event and "creating a new event" appear to do the same thing. Is there any difference? In either case, a new event is created with the selected photos taken out of the original event.
    doug

    Doug:
    Auto split will split up the event into events based on the date requirement that's been set for events, i.e. 1 day per ever, 1 week ,etc. It's automatic. Whereas creating a new event you determine which photos go into that event.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • How do I connect from  forms 6i  and SQL Plus to Oracle XE?

    I have successfully installed Oracle database XE on my work labtop. This machine has already oracle forms,reports,sqlplus installed locally. I have tnsnames.ora file in orant/net80/admin directory. I have created an entry in this tnsnames.ora file copied from the tnsnames.ora file created during the installation of XE in the directory where xe is installed.
    I can connect to XE from dos promt by typing sqlplus system/password@xe. But if I go to sqlplus 8.0 (Windows) and try to connect , I get a tnsnames error. Same as when connecting from forms.
    Someone please advice. Also If i create an application using Oracle Database Xe
    and Oracle forms 6i , Is there any way that I can embedd the database in the forms to distribute as a package.?
    Thanks
    George

    George,
    please give us a bit more details:
    1) You are on Windows XP SP2, right?
    2) please post the result of your tnsping80
    D:\Oracle>tnsping80 xe
    TNS Ping Utility for 32-bit Windows: Version 8.0.6.3.0 - Production on 12-JAN-2006
    08:24:27
    (c) Copyright 1997 Oracle Corporation.  All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))
    OK (360 msec)3) In which order did you install the oracle software, XE was last, right?
    4) Can you still connect using Forms to your other databases? Is everything else still working, just the connect to XE doesn't work?
    5) please post your PATH variable:
    echo %PATH%
    6) please post the XE entry from your tnsnames.ora
    7) please post the result of your "normal" tnsping:
    tnsping xe
    Also If i create an
    application using Oracle Database Xe
    and Oracle forms 6i , Is there any way that I can
    embedd the database in the forms to distribute as a
    package.?Sure, XE is meant to be embedded by other solutions. I guess Oracle will have detailed documentation on how to create a package, preinstall the necessary schemas and objects and distribute it together with your forms and reports.
    ~Dietmar.

  • For the same table in the same page, how to use 2 different forms (simple and tabular)?

    Hello! How I can be on the same page with the same table insert and update operations using 2 different forms (single form and tabular form)
    I have little knowledge of Apex, but I know PLSQL
    Thanks
    Ginger
    Ecuador

    Thank you Gramps.  It took some time, but I've got it working now.  I had to re-do all the user authentication actions from scratch for one of the databases, but it's finally behaving itself now.  I appreciate you pointing me in the right direction.

  • How to compare two currency form fields and display a message if the fields do not equal?

    My form has 2 fields named Total_1 and Total_2. If one of the fields does not equal the other, a hidden field will display a message in red on the form alerting the user. Otherwise, the message does not display. Looks like a validation script but I would greatly appreciate help in getting it started. Any ideas?
    Thanks, Charlie
    charlie6067

    Since the field values that you want to compare are the results of calculations, you should not normally compare their string values, but rather their numeric values when rounded appropriately (and perhaps then converted to a string). For example, if you have two values that display as 3.14, one could be 3.1400000001 and the other could be 3.13999999999991234. When you get the field values as strings and compare them, they won't be equal though they appear to be. Even some values that are numerically identical won't be equal when compared as strings ("0.0" != "0.00") So the code could be changed to:
    // Get the two field values, rounded to two decimals
    var v1 = util.printf("%.2f", getField("Total_1").value);
    var v2 = util.printf("%.2f", getField("Total_2").value);
    // Hide/Show the error message
    event.value = (v1 === v2 || (+v1 === 0 && +v2 === 0)) ? "" : "Error message here.";

  • How to CORRECTLY do a form Login and get a cookie in return???

    Hi,
    I am a relatively new developer and this is actualy my first post ever. I ussually find everything i need in other posts but for some reason this time i have been miserably unsuccessful and am close to pulling my hair out.
    I am trying to login to a website using some sort of form login so that it returns a cookie that i can than use to download files or access pages.
    Now here is the actual html of the website:
    <form name="login" action="https://www.website.com.au/login/login_action.cfm" method="post">
    <div class="username">
    <input name="contact_username" type="text" size="16" maxlength="60" />
    </div>
    <div class="password">
    <input name="contact_password" type="password" size="16" maxlength="60" />
    </div>
    <div class="login">
    <img id="li" src="/corporate/images/login_up.gif" alt="Login Button" onMouseOut="MM_swapImgRestore();"
    onMouseOver="MM_swapImage('li','','/corporate/images/login_over.gif',1);" onclick="check_submit();" />
    </div>
    </form>
    Could some one PLEEEEEASE let me know the code that i could use to successfuly login and return a cookie.
    I have already created the code the uses the cookie to access pages. (I got the cookie from login normally using web browser).
    So now i just need to know how i can login and get a cookie returned to the above form????
    PLEASE PLEASE HELP.
    Thanks in advanced :)

    1) I'm wondering how this all applies to Java. What Java code have you tried and has failed here? Are you talking about Java or Javascript? JSP?
    2) Please don't cross-post this in multiple forums. That only pisses us off and will guarantee you less help than if you didn't do this. Imagine a volunteer giving of his free time to help someone, spending say an hour or more trying to come up with a solution, then finding after posting that the solution was already given in a cross-post, and you'll know why this is very much frowned upon in these forums. Choose one thread to be the active thread, and then put a note in the other thread directing posters to the active thread (if you really want help that is).

  • How to tell the date of a source clip (from events) in a project

    I am making a very long and complex project.
    I am using events from IHD and EHD. 
    The project has tons of clips from tons of different events spanning over 10 years.
    I want to add some still pics.  I want the still pics to be inserted around the same time the video was taken (i.e. my pics are sorted by date and my video clips in events are also sorted by date).
    Question is:
    Is there a way to see the date of the clip being used in the Project???
    (The events list the clip dates, but I have so many clips in the project, that I couldn't possibly find them all using the events view).
    So, I want to be able to say, this 10second portioned clip in this project was taken on April 5, 2005 for example.
    Can I do this some how??
    Thanks.

    Thanks.
    Darn it.... I didn't realize this.
    I put together a 20min project so far... it is composed of many many few second clips from probably over 100 different events spanning over 10 years.... now i want to add the still pics to it..... so I guess it is a little to late for this solution ;(.  I probably should have added the stills during the time I added the video clips (since it would be hard to go back to see what events the videos clips in the project came from).
    I like to put all the video clips in first and then add the still pics.  Then add music last.
    But your tip is good to know and thanks so much again!

  • How to migrate my oracle forms 9i and reports application..

    Hi,
    we have this budgeting application developed in oracle forms 9i,reports integrated in oracle portal. Now we have to move this application from oracle 9i to oracle 10g and have to integrate it with new portal again.
    Can anybody pls help me how do I migrate this application to oracle 10g AS and integrate it with portal so exact replica which was on oracle 9i portal is there on my new oracle 10g integrated within the portal.

    Are you currently deployed on the web or as c/s. Generally speaking for upgrading Forms its a case of open in the builder, regenerate and run. For c/s to web there may be some extra steps to do but generally speaking most Forms will run out of the box.
    CHeck out otn.oracle.com/formsupgrade
    There is also a batch option to help you and there are of course Oracle partners who can help as well.
    Regards
    Grant

Maybe you are looking for