Scrollbar in FormsGraph PJC

Hi,
In which trigger should I put the following
'set_custom_property('PJC.SIMPLEGRAPH',1,'SCROLLBAR','true');'
so that a scrollbar appears in PJC...?
I put it on WHEN-NEW-BLOCK-INSTANCE of the control which contains the PJC i use for the graph with no result...
Thanks , in advance
Simon

Simon,
for a reason I don't know the scrollbar never worked.
Frank

Similar Messages

  • FormsGraph PJC getting overlapped with other windows

    Hello,
    We have an application which has a window with 3 graphs (FormsGraph PJCs). If we open any other window on top of the graphs window, the graphs take control of the active window and bleed overtop of the active window. This happens only when the currently opened window is smaller than the graphs windows and if the mouse pointer moves to the partly visible graphs window.
    Can anyone help in resolving this?
    Thanks,
    Ashok

    Nope, 10.6.7 didn't solve the problem.  It still happens.
    It is, however, related in some way to either Juniper Networks VPN sopftware (Network Connect) or Microsoft Remote Desktop Connection.
    This morning when it happened those were the only two things I had open - Safari connected fired off Network Connect and then opened MS Remote Desktop to connect to a remote windows box.
    When I closed both, Safari got stuck in the "background only" mode.
    I will experiment more...

  • Error using compiled FormsGraph.jar

    Hi,
    I need to modify the "SCROLLBAR" found in the FormsGraph.java therefore, i did the following:
    I was able to compile FormsGraph.java by using setTabularData() instead of the setLocalRelationalData() method. (Compilation was done on JRE1.3)
    After this modification, i directly exported my java project to a FormsGraph.jar and placed it under forms/java.
    After running the form got the following error in the Java console :
    java.lang.NoSuchMethodError: java.lang.NoClassDefFoundError.initCause(Ljava/lang/Throwable;)Ljava/lang/Throwable;
         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)
    Knowing that the provided FormsGraph.java works perfectly, Can anyone advice what's the problem
    thanks
    Lanlani

    Hi,
    The mismatch is the problem. Please get the latest files from Struts 1.2.x and update your project.
    http://struts.apache.org/downloads.html
    Then it would work.
    cheers
    babu

  • Remove Browser Toolbar, Menubar, Statusbar, Scrollbar

    Hi,
    When we run forms 10g R2 application in browser (IE) it open the forms in browser window and so give less space to forms screen. So i need to maximize the container size and hence i need to remove Browser (IE) toolbar, menuar, statusbar, scrollbar.
    NOTE: i cannot use parameter "separateFrame=true" (Please give help other than this)
    I though of using a html file that will call another html file which can be same a base html files used by oracle AS container............ but DBA told me that in Container we can set the first thing to be run as ONLY ".fmx" or ".mmx"
    so i cannot use my html file .......... he says.
    I read "Deploying forms application on web" on OTN documents for Oracle 10g R2 but i am not able to get it to work using it....... may be because i am not able to digest it.
    So i would request you guys to please first understand the above and then provide me any help you can.
    I would try it out and post in here again.
    Thanks and Regards.

    HOpe this helps
    Solution
    The concept of a root window is no longer used in Oracle Forms Release 5 and later. However, for purposes of forward compatibility, the name ROOT_WINDOW, the associated properties and built-ins, and the root window behavior are still supported.
    A root window displays the console for the currently-active form in your application. Creating a root window in a form is optional, and is used most often in multiple-form applications (which are designed to run several form modules simultaneously). A root window has special characteristics. In a multiple-form application, using a root window allows you to have a single window that always displays the console for the currently-active form. This is an advantage only on platforms other than Microsoft Windows, since on Microsoft Windows the console always appears on the MDI application window.
    Due to the root window's unique characteristics, some of its properties have fixed settings.
    Overriding these settings in Oracle Forms has no effect on the window's runtime behavior.
    The properties (and their default settings) are as follows:
    Closeable (Yes)
    Fixed Size (No)
    Iconifiable (Yes)
    Inherit Menu (Yes)
    Movable (Yes)
    Name Remove on Exit (No)
    Style (Document)
    Vertical/Horizontal Scroll Bar (No)
    Zoomable (Yes)
    In Forms 9i/10g, however you can use a custom Java Bean to prevent or allow the end users to Resize / Maximize/ Minimize a MDI Window.
    The Java Bean (and the example on how to use it) is available at:
    http://forms.pjc.bean.over-blog.com/50-index.html

  • Setting FORMAT_MASK in a multi-record block using a PJC

    Hello,
    We have a requirement to apply different format masks to different records in a multi-record block. I'm investigating using a PJC to do this, but without any decent documentation of the VTextField class, I'm struggling a little to figure out what method(s) to call.
    setDisplayStringFilter() sounds promising, it seems to take a DisplayStringFilter object as its argument, but beyond that, I'm lost... Has anyone done anything similar?
    Cheers,
    James

    Assuming you can find the right method you still have a problem. The second argument in the set_custom_property procedure relates to the row within the block, not the the row within the resultset. So when someone moves the scrollbar you'll have to have each instance of the pjc change its format mask to whatever is appropriate for the new data. The pjc will have to be able to listen for changes to the data in the columns which determine what the format mask should be.
    Perhaps you could use a text item and set the format in post-query/when-validate.

  • Implementing JFreeCharts instead of FormsGraph.jar ?

    Given that FormsGraph.jar file is not officially supported by Oracle (Frank is the only one who maintains and updates it - when he has time) , is it possible for some Forms/Java developers to create a wrapper project for implementing JFreeCharts instead of FormsGraph.jar. Oracle is not going to implement the charting capability with Forms 11, and given the support for FormsGraph.jar is very limited (to 1 person at Oracle), this might be a feasible option? What do you guys (especially the Java/Forms experts) think ?
    note: I am not a Java programmer, I have implemented FormsGraph.jar and some other PJC's that Francois created (trying to learn Java to write some custom PJC's but I will never be a good Java programmer like Francois ;), otherwise I would give it a shot.
    I don't know if this will be a good Forms Developer community effort ?
    * arguably (what I saw from the demos and what I know from my implementation of FormsGraph.jar), JFreeCharts (in my opinion) is superior to FormsGraph.jar implementation (the version available on OTN is dated 2005).
    V/R

    Hello,
    Please, don't ask question about the LAF on this forum. Ask them on the dedicated mail address : [email protected]
    Thanks,
    Francois

  • New auto fill pjc

    Hi
    I found this java code on the web to create a pjc for autofilling a combo box. It uses most of the regular features of the normal oracle combo box(for example it gets populated like normal), but it adds the autofill feature which is pretty cool. My problem is, for some reason I cannot get the value that I typed in the combo box. If I drill down with my mouse and select a value it works like normal. Its just when i'm typing. Is there any code (set_custom_property or get_custom_property) that can be added so I can capture the values I typed in? It doesn't seam to accept any of those functions.
    any help would be greatly appreciated.
    thanks
    package smartbox;
    import java.awt.event.KeyAdapter;
    import java.awt.event.KeyEvent;
    import oracle.ewt.lwAWT.lwText.LWTextField;
    import oracle.forms.ui.VComboBox;
    public class mycombo extends VComboBox
    //private String[] m_origItems;
    private char m_keyChar = 0;
    private final String CLASSNAME = this.getDefaultName();
    * Constructor for the mycombo PJC
    public mycombo() {
    super();
    try {
    jbInit();
    catch (Exception e) {
    e.printStackTrace();
    void predict(KeyEvent e)
    // get the textfield component of ComboBox
    LWTextField tf = this.getLWTextField();
    // list search flag
    boolean found = false;
    // found/selected index
    int selected = 0;
    // replace currently selected characters with acharacter that user has just typed
    tf.replaceRange(String.valueOf(m_keyChar),tf.getSelectionStart(),tf.getSelectionEnd());
    String currval = tf.getText();
    // get array of list items
    String[] origItems = this.getItems();
    // compare current text in the textfield to the list items,
    // find the first occurrence of an item that starts with what userhas typed
    for (int i = 0; i < origItems.length; i++)
    //if (m_origItems.toUpperCase().startsWith(currval.toUpperCase())) {
    found = origItems[i].toUpperCase().startsWith(currval.toUpperCase());
    if (found) {selected = i; break;}
    if (found)
    this.select(selected);
    tf.select(currval.length(),100);
    e.consume();
    private void jbInit() throws Exception {
    // Hook into the keyboard
    addKeyListener(new KeyPressAdapter());
    * Private class to intercept the keyboard actions and store the keystrokes away.
    class KeyPressAdapter extends KeyAdapter
    public void keyPressed(KeyEvent e)
    * KeyTyped is where we do the work
    http://www.sandidresources.com - Sandid Resources LLC Powered by Mambo Generated: 20 March, 2008, 23:36
    public void keyTyped(KeyEvent e)
    // we are only interested in keystrokes that result in a Unicode character;
    // other keystrokes will go default route
    int id = e.getID();
    if (id == KeyEvent.KEY_TYPED) {
    if (e.getKeyChar() != KeyEvent.VK_BACK_SPACE &&
    e.getKeyChar() != KeyEvent.VK_ENTER &&
    e.getKeyChar() != KeyEvent.VK_TAB) {
    m_keyChar = e.getKeyChar();
    predict(e);
    * Utility function to print out a debug message to the Java Console.
    * @param msg string to display, this will be prefixed with the classname of the PJC
    * @webmethod
    public void log(String msg)
    System.out.println(CLASSNAME + ": " + msg);

    Hi Marc
    First of all: Yes it is possible. It depends on how this ticket is created.
    If a ticket is created via a bridge there is a built in automatism. Each ticket has 3 sets of fields where address data can be stored:
     - Caller
     - Contactperson
     - CallerHelpDesk
    If you you do not provide a LastName and if you provide a ShortName and/or a PIN the system tries to find a user with this data and fills the address fields with the data of this user.
    If more than one user can be found the system uses the first it could find. So be careful when creating and maintaining users.
    If you create a ticket via an online interface (SD2 or Portal) you can configure a DetailButton in the mentioned Calldetail for address fields where you directly can search in the user table.

  • How to enable a scrollbar in a JPanel

    Hi
    I am adding some components in a JPanel and I am adding the JPanel to a JScrollPane.The JScrollPane is finally added to the container.Now I could manage to get only the scrollbars added but it does not work!How should I use the scrollbars to view all the components that are added inside the JPanel.
    Here is my source code:
    tagPanel = new JPanel();
    tagPanel.setLayout(new FlowLayout());
    tagPanel.setPreferredSize(new Dimension(100,100));
    tagPanel.setBackground(Color.white);
    tagPanel.setAutoscrolls(true);
    for(int i = 0; i<=20; i++)
    tempButton = new JButton("Testing");
    tagPanel.add(tempButton);
    container.add(forbiddenscroll= new JScrollPane
    (tagPanel),BorderLayout.WEST);
    forbiddenscroll.setHorizontalScrollBarPolicy
    (ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
    forbiddenscroll.setVerticalScrollBarPolicy
    (ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
    Thank you for your reply!
    Your help is very much appreciated.

    don't set prefered size of the tag panel.
    run this code pasted below. it work fine.
    regards,
    Pratap
    import java.awt.*;
    import javax.swing.*;
    public class Frame1 extends JFrame {
         JScrollPane forbiddenscroll;
         JPanel tagPanel;
         JButton tempButton;
         public Frame1() {
              tagPanel = new JPanel();
              tagPanel.setLayout(new FlowLayout());
              tagPanel.setBackground(Color.white);
              tagPanel.setAutoscrolls(true);
              for(int i = 0; i<=20; i++)
                   tempButton = new JButton("Testing");
                   tagPanel.add(tempButton);
              forbiddenscroll = new JScrollPane();
              forbiddenscroll.getViewport().setView(tagPanel);
              getContentPane().add(forbiddenscroll, BorderLayout.CENTER);
              forbiddenscroll.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
              forbiddenscroll.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
         public static void main(String[] args) {
              Frame1 f = new Frame1();
              f.pack();
              f.setLocation(200,200);
              f.show();
    }

  • HTML Frames not using custom scrollbar in Flex 3 mx:HTML

    I've been working on an app that uses a custom skin in Flex 3. The app has a help window. The help contains an HTML with frames. Problem is, the main app vertical scrollbar custom skin is being ignored for the HTML Frames scrollbar (what looks like the classic version of Halo - maybe). This only happens with frames. It happens no matter how or where I place my HTML or HTMLLoader. If I dont have frames the custom scrollbar is used. Is there a node im missing in my skin css (obviously not VScrollBar or ScrollBar - the two standard used by Flex)? or some other way to connect the HTML Frames scrollbar to my custom skin.
    I'm not a noob but not an expert.
    Thanks.
    See attached image for example.

    Take the code of the jsp file :
    <%@ page language="java" %>
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    <html>
       <head>
         <title> First Struts Application </title>
       </head>
         <body>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td> </td>
            </tr>
            <tr bgcolor="#36566E">
              <td height="68" width="48%">
                <div align="left">
                  <img src="images/hht.gif" width="220" height="74">
                </div>
              </td>
            </tr>
            <tr>
             <td> </td>
            </tr>     
           </table>
           <html:form action="Lookup"
                      name="lookupForm"
                      type="wiley.LookupForm" >
           <table width="45%" border="0">
            <tr>
              <td>Symbol:</td>
              <td><html:text property="symbol" /> </td>
            </tr>
             <tr>       
              <td colspan="2" align="center"><html:submit/> </td>
             </tr>       
            </table>              
          </html:form>
         </body>
    </html>

  • Problem with panelbox and af:table scrollbar issue and panelstretchlayout

    Hi,
    <af:panelStretchLayout >
    <f:facet name="center">
    <af:panelSplitter orientation="vertical" positionedFromEnd="true" inlineStyle="vertical-align:inherit;">
    <f:facet name="first">
    <af:subform default="false" id="xyz">
    <af:panelBox background="light" text="Advance Search" inlineStyle="color:InactiveCaption;" type="default">
    <af:panelGroupLayout layout="scroll">
    <af:commandButton text="Search" id="advSearch" actionListener="#{ADFStandardsLeftMenu.getAdvancedSearchData}"/>
    <af:spacer width="20"/>
    <af:commandLink text="Search Tips" id="searchtips2" inlineStyle="font-weight:bold;" partialSubmit="true" clientComponent="true">
    <af:showPopupBehavior triggerType="click" align="afterEnd" popupId="advSearchPopupId"/>
    </af:commandLink>
    </af:panelGroupLayout>
    </af:panelBox>
    </af:subform>
    </f:facet>
    <f:facet name="second">
    <af:panelBox background="light" text="Basic Search" inlineStyle="color:InactiveCaption;" type="default">
    <af:spacer height="20"/>
    <af:panelGroupLayout layout="scroll" >
    --- some inputtext command buttion, dropdowns...selectonechoice..are there inside this
    </af:panelGroupLayout>
    </af:panelBox>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelStretchLayout>
    problem:
    (we have 2 panels) of vertical
    when i run this application it is working fine. But when we minimise the browser(half size) or if we add more no of toolbars in browser (important) obviously browser size will decrease,
    that time 1 panel getting decreased second panel is maintaing fixed size, not resizing.
    I tried to give fixed size (percentage) for both panels wt ever the operation does.
    and 2nd issue
    ========
    <af:panelStretchLayout>
    <f:facet name="center">
    <af:panelSplitter orientation="vertical"
    positionedFromEnd="true" >
    <af:panelBox background="light" text="Search For Standards" inlineStyle="color:InactiveCaption;vertical-align:50%;" >
    <af:table value="#{ADFStandardsLeftMenu.mostCommonAgencySelectedList}"
    id="t1" width="100%" var="stdURL"
    emptyText="<html><b><font color='red'><center>No Records Found</center></font></center></b></html>"
    disableColumnReordering="true"
    columnSelection="multiple"
    rowSelection="multiple"
    inlineStyle="text-align:left;"
    verticalGridVisible="true"
    horizontalGridVisible="true">
    <af:column>
    </af:column>
    ---- we have more 8-10 columns
    </af:table>
    </af:panelbox>
    </af:panelsplitter>
    </f:facet>
    </af:panelstretchlayout>
    problem: that time im getting by default horizontal and vertical scrollbar, but if user add toolbars in browser (view->customize)add toolbar no of say 10-15 that time window size decreasing
    so, table size is crossing panelbox size, and bottom scrollbar is not visible (hiding under site bottom layout say site is divided into 4 parts (leftmenu, body(2 panels), right, bottom) (im not using any right layout)
    regards,
    sandeep

    Hi,
    if minimises browser window(half) or by adding more no of toolbars, i given an option as panelgrouplayout layout=scroll.
    it is working fine for 1st panel.
    but 2nd panel scrollbar not coming.
    thanks in adv.
    regards,
    sandeep

  • Open dialog box through PJC

    hi all
    is there any pjc demo to open the dialog box?

    hi
    yup i know, but i modified it with my requirement and its working fine with client_ole2 to choose the excel file and import it into form
    which is working perfect but here what i want to know,i did not check on client machine only i am able to see the dialog box on server machine and i am going to check on client machine ,so what i want from you just clarify
    me that it will work on client machine or not?

  • Label display issue in Tree component when it is having vertical scrollbar

    I am using tree component as dropdown factory for combo box. When i open dropdown, it doesn't have vertical scrollbar and all the root nodes are getting displayed correctly(in closed mode). Now if i try to open any node, i am getting vertical scrollbar as the child nodes are more. Now the problem is if scroll down, some of the nodes(labels) are not getting displayed but i am able to see the icon. If i keep on scrolling bottom to top and top to bottom, some of the nodes are showing labels and some are not(It is inconsistant).
    I have not used any custom item renderer for tree control. I used my custom dataDescriptor which i have implemented from ITreeDataDescriptor. Also I tried extending DefalutDataDescriptor, but no luck.

    Does it work if the tree is not in a combobox?

  • How to add vertical scrollbar to a tree region

    Hi,
    I have a page containing two regions. The first is a tree region displayed on the left hand side of the page. The second is form region displayed to the right of the tree, showing details relating to the selected node from the tree.
    How can I add a vertical scrollbar to the tree, so that I can I browse all nodes in the tree without affecting the position of the form? Currently, if my tree extends beyond the height of the page I have to use the page vertical scrollbar to view the bottom of the tree. This obviously means that the form is no longer in view.
    Thanks
    Andrew.

    Hi Andrew,
    You can't add a scrollbar directly to the region's contents, but you can wrap the contents within a DIV tag.
    In the Region Header add in:
    &lt;DIV style="height:500px; overflow:auto"&gt;
    In the Region Footer add in:
    &lt;/DIV&gt;
    Obviously, change the height value to suit your needs.
    Regards
    Andy

  • Need Images To Open Up From Scrollbar

    Hi all. I am trying to get pictures to pop up in a box when
    the cursor rolls over one of the thumbnails in a scroll bar i have
    created. i know it is possible because i have seen it on websites
    before, but am stuck in an area and don't know how to resolve the
    problem. i don't know if it needs actionscript or can be done
    another way. Any help would be greatly appreciated. here is the
    address to the page and as far as i am with it right now, so you
    can get a better idea of what my problem is.
    http://www.vaughnleekustomz.com/scrollfinish.swf
    and here is the page to the tutorial that i did step by step,
    so you can see what i did to get where i am to with the scrollbar.
    http://www.vaughnleekustomz.com/tutorial.html
    thanks and have a good day!

    Hi,
    The 5D mark III requires ACR 6.7 or higher - PSE 9 can only goes as far as ACR 6.5.
    You need to update to a newer version of PSE or use the free DNG converter to turn the CR2 files into DNGs which can then be read by PSE9.
    Brian

  • How can I allow a user to control my Edge Animation using only the scrollbar?

    I have seen a few examples of an Edge Animation being conrolled by the scrollbar, and I am wondering how I could achieve the same effect.
    Example:
    http://dominikruckli.ch/scrolltest/scrolltest.html
    I have searched the corners of the internet and have found 2 or 3 different tutorials, but none of them have proven successful.
    In basic terms, I am creating an animation that involves a character getting from Point A to Point B, from the beginning of my timeline to the end.
    Rather than exporting my animation so that it plays automatically, by itself, I would like for a user to scroll vertically, and the playing of the animation moves in conjunction with the scroll bar.
    As the user scrolls from top to bottom on the scrollbar, the character in my animation moves from Point A to Point B.
    Also, if the user stops scrolling... the character will stop moving as well.
    In addition, I would like the surrounding area, outside of my stage, to remain hidden. I do not want to allow the user the ability to scroll around and see off of my designated stage area. I only want the scroll bar to act as a playhead for the animation.
    Any help will be greatly appreciated.
    Thank you
    Note:
    If you have special CSS (or other form of Code), please provide specific instructions on how to insert this code, where it should be located, what part(s) of the code should be altered, and any additional instructions on how to apply any form of coding. (Screenshots would be amazing)

    Never mind.  I figured it out myself.  I changed the myComp.play("scenefour"); to myComp.getStage().play("scenefour"); and it worked fine. 

Maybe you are looking for

  • Iphone 6 pre-order help

    Any thoughts on what do to do about the following scenario?: 10/06/14: "pre-order" iPhone 6 and 6+ in 64gb and 16gb respectively as well as cases and accessories, etc. at local Verizon store with                  expected ship date 11/14/14. Note: al

  • DVI Switch questions

    Hi, I have two Mac Pro's and I want to share one of my displays with both. Because my display has both VGA and DVI input I tried using the VGA input firsth, but it turned out that my Mac didn't support it's root resolution 1440x900 in this configurat

  • Where do you buy your batteries?

    I need to replace the battery on my 12" iBookG4. Apple wants $130 for it. Can anyone recommend a better deal elsewhere? Mambate has them for $49 but I've never heard of them...

  • Error 1009 appears whenever am trying to download an app from apps store

    Please help

  • MSAD upgrade to 2008 R2 - user authentication - HFM FDM 9.3 DM 11.1

    Looking to see if planned MSAD upgrade from 2003 to 2008 R2 will require any HFM, FDM or Disclosure Management administration to avoid possible user authentication errors? I understand they are compatible, but that doesn't necessarily mean connection