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

Similar Messages

  • Oracle form 6.0, how to do 3D chart, calender,mouser over changing....

    oracle form 6.0, how to do 3D chart, calender,mouser over changing....in we form, like microsoft style.
    Or it's better use 9i or 10g jdeveloper? or other tchnology?

    The cpu resources are only limited once the cpu's are 100% utilized. It is highly unlikely that dom0 will try to use 100% of a cpu, let alone all cpus. Only when there are no idle physical cpus would you run into issues.
    You may want to try reducing the number of vcpus in the windows guest. I have seen reports from users claiming that having more vcpus in a windows guest causes it to run slower.

  • Cannot mouse-click anything in Oracle forms

    Hi, I can't mouse-click any of the icons/menu/options within Oracle forms. I can navigate using keypad, but can't click using mouse. The screen won't respond. I'm having same problem when opening SQL developer. Appreciate some pointers to troubleshoot the issue. Thanks.

    Hi user;
    In addition to Ahmed also check:
    Scroll mouse not working in Oracle Applications!
    Re: Unable to navigate through mouse click
    There are some similar discussion as your problem in this search:
    http://forums.oracle.com/forums/search.jspa?threadID=&q=mouse&objID=c3&dateRange=all&userID=&numResults=15
    Please check search, i belive you can find many useful advice&notes in there
    Hope it helps
    Regard
    Helios

  • Mouse Scroll Not Working in oracle forms

    Hi,
    I Created a master and detail block.. In Detail block following Properties i set
    No. of Records to be displayed : 10
    Scroll bar : no
    Without having the scroll bar i wannt to check all the records in the detail Block.
    for this i created key_scrolldown trigger in form levl called thye builtin
    SCROLL_DOWN;
    i'm using Oracle 10g.. JIniator for Running Oracle Forms
    applying this Coding this function is not working..
    Can anybody tell this How to oversome from this...???
    Cheers.

    What version of Oracle Forms are you using? You should always include this in your posts. :)
    Mouse scrolling is only enabled in Web runtime of Forms - so you must be using Forms 9i or higher.
    Does JRE Support mouse scrolling function?If memory serves, Mouse scroll was first introduced in Java 1.5.0. Therefore, if you want enble the mouse scroll wheel in Forms, you must be using JRE 1.5.0 or higher. I strongly recommend you use Java 1.6.0_33 or higher - but do not use Java 1.7.0 as it has not been certified with Oracle Forms yet.
    In order to use the JRE over the Jinitiator, you must modify your configuration to enable use of the JRE. Please take a look at Oracle 10gR2 Forms Services – Using Sun's Java Plug-in. This Oracle White Paper is for Forms 10g Release 2, but the instructions are basically the same for 9i and 11g as well.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Tab pages in oracle forms

    hi ,
    I have two different Content Canvases in oracle form 6i and my requirement is such that i need to have these two
    content canvases in tab canvas pages.
    can Any one please tell me how i have to join these two content canvases in two tab pages.
    since i don't have idea about forms.
    if any one could give coding for these issue it would be nice.
    say one canvas name a and another canvas name b and i have pages namely taba and tabb
    now i have to write trigger for tab canvas pages . if any one suggest any idea i could implement it.
    once it is ready i would be implement in oracle apps as well .
    other informations are.
    it have one window
    iam using oracle form 6i,
    help me in this regard .

    say one canvas name a and another canvas name b and i have pages namely taba and tabb
    now i have to write trigger for tab canvas pages . if any one suggest any idea i could implement it.
    once it is ready i would be implement in oracle apps as well .
    HI , Your Logic is okay.
    What you have to do is,
    Open your existing from
    In Canvas - Create New canvas with Type 'TAB'
    And Create Two Tap Page - A & B.
    select existing each items in existing canvas and select main canvas and TAP page -A or B
    Once completed you can run your form as like before without any coding changes,
    Regarding your question for TAB trigger code, generally you do not need any code as it is auto select.. by mouse.
    CHeck and reply back with you further queries

  • Oracle forms in 10g

    Hi,
    I am new bee to oracle forms.
    I have installed oracle application server in Windows xp.
    How to start with from here.
    How to create new forms /page /design in oracle 10g
    please anyone tell that

    Oracle application server (AS) is just a runtime for forms. For creating form you need developer suite.
    I use Forms 10g. You can download it from http://www.oracle.com/technetwork/developer-tools/developer-suite/downloads/index.html
    The developer suite comes with OC4J - which is some kind of application server emulator, I'd say. But it's ok for developing purposes.
    The AS and OC4J must be configured. There are three main files:
    * formsweb.cfg
    * default.env
    * webutil.cfg
    That's shortly about AS.
    Quick introduction to forms:
    1. All data is stored in items, which can be text items, list items, radio buttons, checkboxes, buttons etc. Items are of 2 types: database item (item relates to some table column in database) or non-database item.
    2. All items are grouped in data blocks. Block are of 2 types: database block (it's source is DB table, or view, or select clause) and non-database (or control) block.
    3. All items are laid out for display on canvases.
    4. Canvases are displayed in windows.
    Events in forms are called triggers. When event occurs it is said "the trigger is fired". Names for triggers are usually self-explanatory. For instance, when-mouse-doubleclick, when-button-pressed, when-checkbox-changed. There are 3 types of triggers: item level (items can handle those events), block level (block handles the events, items cannot) and form level (form handles the events).
    And i think that's all - everything else in Oracle documentation and google.

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • Mouse Over Toolbar In Forms 4.5 and Registry stuff too

    Is it possible to create an MS Office 97 /ie3/ie4 type of mouse
    over toolbar in forms 4.5.....
    I'm trying (with litlle success) to use images as buttons ...
    unfortunately i have a lot of problems
    1. each button has 4 states: flat, up, down, disabled... which
    leads to 4 bitmaps...... 16 buttons * 4 bitmaps = 64 bitmaps to
    be loading depending on what buttons are doing....
    2. 1 could be solve by an array of images ( i think.... )
    which would be loaded at runtime and swapped into the buttons as
    i'd go.....
    3. programming all those triggers... to deal with the mouse
    states is very labourious and tricky (so what) but also i would
    think quite ineffient.......
    so if anyone could help me i'd really appreciate it
    Also... does forms 5 maybe suppourt mouse over toolbars????
    and lastly..... does oracle provide any mechanism for reading
    from the windows registry..... to allow username and company
    name to be extracted at runtime for use in a splash screen a la
    MS word/excel/vis c++ etc
    all help would be greatly appreciated....
    Thanks
    John Lanigan
    Core.
    null

    1. Check the tnsnames entry in forms 4.5 and 10g home
    2 open a command/dos prompt
    set the ORACLE_HOME (eg set %ORACLE_HOME%=C:\dev10g
    set the TNS_ADMIN
    3 Run tnsping <Enter your hostname>
    4 Also check if you have recently installed any virus scanner /any other appln
    5 Also run sqlplus from the command/dos prompt
    Rajesh Alex

  • Field selection problem in Oracle Forms

    I am using an application created in Oracle 6i Forms (patch 11).
    Mouse navigation in the forms do not work properly.
    Since a field is selected and some string is typed then first character is always ignored hence it is necessary to press a key like before typing required string.
    I'm using Java VM 1.4.1 on client-side,
    The same application works well when I'm using Oracle JInitiator.
    does anybody know how to work around the problem ?
    thanks

    Hi, again and thanks for the patience. I am using the oracle plugin all the time and it works. But I need to use the application on different computer where the oracle JInitiator could not be installed. There I am trying to use the Sun Java Plugin Version 1.4.2_06 (build 1.4.2_06-b03) which shall be compatible. Since last time I asked again the provider and I found that the application is pure Oracle Forms 9i application which doesn't need Java when it is run on the computer where the application is instaled. The Java plugin is then used to show the forms and to provide the comunication between clients and application server. Probably it is clear to you however I am not a developer but poor user only. I have also tried to play with the application to find how it works (or doesn't works). It seems that the problem is exactly with mouse navigation. When tab or enter is used then it works fine. But when a form field is selected by mouse then a character is typed and i can see it. But when I continue with the writing the first character is overwrite. Sometimes when there is a list of records row by row and I try to get to next row using the mouse the application tells me that some bloody key is not valid but using the key down I can easily go ti next row. To tell the truth I don't like mouses at all so it is no problem to me but other users do not know how Tab works :-)

  • Display Hint Text in Oracle Forms 6i at Text Item

    Dear all seniors
    I want to show Hint text at Text Item in Oracle Forms 6i.
    when my cursor Focus goes at that item. I mean when I go with Tab key or Enter button then it show display text.
    even though my mouse is not on that item.
    please how it would be possible
    thanks.
    G.Y

    Please create a display_item(for eg. Disp_Mess) just below the text field (For eg:-MyField) where you want to show hint. And then assighn Hint text to "DISP_MESS" in NEW-FORM-INSTANCE or at Initial value. Then create a PRE-TEXT-ITEM and POST-TEXT-ITEM trigger for MyField.
    -- PRE-TEXT-ITEM trigger write following code.
    SET_ITEM_PROPERTY('DISP_MESS',VISIBLE,PROPERTY_TRUE);
    --POST-TEXT-ITEM write following code.
    SET_ITEM_PROPERTY('DISP_MESS',VISIBLE,PROPERTY_FALSE);
    It will work for you.
    Regards
    Ahamed Rafeeque Cherkala

  • Using Numeric Keypad In Oracle Forms 6i

    Dear All,
    I am facing some problems when I am Working with Numeric Keypad on Oracle Forms 6i.
    I have 10 Buttons and In Every Button Property I have defined the "Access Key".
    e.g
    Buttons | Property   | Value
    Button1 | Access Key | "1"
    Button2 | Access Key | "2"
    Button3 | Access Key | "3"
    Button4 | Access Key | "4"
    Button5 | Access Key | "5"
    Button6 | Access Key | "6"
    Button7 | Access Key | "7"
    Button8 | Access Key | "8"
    Button9 | Access Key | "9"
    Button0 | Access Key | "0"Example : When I will Press Only "1" Using Numeric Keypad, Message Window will appear with the Message "You have Pressed 1..."
    All Buttons are functioning Properly when I Pressing (One Key Stroke) 1,2,3,4,5,6,7,8,9,0 using Numeric KeyPad.
    But I am not able to apply this Technique on "*" , "/" , "-" , "+" , "." , "Num Lock".
    How Can I utilize these Characters(*,-,+,/,NumLock) in my application to perform a certain task using Single Key Stroke through Buttons or any other way in Oracle Forms 6i.
    Note : We don't want to give Keyboard / Mouse to User. We have given a Numeric KeyPad to the User for a Certain Task.
    Thanks in Advance

    It works for me on 10g but the only pitfall is the " * ", the workaround is to use the " & " in the label next to the key you want.
    for example:
    Button*   label &*
    Button-   label   &-
    Button/   label   &/
    Button+   label   &+
    Button.   label   &.Try it
    Tony

  • How to use multiple Windows in a module in oracle forms

    Hi,
       I am new in oracle forms.I am using oracle forms 11g with weblogic server 10.3.5 at windows7.I have 2 canvases say CNVS1 & CNVS2 and two windows as Window1 & Window2.
    CNVS1 is attached with Window1 and having BL datablock.
    CNVS2 is associated with Window2 and having emp datablock.
    In navigation object window there is BL datablock before Emp datablock.
    When I run this module:I got only CNVS1 canvas at window1,If I click at Window2 from menu then Window2 Comes with empty, there is no any canvas(CNVS2) at window2.Please let me know what is wrong here.
    Thank You
    regards
    aaditya

    Hi Aditya,
    Just user Show_view('Your Canvas Name');
    If you have separate datablock for each of your canvases then you can use
    GO_BLOCK('');
    GO_ITEM('');
    Hope this will help you,
    Regards,
    Soofi

  • Oracle Forms 11.1.2.0 on Win 7 64-bit  JVM bits error

    Trying to install Oracle Forms 11.1.2.0 on Win 7 64-bit and keep getting INST-07407: Unable to detect machine platform or JVM Bits.
    I read somewhere where having spaces in the JDK install path causes problems so I changed the path to c:\oracle\java instead of C:\Program Files\java\jdk1.6.0_24. I do have a 64-bit JDK installed. What else could be causing this error message? Opening an Oracle service request has been zero help - hoping for help here. I have set JAVA_HOME and added the java home to the end of PATH. I can start and stop the weblogic server at middleware home C:\Oracle\middleware_oraforms.
    c:\Oracle\Java\bin>java -version
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
    c:\Oracle\Java\bin>echo %JAVA_HOME%
    C:\Oracle\java
    c:\Oracle\Java\bin>echo %PATH%
    C:\Oracle\Ora10\bin;C:\product\11.2.0\dbhome\bin;C:\Oracle\ORA11\11.2.0\bin;C:\P
    rogram Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\
    windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\Windows
    PowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\
    Program Files (x86)\WinMerge;C:\Program Files (x86)\Rational\common;C:\Program F
    iles (x86)\Hummingbird\Connectivity\11.00\Accessories\;;C:\Program Files (x86)\R
    ational\ClearCase\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
    \VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
    \;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files (x86)\M
    icrosoft SQL Server\100\DTS\Binn\;*C:\Oracle\java*
    product.properties
    DOCSWEBROOT=http\\://download.oracle.com/docs/cd/E17904_01/web.1111
    ProgramGroupName=BEA WebLogic Platform 10.3 (Integrated Build)
    PLATFORMHOME=C:\\Oracle\\MIDDLE~1\\wlserver
    WLS_INSTALL_DIR=C:\\Oracle\\MIDDLE~1\\wlserver
    USER_INSTALL_DIR=C:\\Oracle\\MIDDLE~1\\wlserver
    CONFIGWIZ_HOME=C:\\Oracle\\MIDDLE~1\\wlserver
    BEAHOME=C:\\Oracle\\MIDDLE~1
    MW_HOME=C:\\Oracle\\MIDDLE~1
    WL_HOME=C:\\Oracle\\MIDDLE~1\\wlserver

    First, there is no need to relocate the system jdk. Part of your problem is more likely the result of a known limitation which is caused by the System PATH and/or CLASSPATH containing special characters like the parenthesis in (x86). So, do the following:
    Before you start, be sure that your machine has a static IP address. If it does not, you will need to install the Windows loopback adapter. Read the Installation Guide and System Requirements for more details.
    1. Clean up from your failed installation attempts. Be sure to also remove the C:\bea folder assuming no other product is using WLS.
    2. Uninstall the 64bit jdk then reinstall it where you prefer it. I would recommend its default location.
    3. Open a Notepad session and leave it open as a holding place to paste the following information.
    4. Open the System properties. Computer > right mouse click > Properties > Advanced System Properties > Environment Variables
    5. Locate PATH in the system variables and cut all of the values to the clipboard and paste them in the Notepad session you just opened above. Save this information for later.
    6. In the PATH value, set it to the following, be sure that the path to the jdk is correct for your installation:
    <blockquote>%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%;C:\Program Files\Java\jdk1.6.0_37\bin</blockquote>
    7. You will need the "generic" WLS download if you plan to run 64bit. This will be a jar file rather than an exe. Assuming you are using WLS 10.3.6, open a DOS window and start the installer as follows:
    <blockquote>java -jar C:\PathToJar\wls1036_generic.jar</blockquote>
    After you have completed the WLS installation and the FMw installation and configuration, you can reset your PATH back to the way you desire.

  • Field selection problem in a form created in Oracle forms 9i

    I am using an application created in Oracle 9 i Forms. Mouse navigation in the forms do not work properly. Since a field is selected and some string is typed then first character is allways ignored hence it is necessary to press a key like before typing required string. The same application works well when I'm using Oracle JInitiator.

    Hi, again and thanks for the patience. I am using the oracle plugin all the time and it works. But I need to use the application on different computer where the oracle JInitiator could not be installed. There I am trying to use the Sun Java Plugin Version 1.4.2_06 (build 1.4.2_06-b03) which shall be compatible. Since last time I asked again the provider and I found that the application is pure Oracle Forms 9i application which doesn't need Java when it is run on the computer where the application is instaled. The Java plugin is then used to show the forms and to provide the comunication between clients and application server. Probably it is clear to you however I am not a developer but poor user only. I have also tried to play with the application to find how it works (or doesn't works). It seems that the problem is exactly with mouse navigation. When tab or enter is used then it works fine. But when a form field is selected by mouse then a character is typed and i can see it. But when I continue with the writing the first character is overwrite. Sometimes when there is a list of records row by row and I try to get to next row using the mouse the application tells me that some bloody key is not valid but using the key down I can easily go ti next row. To tell the truth I don't like mouses at all so it is no problem to me but other users do not know how Tab works :-)

  • How to show a long with database datablock in a small width frame using horizontal scrollbar in oracle forms

    Hello Experts,
                  I am new in oracle forms and  I am  using Oracle forms 11.1.2.2.0 with weblogic 10.3.6 generic at windows 7 64 bit.
    My java version is jdk1.7.0_51.
    I have a database table say as ITEM_MASTER.This table has 20 columns.Now I have to show these 20 columns in oracle form in a single frame.I have used the wizard method to make database block in oracle forms but This datablock takes too much width.
    I wand to show all the columns with in a short width frame in oracle forms using horizontal scroll bar.But I am unable to do this.Please suggest me.
    thank you
    regards
    aaditya.

    This can be accomplished using a Stacked Canvas.  There are numerous examples of how to use a stacked canvase on the web.  For example:  https://www.google.com/search?q=oracle+forms+how+to+use+a+stacked+canvas
    Craig...

Maybe you are looking for

  • My ipad is hang, display black screen and i cannot open it when I touch around screen. Why is my ipad as this ?

    I have just buy a ipad. But I am using chrome browser, I touch around screen for into mutiltasking then it is hang, turn off screen and I cannot open it again. Please, someone can explain for me ?

  • Recovery disk assistant

    I'm making a recovery thumb drive with Recovery Disk Assistant and have a couple of questions. 1. I have a mac running Mavericks and another running Mountain Lion.   Can I use the same recovery disk with both?   Should I create separate partitions on

  • How to reveal correct answer in a quiz question

    Hello, I am using Captivate 5.5. Is there a way to allow the user to view the correct answer to a quiz question without having to keep clicking on the different options until they select the right one? I want to allow infinite attempts but equally, i

  • Ios7 update on iphone 4

    Hello, I got as far as the icloud updates while updating to ios7 on my iphone 4.  Then it shut down and now I can't even turn on my phone. it's stuck on the apple.  any suggestions?

  • EZ Mask in PS CS5--Yes or No?

    Anybody with experience using EZ Mask? Good? Bad? or Redundant plugin? Thanks.