Change iconic file  dynamically..

Hello Friends ...
I m working on menu .. I want to change iconic file dynamically..
I m using for this
if condition then
Set_Menu_Item_Property('DW',ICON_NAME,'comp1');
else
Set_Menu_Item_Property('DW',ICON_NAME,'comp2');
end;
'DW' = menu item
comp = iconic file name
but iconic file not changing ..
Thanks....
Edited by: user10502250 on Jan 21, 2010 2:24 AM
Edited by: user10502250 on Jan 21, 2010 2:24 AM

Hello ...
Thanx for reply ...
abt form builder version
orms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE     10.1.0.4.0     Production

Similar Messages

  • Change icon for file type

    how to change icon for all of the tile type? not just one, but all!

    Changing the file icon will not enable Quicktime to play Matroska files. Changing the file suffix might.
    It could be a 'difficult' form of Matroska file. FYI Matroska is just a container like MOV or AVI, and some mkv have the video encoded with Real Video Codec (RV9 RV10). Perian+QT can't decode this, but VLC will play .mkv files just fine on OS X, as long as they don't use H.264!
    It's a bit of a lottery until Matroska decide to support the Apple platform. I have found this:
    http://mkv4mac.free.fr/index.php?lang=en&p=lec
    which may help.
    But there may be another workaround: 1. Get Info the mkv file
    2. Change to extension to wmv. Save as wmv and that could work better.
    Or this link may be helpful:
    http://www.squidoo.com/mkv-converter-mac
    Recently, a poster (ZachP14) suggested this:
    "There's a program called Plex that runs .mkv files awesome on my 2.0 ghz macbook."
    http://www.plexapp.com/
    Maybe worth a try?
    More information here:
    ttp://en.wikipedia.org/wiki/Matroska

  • Trouble changing icon in any application, file, etc etc

    I've followed the instructions to change an icon and have done it before with success. But it's not working anymore? Here are the steps i'm doing.... Am I missing something?
    1. right click on icon that i want to use as the "new icon"
    (i believe this is the problem... preview.app is opening the icon. with in get info, the "icon" at the top is just your generic "jpeg" icon. In the "preview" window towards the bottom shows a picture of the icon)
    2. select get info
    3. right click on "icon" at top of preview window
    4. cmd c to copy (also tried copy from file drop down)
    5. repeated step on target app to chang icon
    6. cmnd v to paste (also tried to paste from file drop down)
    doesn't change the icon on the target app or file etc etc....
    signed.... confused?

    OK, try doing both a SMC and PRAM reset and see if either takes care of the problem.
    iMac
    SMC & PRAM Resets
    There are a couple of things you can do before heading off to the Apple store, a SMC and PRAM resets. To do these:
    _SMC RESET_
    • Shut down the computer.
    • Unplug the computer's power cord and all peripherals.
    • Press and hold the power button for 5 seconds.
    • Release the power button.
    • Attach the computers power cable.
    • Press the power button to turn on the computer.
    _PRAM RESET_
    • Shut down the computer.
    • Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    • Turn on the computer.
    • Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    • Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    If it still doesn't work then try restarting in Safe Mode, this will clear out some caches which have become corrupted. http://support.apple.com/kb/HT1455

  • How to change icons of a JTree node dynamically

    Hi all!
    I want to change icon associated with a node dynamically ( i.e. after the tree has being displayed). How can i achieve this?
    Can any one provide me a sample code snippet.
    Thanks in advance
    Murali

    I have created CustomCellRenderer and i'm calling this class as follows
    tree.setCellRenderer((TreeCellRenderer) new CustomCellRenderer(true));
    The boolean value for the constructor (in this case it's true) will be set to
    a local variable in the CustomCellRenderer class. Then upon clicking a node in the tree the boolean value (true) is set and the icon for that node should be changed as specified in the CustomCellRenderer class.
    When i click on a node all the icons of that tree are disappearing.
    Can any one help me in this issue
    public class CustomCellRenderer
              extends          JLabel
              implements     TreeCellRenderer
    private ImageIcon          grayfolderImage;
    private ImageIcon          greenfolderImage;
    private ImageIcon          bluefolderImage;
    private ImageIcon          redfolderImage;
    private ImageIcon          whitefolderImage;
    private boolean               bSelected;
    boolean logfileDeleted;
         public CustomCellRenderer()
              grayfolderImage = new ImageIcon("C:\\images\\grayFolder.gif");     
              greenfolderImage = new ImageIcon("C:\\images\\greenFolder.gif");     
              bluefolderImage = new ImageIcon("C:\\images\\blueFolder.gif");     
              redfolderImage = new ImageIcon("C:\\images\\redFolder.gif");
              whitefolderImage = new ImageIcon("C:\\images\\whiteFolder.gif");     
         public CustomCellRenderer(boolean logfileDeleted){
              this.logfileDeleted = logfileDeleted;
         public Component getTreeCellRendererComponent( JTree tree,
                             Object value, boolean bSelected, boolean bExpanded,
                                       boolean bLeaf, int iRow, boolean bHasFocus )
              // Find out which node we are rendering and get its text
              DefaultMutableTreeNode node = (DefaultMutableTreeNode)value;
              String     labelText = (String)node.getUserObject();
              this.bSelected = bSelected;
              // Set the correct foreground color
              /*if( !bSelected )
                   setForeground( Color.black );
              else
                   setForeground( Color.red ); */
              // Determine the correct icon to display
              if( labelText.equals( "ioexception001" ) )
                   setIcon( redfolderImage );
              else if( labelText.equals( "ioexception002" ) )
                   setIcon( greenfolderImage );
              else if( logfileDeleted ==true )
                   setIcon( whitefolderImage );
              else if( labelText.equals( "ioexception004" ) )
                   setIcon( redfolderImage );
              else
                   setIcon(bluefolderImage);
              // Add the text to the cell
              setText( labelText );
              return this;
         // This is a hack to paint the background. Normally a JLabel can
         // paint its own background, but due to an apparent bug or
         // limitation in the TreeCellRenderer, the paint method is
         // required to handle this.
         public void paint( Graphics g )
              Color          bColor;
              Icon          currentI = getIcon();
              // Set the correct background color
              bColor = bSelected ? SystemColor.textHighlight : Color.white;
              g.setColor( bColor );
              // Draw a rectangle in the background of the cell
              g.fillRect( 0, 0, getWidth() - 1, getHeight() - 1 );
              super.paint( g );
    }

  • Changing video file icons

    Hi,
    I know how to change icons usually, but when I try to change the icons of a video file it comes up as just blank in the finder. The picture shows as the icon in 'file info', but not under preview or in the finder window. How do I change this? I've tried a few things, from dragging and dropping the jpeg file to copying the actual image from preview.
    I'm backing up a whole stack of dvds, and it would be handy to use an image other than the standard first black frame that's automatically chosen for most of them.

    Not sure what you did for the two hours "making the menu" but I don't think you would need to redo that effort.
    The surest way to keep the DVDSP project from becoming corrupt is to open the project and delete the old asset (need to delete it from any container it is used in (like a track) then delete it from the project. Save the project and quit.
    Go to the par folder for the project and delete the parse file for the asset.
    Encode new asset with slightly different name (like asset_02) then bring this new asset into DVDSP and load it into whatever container it was in before.
    And of course before you do any of this make a copy of the project file.
    Cheers,
    o| TonyTony |o

  • Change the file set icons system wide

    Hello,
    I am trying to change all my .html, .js, .css file sets, system wide. Right now they are all the plain boring white with text. If I go into a folder they quickly appear with their more colorful Dreamweaver, photoshop, etc icon, but quickly jump back to the plain white, boring icon. I know how to change the files icons one by one, but obviously that could take a while.
    Looking for an easy way to change my files system wide wothout screwing anything up. Recently came from a PC and loving my mac (never going back).
    Thanks in advance!

    Hi
    Still no :o)
    The only way around it, is to wrap your conc process that generates the etext output either with another program or if its an Oracle Report based program, in the after report trigger. That will get a handle on the generated file, easy enough cos you'll know the requestid, and then copy and rename it to the same or another location. We used to do this for a payments process in the Netherlands localization we ship.
    Tim

  • Change Text Color Dynamically Depending on Which MP3 File is Playing

    Change Text Color Dynamically Depending on Which MP3 File is
    Playing
    Hi,
    Can anyone help with this problem.
    I am trying to change a text cast member's color dynamically
    based on which audio file is currently playing.
    I have 4 Text Cast member buttons named
    Play Song 1
    Play Song 2
    Play Song 3
    Play Song 4
    I am successfully playing the 4 songs in a queue like this
    (ie. If "Play Song 1" sprite text member is pressed then...
    sound(1).queue(member "Song1")
    sound(1).queue(member "Song2")
    sound(1).queue(member "Song3")
    sound(1).queue(member "Song4")
    sound(1).play
    What I would like to do is to have the currently playing song
    text color changed to a different value, say Green.
    So if "Song2" in the queue starts to play then the text "Play
    Song 2" would become Green. When done it would then turn back to
    black then "Song3" starts to play and "Play Song 3" text script
    button would then turn from black to Green an so on.
    These are the codes I've tried in the frame script and none
    seem to work...
    on enterFrame me
    if sound(1).status = 3 then member("Play Song 1").foreColor=5
    (This works but only for the first song because "Play Song 1"
    is directly named and clicked on.)
    else member("Play Song 1").foreColor=255
    end if
    I have tried to make a reference to the playing song and so
    far each of these doesn't work...
    --if sound(1).status = 3 then
    sprite(me.sound.member).foreColor=5
    --if sound(1).status = 3 then
    sprite(me.spriteNum).member.color=rgb(0,255,0)
    --if sound(1).status = 3 then member
    (sound(1).member).foreColor=5
    --text = member(whichMember).scriptText
    end
    Is there any way to reference the song name text cast
    member??
    I thought I had it when I discovered sound(1).member but
    sound(1).showProps returns the playing sound.member as
    member: (member 28 of castLib 1) nothing there I can use?
    It doesn't show the member name and
    It doesn't show the song name "Song1" which I could then
    match up to the "Play Song 1" text
    I'm pretty new to lingo so specific code examples would be
    appreciated.
    Can anyone help??? Thanks!!!

    did you get anywhere with this?
    When applying a styleClass to a af:showDetailItem, it doesnt seem to have any effect whatsoever.

  • How to change the mode of a file dynamically?

    i want to delete a .class file which has been created dynamically...
    when i tried to delete it .. its prompt access denied message..

    guys i want to clear my question once again..
    i have created one java file dynamically..and after that i m compiling that new create java file..
    suppose i have created temp.java file and after compilation temp.class has been created ..
    after doing some operation i want to delete that temp.class file .. it has some access denied prob.
    again i m modifing temp.java file and once again i want to compile it.. but at second time no temp.class has created..
    ie. its not compiled.. as like earlier..
    here is my problem either i have to delete temp.class after some operation .. or once i will modified temp.java file it should compile..
    but second time its compiling..
    i have used Runtime.getruntime.exec("javac temp.java");

  • Updating flash from a dynamically changing XML file

    Creating a non-interactive status display: I want to have the
    flash display reflect data in a server-based XML-file. So far this
    is easy. But I want the display to change everytime the XML file
    changes-- in order to reflect status changes. I've used an
    XMLConnector and specified it and the trigger in the first frame.
    The Flash code catches and shows the XML values initially . But
    when I edit the XML file, the new values are never picked up by
    Flash- its almost as though the values are cached. How do I get
    Flash to regularly be updated from a changing XML file? I've also
    tried putting the trigger in a loop- but that doesn't work
    either.

    I DID find a solution with setInterval, but there is still a
    problem of a diffeent sort.
    When using XMLConnector, it appears that
    XMLConnector.trigger() is the thing that goes out and gets new data
    from the server. so:
    function checkForData():Void {
    myXML.trigger();
    <<handle new values of bound data>>
    var intervalID:Number = setInterval(checkForData, 10000);
    works very well by executing the trigger every 10000
    timeunits. This all works when run in the Flash Player. However, if
    I embed the thing in a webpage (with either FireFox or IE7 or 6),
    It stops triggering after the first time. Interestingly if I also
    run the Flash Player version, then the web version keeps updating,
    but stops if I kill the Player. So, I'm wondering: whats up with
    this?

  • Relative Path for Attach menu forms or icon file

    How should i able to provide relative path while
    attaching Forms,menu or icon files in the Form application.
    So that it can be easily portable
    Thanx in advance
    Upendra

    You can use Regedit and do it manually. I am not sure but it seems to me that using Software Packager for deploying application can also change registry environment variables.

  • How do i change the file preview image for mp4 files?  I replaced the image but it doesnt show in my dock, instead it shows the first still of a movie

    http://imageshack.us/photo/my-images/21/screenshot07m.jpg/
    http://imageshack.us/photo/my-images/39/screenshot04s.jpg/
    pls help. i change the file preview of a movie file, and it shows that i have changed the preview in finder but when i open the folder on my dock, it shows the still of the movie instead.
    the image shows the film the hangover as an example. the movie poster is visible in finder, but reverts to a default movie still from the dock. this only seems to occur for mp4 files.

    its nothing to do with itunes, its movies form the internet. i got the file preview by taking an image off the internet, pressing command c and pasting it on top of the small icon in the get info section

  • Iconic file in oracle 10g forms

    hii,,
    i am a new user in oracle 10g form,,,here i am running a form & placing all the icons in a folder,after that i changed the iconic file path in the default.env file,the path is same where the icons are kept,,but still i am unable to see the icons at the run time,,,,,
    do i need to modify some other file or the icons will be kept at some particaular place????
    plzzzz help.....

    hi
    1 How to Display Iconic Images Using Forms 9.0.x/ 10.x?
    When running an Oracle Forms 9i/10g application the icon files used must be in a web enabled
    format such as JPG or GIF (GIF is the default format) (This is unlike older versions of forms running in client-server mode when the file format is .ico.)
    Icon image files can either be retrieved by Forms as individual files on the filesystem or from a Java Archive (JAR file).
    If an application uses lots of icon images it is recommended that they are stored in a JAR file to reduce the number of HTTP round trips.
    Reference:Note 232413.1 How to Deploy Iconic Images via a JAR File in Forms 9i/10g?
    The example below details steps to configure iconic images as individual gif or jpeg files.
    It is a first approach recommended for initial testing and understanding.
    Example:
    ========
    This document has been written for use with both Windows and UNIX operating systems: Windows will use the "\" character to delimit directories and UNIX uses the "/" character. Any other differences are noted in the document.
    1) Determine the physical location of the icons on your web server. For this example, assume that the icons are stored in D:\Myfiles\icons.
    2) Create the virtual directory in the forms90.conf file that point to the location of your Forms 9i/10g icons. This file is located in:
    $ORACLE_HOME\forms90\server\forms90.conf
    To define a virtual directory forms90/icons, use the following syntax:
    # Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
    Below is an example of the forms90.conf after it has been modified to include the /forms90/icons virtual directory.
    # Virtual path mapping for Forms Java jar and class files (codebase) AliasMatch ^/forms90/java/(..*) "E:\IASR2\APP/forms90/java/$1" # Virtual path for JInitiator downloadable executable and download page AliasMatch ^/forms90/jinitiator/(..*) "E:\IASR2\APP/jinit/$1" # Virtual path for runform.htm (used to run a form for testing purposes) AliasMatch ^/forms90/html/(..*) "E:\IASR2\APP/tools/web90/html/$1"
    # Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
    ( For 10g use instead of "forms90" -> "forms")
    3) Direct forms to use the /forms90/icons or /forms/icons virtual directory when running on the web by modifying the Registry.dat file in the $ORACLE_HOME\forms90\java\oracle\forms\registry or $ORACLE_HOME\forms\java\oracle\forms\registry
    directory. Note that for UNIX, both the path name and file name are case sensitive. You must specify "Registry.dat".
    Modify the default.icons.iconpath entry as follows: default.icons.iconpath=http:///forms90/icons/ or default.icons.iconpath=http:///forms/icons/
    If the URL used to bring up forms on the web is: http://abc.oracle.com:7778/forms90/f90servlet or http://abc.oracle.com:7778/forms/frmservlet
    Then the entry required for the Registry.dat will be: default.icons.iconpath=http://abc.oracle.com:7778/forms90/icons or default.icons.iconpath=http://abc.oracle.com:7778/forms/icons default.icons.iconextension=gif
    4) Now use EM Website to: a) Restart the OC4J-BI-Forms Instance b) Restart the BI-FORMS HTTP Server Instance.
    5) Verify that the virtual directory has been defined properly and that the icons can be viewed in a browser.
    Assuming that exeqry.gif exists in the D:\Myfiles\icons directory, the following URL should show the icon:
    http://abc.oracle.com:7778/forms90/icons/exeqry.gif or http://abc.oracle.com:7778/forms/icons/exeqry.gif
    6) Check the form : http://abc.oracle.com:7778/forms90/f90servlet?form=D:\Testcases\F90\ICON_CHECK_IASR2.fmx or http://abc.oracle.com:7778/forms/frmservlet?form=D:\Testcases\F10g\ICON_CHECK_IASR2.fmx
    CHECKLISTS
    =============
    Icons do not appear in the browser using the URL:
    o Verify that you are using the correct machine name and port for the OC4J_BI_Forms object.
    o Check the virtual directory name to make sure that there are no typographical errors. o Check for typographical errors in the forms90.conf or forms.
    conf for the virtual directory. o Check the name of the icon on the file system. If the file is saved as Exeqry.gif, then it will not be found using the URL http://abc.oracle.com:7778/forms90/ Close all your browser sessions and open a new browser window.
    Execute the URL to bring up from the Form Builder runtime or from the browser.
    ( For 10G use "forms" instead of "forms90")USEFUL REFERENCES:==================
    [PDF] Oracle9iAS Forms Services Deployment Guide (P/N B10170-01)Configuring Oracle9iAS Forms Services ->
    Deploying Icons and Images Used by Oracle9iAS Forms Services http://otn.oracle.com/products/forms/pdf/B10170_01.pdf
    [PDF] Oracle9iForms Services - How to Deploy Iconshttp://otn.oracle.com/products/forms/pdf/webicons.pdf
    sarah

  • How to change icon of a Folder-track?

    By Folder-track I mean the Folder in Arrange window that is created from "packing reions". Is that even possible in LogicPro7 - to change it's icon?
    I mean I know how to change icons for my audio tracks, audio-instrument tracks. And it would be nice if I can assign different icons for different Folder-tracks.
    I did not find how to do that

    It is possible... use option-command-hold on the icon of the folder in a track in the arrange and up pops the many icons to choose from.
    You can set the icon to something other than the folder.
    To make different folders I guess you would have to do some image editing
    and make your own icons but that is pretty easy.
    Put your user create icons here...
    ~/Library/Application Support/Logic/Images/Icons
    and logic will load your numbered image file instead of the default ones that
    Logic would normaly use.
    Note: 1.png is the file name of the regular folder icon.

  • Changing the file name dynamicallly in file Adapter

    Hi i want to change the file name directly from Java Mapping in the file adapter
    for this i have written this code
    DynamicConfiguration dynamicConfiguration = (DynamicConfiguration)map.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFile = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
                   DynamicConfigurationKey keyDir = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
                   dynamicConfiguration.put(keyFile,fileName);
                   dynamicConfiguration.put(keyDir,outputpath);
    but it gives a null pointer exception at dynamicConfiguration.put(keyFile,fileName);
    please suggest.
    regards
    Nilesh Taunk.

    Hi Nilesh,
    If your requirement is to create , the file name dynamically for your receiver file adapter, you can do so using your <b>FILE ADAPTER CONFIGURATION</b> itself, and need not go for any JAVA Mappping / Java Code at all.
    The dynamic filename generation concept is as follows.
    In your filename field in the receiver file adapter, just give a variable with <b>%</b> symbols. (eg: %file% ).
    Now, under the option <b>Variable Name Substitution</b>, you can give how the value has to be created.
    <b>It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.</b>
    For the former, your give
    <b>message:interface_name</b> ,etc
    and for the payload part you give,
    <b>Payload: "your element root which u wanna acecss"</b>
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    Also, in your FILE Adapter under the option FILE CREATION MODE, you have options like,
    1.Add Counter,
    2. Append
    3. Create
    4. Add Time Stamp
    If you have any clarifications on this approach, do get back.
    Regards,
    Bhavesh

  • Same file name at Target with change in file extension

    Hi,
    I am working on File to File scenario. I need to create target file name similar to the source file name. This can be achieved by using ASMA. But my requirement is to change the file extension for the target file.
    For example:
    Source File u2013 InvoiceNotification.txtu2026.Then target file should create as
    Target File - InvoiceNotification.csv
    This can be achieved by using OS Command unix script in the receiver communication channel.
    Is there any better way of doing this..say something like Dynamic Configuration or Variable substitution?
    Thank you.

    Hi Achuth,
    I think you are doing content conversion at the receiver side. Go ahead with ASMA, get the file name.
    DynamicConfigurationconf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKeyFileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","FileName");
    conf.put(FileName, a);
    return "";
    In the receiver file adapter, keep the extension as .CSV. That's enough.
    Else you can follow as said by Abhishek Salvi. Either way you can achieve the requirement.
    Thanks,

Maybe you are looking for

  • Really odd First Launch issues

    Hello All, I am having som really, really odd issues with my PowerMac G4... Everytime I start-up from a cold boot (I turn it off during the night...) I return in the morning, and it can't see my network! I usually just restart again, and everything i

  • Billing Relevant

    Hi SAP Guru, As we use Item Category TAN Billing relevance is A Delivery-related billing document When we Use Item Category TAS Billing Relevance is F Order-related billing doc -status according to invoice qty My Question is -  In Some order it is ta

  • Error code -39 "How do I fix this please"

    I purchased 3 films from Itunes, they started to download and then stopped, when I tried to resume download they will not download and I get an error code -39 asking me to check connection and try again. My connection is fine but I keep getting the s

  • I am having problem with my phne not being able to pick up any wi - fi service ?

    Does anyone have a similar problem with their Motorola phone ?

  • How do i scroll a list within a window ( such as a safari page) on the ipaf?

    On some pages i navigate to, there is a scrollable frame insude the window. Whe  i try to scroll, the entire window moves.  Is there a way to "anchor" the main window so the interior frme can be scrolled?