Canvases vs forms

I am trying to understand when I would use forms or canvases.I thought that for each screen on an app you would create a form. Instead I have seen apps that use several canvases for one form, each representing a screen. Please help!

This all depends on what you want the Form to do.
You may have a single canvas/window within the form which shows all the columns on a table and the user can retireve records from the database and update the columns as he sees fit.
However, you may want the user to perform a specific task and believe a wizard type approach may be better. In this case you could have several windows/canvases within the form which the user is taken through step by step until the action has been finished.
You need to look at the functionality required and the solution which you believe would best fit this.
John

Similar Messages

  • Mutiple Canvases Single form

    Hi,
    I'm facing a problem of having multiple canvases(3) in single form.
    I've two Data blocks(Master & Detail). Master having one canvas. But details have two different canvases.
    I've created 3 different menus for 3 canvases.
    say Master,Detail1,Detail2. Now the problem is when i try to open detail1 or detail2 from oracle apps menu it opens master canvas only.
    i've created functions in apps & in NEW_FORM_INSTANCE trigger coded like
    If (fnd_function.current_form_function = 'CRM_FC_PPC') then
    GO_BLOCK('CRM_CUSTO_FORCAST_DET');
    SHOW_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    HIDE_VIEW('SHIPPING');
    Elsif (fnd_function.current_form_function = 'CRM_FC_SHIP') then
    SHOW_VIEW('SHIPPING');
    HIDE_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    Else
    SHOW_VIEW('CUST_FORECAST');
    HIDE_VIEW('PPC');
    HIDE_VIEW('SHIPPING');
    Go_item('CRM_CUST_FORCAST_HDR.CUSTOMER_ID');also my master canvas is Content & details are stacked. should i create different windows for details canvases ? i also did that but failed.
    what could be the solution here ?
    Forms 6i
    DB 9.2
    Regards

    Hi,
    Sorry for delayed reply.
    Francois,
    I've tried with go_item but it doesn't worked. i knew it & tried it before asking here. but thanks anyway.
    Ahmed,
    i've only one window show all these canvases.I'm now trying with multiple windows.
    The code is as follow
    If (fnd_function.current_form_function = 'IRS_CRM_FC_PPC') then
         GO_ITEM('IRS_CRM_CUSTO_FORCAST_DET.CUSTOMER_ID');
    Set_window_property('CF_PPC',VISIBLE,PROPERTY_TRUE);     
    Set_window_property('MAIN',VISIBLE,PROPERTY_FALSE);     
    Set_window_property('CF_PPC',TITLE,'IRS CRM PPC Details'||:global.div);
    GO_BLOCK('IRS_CRM_CUSTO_FORCAST_DET');
    SHOW_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    HIDE_VIEW('SHIPPING');
    Elsif (fnd_function.current_form_function = 'IRS_CRM_FC_SHIP') then
    SHOW_VIEW('SHIPPING');
    HIDE_VIEW('PPC');
    HIDE_VIEW('CUST_FORECAST');     
    Else
    SHOW_VIEW('CUST_FORECAST');
    HIDE_VIEW('PPC');
    HIDE_VIEW('SHIPPING');
    Go_item('IRS_CRM_CUST_FORCAST_HDR.CUSTOMER_ID');Regards
    PS. Master is Content & details are stacked.
    Edited by: user10569054 on Apr 5, 2010 3:10 PM edited for canvas details

  • Forms 9i Compatibility - Stacked Canvases

    I'm currently working on a forms screen that implements a horizontal scrollbar using stacked canvases and multiple viewports all within the same window.
    My boss wants to make sure that this form would be easily migratable to Forms 9i (from Forms 6i) when we eventually switch.
    Is there a cause for concern? Has anyone used stacked canvases on Forms 9i with horizontal scrolling?
    Thanks,
    Gio - [email protected]
    Giovanni Jaramillo
    AMGEN Inc. - Sales & Marketing Information Systems
    Thousand Oaks, CA 91320-1799

    Hi Giovanni,
    I have a form that implements one stacked canvas with one viewport (horizontal scrolling) all in the same window.
    It works fine but for one strange problem,
    when the form is run and you click on any item on the stacked canvas, the whole viewport becomes blank.
    I am at a loss why. Haven't reported it though since i have been a bit pre-occupied with other things but now is as good a time as any.
    Thanks for bringing it up.

  • Problems with subclassing in Forms 6i

    When I subclass text fields and canvases in Forms I am not able to see them when they are compiled. The layout does not include any of the text fields for entering in data. When I un-subclass all the elements from an Oracle form I am able to see everything and it compiles fine; but the look and feel is completely different and some functionality such as searching does not work. When it is subclassed; it compiles and runs fine but the layout and functionality of the form is lost completely. In one case where I have tried using tabs, it looses all formatting leaving only the text identifiers for the fields and no tabs.
    Oracle Application Object Library
    Forms Version: 6i
    Platform : HP-UX PA-RISC (64-bit)

    EBS General Discussion General EBS Discussion is more appropriate forum for this issue. Close this thread and post there.
    --Shiv                                                                                                                                                                                                                                                                                                                                       

  • About forms builder 6i's tab page

    when tab page is changed from one to another which triggers will be fired in order?? (click the topmost Tab Page )
    thanks
    Edited by: user650991 on Apr 16, 2009 6:11 PM

    ok, I find the answer in metalinnk.
    Native Tab Controls in Forms - Tab Pages and Tab Canvases
    Doc ID: 43014.1
    Controlling Canvases in Forms Programmatically
    Doc ID: 73441.1

  • Error in form10g release 2

    I am using form10g relese 10.1.2.0.2 I am getting the error
    .ORACLE.FORMS.WEBUTIL.FILE.FILEFUNCTION BEAN IS NOT FOUND
    WEBUTIL_FILE.FILE_SELECTION_DIALOG_INT WILL NOT WORK
    when I press the button to get file name from client side the simple trigger is written on the button
    :t:=client_get_file_name(null,null,null,null,open_file,true);
    and I also attached webuitl.pll and I Drag WEBUTIL from WebUtil Objects to the “Object Groups”
    Click on [Copy]
    and the java console out put is shown below its seems that java bean are not avaible but when i swtich to the webutil canvasa from form it give me error FRM-13008 CANNOT FIND JAVA BEAN WITH NAME '\oracle\forms.webutil.ole.olefunction'.
    JAVA CONSLOE OUTPUT
    Oracle JInitiator: Version 1.3.1.22
    Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\AdministratorProxy Configuration: no proxyJAR cache enabled
    Location: C:\Documents and Settings\Administrator\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    ----------------------------------------------------Loading http://jip615:8889/forms/java/frmall_jinit.jar from JAR cacheproxyHost=nullproxyPort=0connectMode=HTTP, native.Forms Applet version is : 10.1.2.0java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.     at sun.applet.AppletClassLoader.getBytes(Unknown Source)     at sun.applet.AppletClassLoader.access$100(Unknown Source)     at sun.applet.AppletClassLoader$1.run(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at sun.applet.AppletClassLoader.findClass(Unknown Source)     at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at sun.applet.AppletClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClass(Unknown Source)     at java.lang.ClassLoader.loadClassInternal(Unknown Source)     at java.lang.Class.forName0(Native Method)     at java.lang.Class.forName(Unknown Source)     at oracle.forms.handler.UICommon.instantiate(Unknown Source)     at oracle.forms.handler.UICommon.onCreate(Unknown Source)     at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)     at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)     at oracle.forms.engine.Runform.processMessage(Unknown Source)     at oracle.forms.engine.Runform.processSet(Unknown Source)     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)     at oracle.forms.engine.Runform.onMessage(Unknown Source)     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)     at oracle.forms.engine.Runform.startRunform(Unknown Source)     at oracle.forms.engine.Main.createRunform(Unknown Source)     at oracle.forms.engine.Main.start(Unknown Source)     at sun.applet.AppletPanel.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)
    and my formsweb.cfg is as follows# $Id: formsweb.cfg 15-apr-2005.13:17:30 pkuhn Exp $
    # formsweb.cfg defines parameter values used by the FormsServlet (frmservlet)
    # This section defines the Default settings. Any of them may be overridden in the
    # following Named Configuration sections. If they are not overridden, then the
    # values here will be used.
    # The default settings comprise two types of parameters: System parameters,
    # which cannot be overridden in the URL, and User Parameters, which can.
    # Parameters which are not marked as System parameters are User parameters.
    # SYSTEM PARAMETERS
    # These have fixed names and give information required by the Forms
    # Servlet in order to function. They cannot be specified in the URL query
    # string. But they can be overridden in a named configuration (see below).
    # Some parameters specify file names: if the full path is not given,
    # they are assumed to be in the same directory as this file. If a path
    # is given, then it should be a physical path, not a URL.
    # USER PARAMETERS
    # These match variables (e.g. %form%) in the baseHTML file. Their values
    # may be overridden by specifying them in the URL query string
    # (e.g. "http://myhost.mydomain.com/forms/frmservlet?form=myform&width=700")
    # or by overriding them in a specific, named configuration (see below)
    [default]
    # System parameter: default base HTML file
    baseHTML=base.htm
    # System parameter: base HTML file for use with JInitiator client
    baseHTMLjinitiator=basejini.htm
    # System parameter: base HTML file for use with Sun's Java Plug-In
    #baseHTMLjpi=basejpi.htm
    # System parameter: delimiter for parameters in the base HTML files
    HTMLdelimiter=%
    # System parameter: working directory for Forms runtime processes
    # WorkingDirectory defaults to <oracle_home>/forms if unset.
    workingDirectory=
    # System parameter: file setting environment variables for the Forms runtime processes
    envFile=default.env
    # Forms runtime argument: whether to escape certain special characters
    # in values extracted from the URL for other runtime arguments
    escapeparams=true
    # Forms runtime argument: which form module to run
    form=test.fmx,fileuploader90.fmx
    # Forms runtime argument: database connection details
    userid=
    # Forms runtime argument: whether to run in debug mode
    debug=no
    # Forms runtime argument: host for debugging
    host=
    # Forms runtime argument: port for debugging
    port=
    # Other Forms runtime arguments: grouped together as one parameter.
    # These settings support running and debugging a form from the Builder:
    otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
    # Sub argument for otherparams
    buffer=no
    # Sub argument for otherparams
    debug_messages=no
    # Sub argument for otherparams
    array=no
    # Sub argument for otherparams
    obr=no
    # Sub argument for otherparams
    query_only=no
    # Sub argument for otherparams
    quiet=yes
    # Sub argument for otherparams
    render=no
    # Sub argument for otherparams
    record=
    # Sub argument for otherparams
    tracegroup=
    # Sub argument for otherparams
    log=
    # Sub argument for otherparams
    term=
    # HTML page title
    pageTitle=Oracle Application Server Forms Services - WebUtil
    # HTML attributes for the BODY tag
    HTMLbodyAttrs=
    # HTML to add before the form
    HTMLbeforeForm=
    # HTML to add after the form
    HTMLafterForm=
    # Forms applet parameter: URL path to Forms ListenerServlet
    serverURL=/forms/lservlet
    # Forms applet parameter
    codebase=/forms/java
    # Forms applet parameter
    imageBase=DocumentBase
    # Forms applet parameter
    width=750
    # Forms applet parameter
    height=600
    # Forms applet parameter
    separateFrame=false
    # Forms applet parameter
    splashScreen=
    # Forms applet parameter
    background=/forms/demo/images/blue.gif
    # Forms applet parameter
    lookAndFeel=Oracle
    # Forms applet parameter
    colorScheme=teal
    # Forms applet parameter
    logo=
    # Forms applet parameter
    restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
    # Forms applet parameter
    formsMessageListener=
    # Forms applet parameter
    recordFileName=
    # Forms applet parameter
    serverApp=default
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar
    # Number of times client should retry if a network failure occurs. You should
    # only change this after reading the documentation.
    networkRetries=0
    Webutil_config=e:\dev10g\forms\server\webutil.cfg
    WebUtilArchive=frmwebutil.jar,jacob.jar
    WebUtilLogging=off
    WebUtilLoggingDetail=normal
    WebUtilErrorMode=Alert
    WebUtilDispatchMonitorInterval=5
    WebUtilTrustInternal=true
    WebUtilMaxTransferSize=16384
    # Page displayed to Netscape users to allow them to download Oracle JInitiator.
    # Oracle JInitiator is used with Windows clients.
    # If you create your own page, you should set this parameter to point to it.
    jinit_download_page=/forms/jinitiator/us/jinit_download.htm
    # Parameter related to the version of JInitiator
    jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
    # Parameter related to the version of JInitiator
    jinit_exename=jinit.exe#Version=1,3,1,22
    # Parameter related to the version of JInitiator
    jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
    # Page displayed to users to allow them to download Sun's Java Plugin.
    # Sun's Java Plugin is typically used for non-Windows clients.
    # (NOTE: you should check this page and possibly change the settings)
    jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
    # Parameter related to the version of the Java Plugin
    jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
    # Parameter related to the version of the Java Plugin
    jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
    # Parameter related to the version of the Java Plugin
    jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
    # EM config parameter
    # Set this to "1" to enable Enterprise Manager to track Forms processes
    em_mode=0
    # Single Sign-On OID configuration parameter
    oid_formsid=%OID_FORMSID%
    # Single Sign-On OID configuration parameter
    oracle_home=e:\dev10g
    # Single Sign-On OID configuration parameter
    formsid_group_dn=%GROUP_DN%
    # Single Sign-On OID configuration parameter: indicates whether we allow
    # dynamic resource creation if the resource is not yet created in the OID.
    ssoDynamicResourceCreate=true
    # Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
    ssoErrorUrl=
    # Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
    ssoCancelUrl=
    # Single Sign-On parameter: indicates whether the url is protected in which
    # case mod_osso will be given control for authentication or continue in
    # the FormsServlet if not. It is false by default. Set it to true in an
    # application-specific section to enable Single Sign-On for that application.
    ssoMode=false
    # The parameter allow_debug determines whether debugging is permitted.
    # Administrators should set allow_debug to "true" if servlet
    # debugging is required, or to provide access to the Forms Trace Xlate utility.
    # Otherwise these activities will not be allowed (for security reasons).
    allow_debug=false
    # Parameter which determines whether new Forms sessions are allowed.
    # This is also read by the Forms EM Overview page to show the
    # current Forms status.
    allowNewConnections=true
    # EndUserMonitoring
    # EndUserMonitoringEnabled parameter
    # Indicates whether EUM/Chronos integration is enabled
    EndUserMonitoringEnabled=
    # EndUserMonitoringURL
    # indicates where to record EUM/Chronos data
    EndUserMonitoringURL=
    # Example Named Configuration Section
    # Example 1: configuration to run forms in a separate browser window with
    # "generic" look and feel (include "config=sepwin" in the URL)
    # You may define your own specific, named configurations (sets of parameters)
    # by adding special sections as illustrated in the following examples.
    # Note that you need only specify the parameters you want to change. The
    # default values (defined above) will be used for all other parameters.
    # Use of a specific configuration can be requested by including the text
    # "config=<your_config_name>" in the query string of the URL used to run
    # a form. For example, to use the sepwin configuration, your could issue
    # a URL like "http://myhost.mydomain.com/forms/frmservlet?config=sepwin".
    [sepwin]
    separateFrame=True
    #lookandfeel=Generic
    # Example Named Configuration Section
    # Example 2: configuration forcing use of the Java Plugin in all cases (even if
    # the client browser is on Windows)
    [jpi]
    baseHTMLJInitiator=basejpi.htm
    # Example Named Configuration Section
    # Example 3: configuration running the Forms ListenerServlet in debug mode
    # (debug messages will be written to the servlet engine's log file).
    [debug]
    serverURL=/forms/lservlet/debug
    # Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
    # DS but not AS and is also available for download from OTN.
    [webutil]
    baseHTMLjinitiator=webutiljini.htm
    baseHTMLjpi=webutiljpi.htm
    baseHTML=webutilbase.htm
    archive_jini=frmall_jinit.jar
    archive=frmall.jar
    width=100%
    height=100%
    lookAndFeel=oracle
    envFile=default.env
    and my webutil.cfg is as follows
    # webutil.cfg - WebUtil default configuration file
    # This file provides all of the configuration settings for webutil. These are
    # divided into the following sections:
    # 1. Logging Options
    # 2. Installation Options
    # 3. FileUpload and Download Options
    # 1. Server Side Logging Options for logging errors and log messages
    # You must set logging.enabled to true to allow mid-tier logging. Without this
    # mid-tier logging will not take place no matter what PL/SQL or URL options
    # are supplied to switch it on. Once logging is enabled the other settings come
    # into play.
    # Details
    # logging.file : Defines the file name and location of the log file.
    # Note that WebUtil does no log file management. You may
    # need to manually clean this file up from time to time.
    # logging.enabled : Can be TRUE or FALSE
    # logging.errorsonly : Can be TRUE or FALSE. Setting to true will ensure that
    # only errors and not normal informational log messages
    # are written to the log file. For product use this would
    # normally be set to TRUE
    # logging.connections: Can be TRUE or FALSE. Setting to true will cause each
    # connection from a client using WebUtil to write into
    # the log as it sets up.
    logging.file=
    logging.enabled=FALSE
    logging.errorsonly=FALSE
    logging.connections=FALSE
    # 2. Installation Options
    # WebUtil needs to download some files to the client in order to perform
    # certain integration operations such as OLE or Registry Access. These files
    # are downloaded the first time that you access one of the functions that need
    # them. You have to define the location of these files on the server
    # Details
    # install syslib.location : The virtual path to the directory holding the
    # webutil library files on the server side. This
    # must either be an absolute URL or a URL that is
    # relative to the documentbase
    # install.syslib.<os>.<package>.<n> :
    # The name(s) of the libraries required for
    # particular webutil beans. The format of this is
    # name|size|version|showDownloadDialog. Multiple
    # libraries can be downloaded per package. But
    # ensure that the <n> values are consecutive and
    # start at 1
    install.syslib.location=/webutil
    # Change size and version if necessary, like when upgrading the library.
    # Normally this would not be required since most of these libraries come with
    # install itself.
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    # You can also add your own libraries in here, e.g.
    #install.syslib.0.user.1=testwebutil.dll|204872|1.0|true
    # 3. Upload / Download options
    # For the file upload and download options you can define the default locations
    # on the server that webutil can use as a work area. Optionally you can switch
    # upload and download off
    # Details
    # transfer.database.enabled : Can be TRUE or FALSE - allows you to disable
    # upload and download from the database server.
    # transfer.appsrv.enabled : Can be TRUE or FALSE - allows you to disable
    # upload and download from the application
    # server.
    # transfer.appsrv.workAreaRoot: The root of the location in which WebUtil can
    # store temporary files uploaded from the client.
    # If no location is specified, Application Server
    # user_home/temp will be assumed.
    # This location is always readable and writable
    # no matter what the settings in
    # transfer.appsrv.* are. This setting is
    # required if you need the Client side
    # READ/WRITE_IMAGE_FILE procedures.
    # transfer.appsrv.accessControl:Can be TRUE or FALSE - allows you to indicate
    # that uploads and downloads can only occur from
    # the directories named in the
    # transfer.appsrv.read.n and
    # transfer.appsrv.write.n entries and their
    # subdirectories. If this setting is FALSE,
    # transfers can happen anywhere.
    # transfer.appsrv.read.<n>: List of directory names that downloads can read
    # from.
    # transfer.appsrv.write.<n>: List of directory names that uploads can write
    # to.
    #NOTE: By default the file transfer is disabled as a security measure
    transfer.database.enabled=FALSE
    transfer.appsrv.enabled=FALSE
    transfer.appsrv.workAreaRoot=
    transfer.appsrv.accessControl=TRUE
    #List transfer.appsrv.read.<n> directories
    transfer.appsrv.read.1=c:\temp
    #List transfer.appsrv.write.<n> directories
    transfer.appsrv.write.1=c:\temp
    install.syslib.0.user.1=ffisamp.dll|40960|1.0|true
    install.syslin.location=/webutil
    install.syslib.location=http://jip615:8889/forms/webutil
    ## change 2nd value to correct file size to avoid raising an error
    install.syslib.0.7.1=jacob.dll|94208|1.0|true
    install.syslib.0.9.1=JNIsharedstubs.dll|65582|1.0|true
    install.syslib.0.9.2=d2kwut60.dll|192512|1.0|true
    #Application custom libraries
    install.syslib.0.user.1=scanner.dll|23056|1.0|true
    install.syslib.0.user.1=mortgagecalc.dll|100230|1.0|true
    archive_jini=f90all_jinit.jar,frmwebutil.jar,jacob.jar
    WebUtilArchive=frmwebutil.jar,jacob.jar
    transfer.APPSRV.READ=C:\
    transfer.APPSRV.WRITE.1=C:\WORK\UPLOAD
    transfer.APPSRV.WRITE.2=C:\WORK\LOG
    transfer.appsrv.workAreaRoot=d:\temp
    transfer.appsrv.accessControl=TRUE
    transfer.database.enabled=TRUE
    transfer.appsrv.enabled=TRUE
    and my default enviornment file is as follows# $Id: default.env 14-apr-2005.13:22:43 pkuhn Exp $
    # default.env - default Forms environment file, Windows version
    # This file is used to set the Forms runtime environment parameters.
    # If a parameter is not defined here, the value in the Windows registry
    # will be used. If no value is found in the registry, the value used will
    # be that defined in the environment in which the servlet engine (OC4J
    # or JServ) was started.
    # NOTES
    # 1/ The Forms installation process should replace all occurrences of
    # <percent>FORMS_ORACLE_HOME<percent> with the correct ORACLE_HOME
    # setting, and all occurrences of <percent>O_JDK_HOME<percent> with
    # the location of the JDK (usually $ORACLE_HOME/jdk).
    # Please make these changes manually if not.
    # 2/ Some of the variables below may need to be changed to suite your needs.
    # Please refer to the Forms documentation for details.
    ORACLE_HOME=e:\dev10g
    # Search path for Forms applications (.fmx files, PL/SQL libraries)
    # If you need to include more than one directory, they should be semi-colon
    # separated (e.g. c:\test\dir1;c:\test\dir2)
    FORMS_PATH=C:\Forms10gR2READ_FOLDER;e:\dev10g\forms
    # webutil config file path
    WEBUTIL_CONFIG=e:\dev10g\forms\server\webutil.cfg
    # Disable/remove this variable if end-users need access to the query-where
    # functionality which potentially allows them to enter arbitrary SQL
    # statements when in enter-query mode.
    FORMS_RESTRICT_ENTER_QUERY=TRUE
    # The PATH setting is required in order to pick up the JVM (jvm.dll).
    # The Forms runtime executable and dll's are assumed to be in
    # e:\dev10g\bin if they are not in the PATH.
    # In addition, if you are running Graphics applications, you will need
    # to append the following to the path (where <Graphics Oracle Home> should
    # be replaced with the actual location of your Graphics 6i oracle_home):
    # ;<Graphics Oracle Home>\bin;<Graphics Oracle Home>\jdk\bin
    PATH=e:\dev10g\bin;e:\dev10g\jdk\jre\bin;e:\dev10g\jdk\jre\bin\client;e:\dev10g\jlib;
    e:\dev10g\jre\1.4.2\bin\client;e:\dev10g\jre\1.4.2\bin;f:\oracle\product\10.2.0\db_1\BIN
    ;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;f:\oracle\product\10.2.0\db_1\jdk;e:\dev10g\jdk\bin
    # Settings for Graphics
    # NOTE: These settings are only needed if Graphics applications
    # are called from Forms applications. In addition, you will need to
    # modify the PATH variable above as described above.
    # Please uncomment the following and put the correct 6i
    # oracle_home value to use Graphics applications.
    #ORACLE_GRAPHICS6I_HOME=<your Graphics 6i oracle_home here>
    # Search path for Graphics applications
    #GRAPHICS60_PATH=
    # Settings for Forms tracing and logging
    # Note: This entry has to be uncommented to enable tracing and
    # logging.
    #FORMS_TRACE_PATH=<FORMS_ORACLE_HOME>\forms\server
    # System settings
    # You should not normally need to modify these settings
    FORMS=e:\dev10g\forms
    # Java class path
    # This is required for the Forms debugger
    # You can append your own Java code here)
    # frmsrv.jar, repository.jar and ldapjclnt10.jar are required for
    # the password expiry feature to work(#2213140).
    CLASSPATH=e:\dev10g\forms\webutil;
    e:\dev10g\forms\java\frmwebutil.jar;e:\dev10g\forms\java\jacob.jar;
    e:\dev10g\j2ee\OC4J_BI_Forms\applications\formsapp\formsweb\WEB-INF\lib\frmsrv.jar;
    e:\dev10g\jlib\repository.jar;
    e:\dev10g\jlib\ldapjclnt10.jar;
    e:\dev10g\jlib\debugger.jar;
    e:\dev10g\jlib\ewt3.jar;
    e:\dev10g\jlib\share.jar;
    e:\dev10g\jlib\utj.jar;
    e:\dev10g\jlib\zrclient.jar;
    e:\dev10g\reports\jlib\rwrun.jar;
    e:\dev10g\forms\demos\jars\uploadserver.jar;
    e:\dev10g\jdk\jre\lib\rt.jar;
    e:\dev10g\forms\demos\lib;
    e:\dev10g\forms\demos\\fileupload\forms
    and I can able to successfully sign the .jar file from the same location.
    with the following command to ensure the certification
    jarsigner –verify e:\dev10g\forms\java\frmwebutil.jar
    jarsigner –verify e:\dev10g\forms\java\jacob.jar
    And in both commands the result was:
    jar verified
    but I didn't find the frmwebutil.jar.unsigned and jacob.jar.unsigned but frmwebutil.jar.old and jacob.jar.old file is existing there.
    Plz help me its very urgent for me
    and I hope any will give best solution for this problem.

    Do the following steps hope u will success
    Requirement:
    Jacob 1.8 (Do not attempt to use 1.7 or 1.9.)
    Nls language in the registry should be English only one time till we compile the webutil.pll libaray once it compile you can change to any nls language.
    Setps to follow:
    1) Download http://prdownloads.sourceforge.net/jacob-project/jacob_18.zip
    and extract to a temporary staging area. Do not attempt to use 1.7 or 1.9.
    And also download webuitl 1.6 and extract to temporary staging area.
    2) copy Jacob.jar and Jacob.dll to [ora_home]\forms\java\. and [ora_home]\forms\webutil\.
    Replace frmwebutil.jar with [ora_home]\forms\java\frmwebutil.jar
    Which was extracted from nw webuitl.zip file
    3)Set the path for jdk
    Open a DOS command prompt.
    Add [OraHome]\jdk\bin to the PATH:
    c:\set PATH=d:\10g\jdk\bin;%PATH%
    3) From the command prompt Sign the files, and check the output for success:
    [ora_home]\forms\webutil\sign_webutil.bat [ora_home]\forms\java\frmwebutil.jar
    [ora_home]\forms\webutil\sign_webutil.bat [ora_home]\forms\java\jacob.jar
    4) Modify d:\10g\\forms\server\default.env, and append [ora_home]\jdk\jre\lib\rt.jar
    to the CLASSPATH entry.
    6) Start the OC4J instance
    7) Start Forms Builder and connect to any schema.
    Open webutil.pll, do a "Compile ALL" (shift-Control-K), and generate to PLX (Control-T).
    8) ) Create a new FMB.
    Open webutil.olb, and Subclass (not Copy) the Webutil object to the form.
    There is no need to Subclass the WebutilConfig object.
    Attach the Webutil.pll Library, and remove the path.
    Add an ON-LOGON trigger with the code
    NULL;
    Create a new button on a new canvas or any existing canvas but not in webutil canvas, with the code
    show_webutil_information (TRUE);
    in a WHEN-BUTTON-PRESSED trigger.
    Compile the FMB to FMX, after doing a Compile-All (Shift-Control-K).
    9) Under Edit->Preferences->Runtime in Forms Builder, click on "Reset to Default" if
    the "Application Server URL" is empty.
    Then append http://server:port/forms/frmservlet?config=webutil
    10) Run your form.

  • Invoking a MIDlet from another MIdlet

    Hi all,
    Consider this scenario,
    1. midlet A is running
    2. runtime memory of A contains jad and jar files of midlet B in two byte arrays.
    (assume some native methods which allows the applications to install, launch and remove midlet and midlet suites by passing the jad and jar files.)
    3. midlet A uses launchMIDletsuite method for launching the midlet B by passing the jad and jar files.
    4. what will be the state of A after B is launched. (running?, waiting?, destroyed?)5. Whether B is a subset of A. ie. Will A gets control back after B is destroyed.
    6. if not, is there any way to get the control back to A?
    Thanks in Advance
    Nidheesh.P

    I can't see any needs of seperate MIDlets here.
    You can use Canvases and Forms.
    Your app could start with a authentication Form. If the user is invalid, show hime the registration form.

  • Urgent : Regarding Oracle Applications tutorials for beginners

    Hi ,
    This is vamsi krishna. I am new to oracle applications. I am looking for material which contains different examples for:
    1) Reports and various types of reports
    2) Forms and forms customization(all types of examples)
    3) Detailed examples of all types of canvases in forms
    4) All the cycles and interface programs that are called in each cycle. for example in an O2c cycle what are the tables that are effected and what all interface programs or api's that are called in between.
    Please send me the links to forums where i can easy learn all these.
    Please send any required material for all these to [email protected]
    Thanks in Advance.
    Vamsi Krishna G

    Hi,
    Refer to Oracle Application Developer Guide.
    Applications Releases 11i and 12
    http://www.oracle.com/technology/documentation/applications.html
    In addition, the following links should be helpful.
    Oracle Apps Tutorials
    http://www.exforsys.com/tutorials/oracle-apps.html
    eTRM
    http://etrm.oracle.com
    Oracle Integration Repository
    http://irep.oracle.com/
    Regards,
    Hussein

  • Canvas repainting in web migration

    HI,
    We are attempting to migrate our forms to the web. In several cases, we experience intermittent screen re-paints. I have made sure that we have Visible=NO and Raise on entry = yes specified for all but the first canvas. (All of these forms have multiple canvases - some as many as 20 canvases per form!)
    In one particular case, I press a button to launch a LOV, then press a button to close the LOV. Sometimes the repaints happen before the LOV is displayed, other times, the repaints occur after closing.
    This is a frustrating issue - if it was consistent, it would be much easier to fix!
    Any ideas?
    tia,
    r.b.

    A number of flicker issues have been addressed in forms patchsets. Worth noting that some JVMs exhibit flickering problems more than others. These problems can often be
    difficult to reproduce so it would be helpful to know what version of forms and the JVM you are using. If you find that it works in one patchset but not another that would also be useful to know. Ultimately you need to log a testcase with support so that the problem can be investigated.
    I know that we are already investigating some (at least on the surface) issues which sound similar.
    Regards
    Grant Ronald
    Forms Product Managemen

  • Is there any possibilities ??

    Hi all ,
          I developed a form with TAB Canvas  . Now i had a thought of moving the tab pages as per our wish in the Runtime . That means , the user can manually arrange the tab pages which he frequently uses  (or) according to his wishes . Is there is any option to do this ...  Is it Possible in Forms . .

    Hi Lazar,
    The following link may be helpful to you.
    Controlling Canvases in Forms Programmatically | Oracle Notebook

  • Is there any way to get the canvases names on the form

    i have a form in Orcle 6i
    i want when the form load i get the names of the Canvases on the Form automatically
    to change their visual attribute
    is there any way to get the name of the canvases on the form automatically
    Thanks in advance

    The amount of time to evaluate each item in a Form is a lot less than you think. You are dealing with milliseconds. Worse case scenario, you might add 1 second to your form load time.
    I think Francois's suggestion is the best solution, but if this is still too much time, you might concider creating strategic When-New-Item-Instance triggers on an item in each of your canvases that would perform what you want to do.
    This will most likely cause problems of its own, but it is an alternative.
    Food to get the thought process flowing... :-)
    Craig...

  • Problem with Two tab canvases in a form

    Hi Experts,
    I am working on Oracle forms 10g (OS: Windows7) from last 1 year. I have got a requirement to create a form with one tab canvas CAN_TAB (with 2 tab pages) in main page and a pop up tab canvas ASN_SPLIT_TAB(with 2 tab pages). Now the problem is whenever we click on tabs it will fire WHEN-TAB-PAGE-CHANGED trigger and executes the complete code. As a result even if i click a tab page in CAN_TAB canvas it will fire for ASN_SPLIT_CANVAS as well. Check the below code (WHEN-TAB-PAGE-CHANGED). Now i have to differentiate between two tab canvases so that i can use IF-ELSE statement to overcome this problem. Please share your useful comments.
    BEGIN
    Lv_Toppage := Upper(Get_canvas_property('CAN_TAB',Topmost_Tab_page));
      if Lv_Toppage = 'LINES' THEN 
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
      elsif Lv_Toppage = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
      elsif Lv_Toppage = 'AUDIT' THEN
      go_item('shipment_summary.confirmedby');
      show_view('AUDIT');
      end if;
    Lv_Toppage := Upper(Get_canvas_property('ASN_SPLIT_TAB',Topmost_Tab_page));
      IF Lv_Toppage = 'INVOICE_SPLIT' THEN
      show_view('ASN_SPLIT_STACK');
      go_item('ASN_INBOUND_CATEGORY_SUMMARY.brand_representitive');
      ELSIF Lv_Toppage = 'SUPPLIER' THEN
      go_item('CONTROL.cancel_but');
      END IF;
      hide_view('ASN_SPLIT_STACK');
    END;

    Thanks Craig. You made it happen..!! Below code is working fine for me.
    IF :SYSTEM.tab_new_page = 'LINES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_LINES');
      show_view('CAN_SCROLL');
    ELSIF :SYSTEM.tab_new_page = 'ATTRIBUTES' THEN
      go_item('shipment_summary.shipment_reference');
      show_view('CAN_ATT' );
    ELSIF :SYSTEM.tab_new_page = 'INVOICE_SPLIT' THEN
    END IF;

  • Forms 6i - Two Tab Canvases

    Hi. I have a form with 2 canvases of the Type 'Tab'. The first is named 'top canvas' and second is named 'bottom canvas'. Each tab canvas has 3 tab pages under it.
    My problem is that when the user clicks one of the 6 tab pages I need to determine which tab page was clicked.
    I was able to do this when I had only one canvas of the Type 'Tab' by doing the following:
    tp_nm := GET_CANVAS_PROPERTY('TOP_CANVAS', topmost_tab_page);
    tp_id := FIND_TAB_PAGE(tp_nm);
    tp_lb := GET_TAB_PAGE_PROPERTY(tp_id, label);
    IF tp_lb LIKE 'Details%' THEN
    go_item('to_do_mteam.hide_cursor');
    ELSIF tp_lb LIKE 'Droppers To Call%' THEN
    go_item('dropper.hide_cursor');
    END IF;
    But since I now have 2 canvases of the Type 'Tab' I can't hard code the canvas name (e.g. 'top_canvas') like I did above because the tab page could be on either the 'top_canvas' or the 'bottom' canvas. And BOTH canvases will always have a topmost_tab_page.
    Can anyone advise me on how to solve this issue? Any help would be greatly appreciated!

    :system.event_canvas
    Not documented. See thread here:
    Re: System.Tab_New_Page - with multiple tab canvases

  • Mouse coordinate in oracle form canvase

    Hi,
    Is there any way to know the mouse coordinate when the mouse is moving in oracle form canvase.
    I will appreciate for help..... Thanks.
    Regards,

    System variables should give u information
    this forms example might help
    /* Trigger:  When-Mouse-Click
    **   Example:  Dynamically repositions an item if:
    **             1) the operator clicks mouse button 2
    **                on an item and
    **             2) the operator subsequently clicks mouse button
    **                2 on an area of the canvas that is
    **                not directly on top of another item.
    DECLARE
       item_to_move       VARCHAR(50);
       the_button_pressed VARCHAR(50);
       target_x_position  NUMBER(3);
       target_y_position  NUMBER(3);
       the_button_pressed VARCHAR(1);
    BEGIN
       /* Get the name of the item that was clicked.
       item_to_move := :System.Mouse_Item;
       the_button_pressed := :System.Mouse_Button_Pressed;
       **  If the mouse was clicked on an area of a canvas that is
       **  not directly on top of another item, move the item to
       **  the new mouse location.
       IF item_to_move IS NOT NULL AND the_button_pressed =  '2' THEN
          target_x_position := To_Number(:System.Mouse_X_Pos);
          target_y_position := To_Number(:System.Mouse_Y_Pos);
          Set_Item_Property(item_to_move,position,
              target_x_position,target_y_position);
          target_x_position := NULL;
          target_y_position := NULL;
          item_to_move := NULL;
       END IF;
    END; plz mark correct/helpful if it is

  • Forms vs canvases

    I am trying to understand when I would use forms or canvases.I thought that for each screen on an app you would create a form. Instead I have seen apps that use several canvases for one form, each representing a screen. Please help!

    This all depends on what you want the Form to do.
    You may have a single canvas/window within the form which shows all the columns on a table and the user can retireve records from the database and update the columns as he sees fit.
    However, you may want the user to perform a specific task and believe a wizard type approach may be better. In this case you could have several windows/canvases within the form which the user is taken through step by step until the action has been finished.
    You need to look at the functionality required and the solution which you believe would best fit this.
    John

Maybe you are looking for