Dynamic color selection

Hi
Is is possiable to display the color palatte of developer during run time so that the user can chose the color for some fields based on his choice.
null

you need to create the 2 text elements , and put the condtion like below
if not value is initial.
display text1
else
display text2.
endif.
in text2 element > Output options> put the color. which you want...

Similar Messages

  • Dynamic color selection in Smartforms using tables

    I am printing a smartform in pdf, i am using  tables in smartforms where the number of column is dynamic, and say there can be cases where there will be no data in a particular column and if that is the case than i have to print a particular color say grey, so my question is how to achieve this functionality in smartform dynamically, i am printing it in PDF.
    Regards & thank,
    Pritam.

    you need to create the 2 text elements , and put the condtion like below
    if not value is initial.
    display text1
    else
    display text2.
    endif.
    in text2 element > Output options> put the color. which you want...

  • How to set dynamic color , based on xml element

    Hi,
    We have a requirement, where based on certain conditions, a cell will be shown in a specific color. We would like the coloir to be based on an XML element. The xml element will have values like '#FF00FF' etc..
    We tried using xsl attribute with the following syntax ,
    <xsl:attribute xdofo:ctx="block"name="color"><?stdcolor?></xsl:attribute><?end if?>
    where stdcolor is the xml element, but when we use this , this is giving a syntax error.
    Let us know, if this is possible or is there any other alternate way to do this.
    Regards,
    - Vasu -

    Hi Vasu,
    http://winrichman.blogspot.com/2008/09/how-to-set-dynamic-color-based-on-xml.html
    use the following :)
    <xsl:attribute xdofo:ctx="block" name="color" ><xsl:value-of select="stdcolor" /></xsl:attribute>
    TO get the colors you wanted , you can refer to
    http://www.w3schools.com/Html/html_colors.asp

  • Dynamic Color Swatch

    We would like to add Dynamic Color Swatch. does anybody know the easier way to do it?
    Our Product example: http://www.whitneyeve.com/bottoms/skinny-sweats
    Thank you.

    You need to explain more what you are trying to achieve. You mean when you change the attribute selection it changes the colour image rather then what looks to be the grouping dropdown you setup?
    You need a good level of javascript knowledge to code that functionality in BC. Would you be able to do that?

  • Dynamically color to each column in Cross-tab report

    Hello All,
    I am a newbie in Crystal report,from last few weeks, i am working on cross tab crystal report.i have a requirement to show color dynamically for each column.i am adding an attachment how i want it. i tried dynamic coloring using object field formula but it is showing red color to all data.i want red color data when in 2nd  cross tab report data is beyond upper or lower limit in first cross tab table. it will be very helpful if somebody will give me any clue on this.... i read so many articles now it seem like impossible for me..:(
    i am using visual studio 2010 and sap crystal report version 13.0.0.99 for visual studio 2010.

    Hello Manish,
    I have attached a sample report that does this. You will need to remove the .txt extension from the attached file to open it as an .rpt file.
    Please right click on one of the value fields of the first cross tab in the report > Format Field > Common > Suppress if Duplicated conditional formula.
    The nested formula is as follows;
    numbervar array l;
    numbervar array u;
    numbervar x:=CurrentColumnIndex;
    if GridRowColumnValue ('@limit') = 'lower limit' then
    (redim preserve l[x];
    l[x]:= tonumber(CurrentFieldValue))
    else if GridRowColumnValue ('@limit') = 'upper limit' then
    (redim preserve u[x];
    u[x]:= tonumber(CurrentFieldValue));
    false
    So it assigns each lower and upper limit value for each client (in the sample it is country) to an array using the cross tabs column index to index the array and it ends in False as we don't actually want it to suppress if duplicated. This nested formula is just used to generate the arrays of upper and lower values.
    In the second cross tab if you again right click on one of the value fields > Format Field > Font > Color you will see the following conditional formula;
    numbervar array l;
    numbervar array u;
    numbervar x;
    if not(tonumber(CurrentFieldValue) in l[CurrentColumnIndex] to u[CurrentColumnIndex]) then
    crred
    else
    crblack
    So this compaes the current field value to range generated by the 2 arrays and assigns a color based on whether or not it is in the range.
    Regards,
    Graham

  • Dynamic bandwidth selection for PPPoE over Ethernet/VLAN

    Hello all, hope you are doing great.
    I'm planning to deploy PPPoE Server (Cisco Router 7609) for a ISP. This ISP will provide Internet connection for customer over Ethernet.
    I have to provide a solution to assign bandwidth to each customer by RADIUS and I find some clues that Dynamic Bandwidth Selection (DBS) should be the answer. Unfortunately, DBS only support PPPoA or PPPoE over ATM.
    If you have any experience with equivalent function, please help me. Thank you very much.
    Regards,
    Hiep Nguyen.

    Hiep,
    I think I have figured this out.  Here is the test config on my PPPoE server:
    int lo1
      ip address 172.25.25.25 255.255.255.255
    ip radius source-interface Loopback1
    aaa new-model
    radius-server host 172.16.1.55 auth-port 1812 acct-port 1813 key cisco$$$
    aaa group server radius RADIUS-ACT
     server 172.16.1.55 auth-port 1812 acct-port 1813  
    aaa authentication login default group RADIUS-ACT local
    aaa authorization exec default group RADIUS-ACT local
    aaa accounting exec default start-stop group RADIUS-ACT
    aaa accounting delay-start
    aaa authentication ppp default if-needed group RADIUS-ACT local
    aaa authorization network default group RADIUS-ACT local
    aaa accounting network default start-stop group RADIUS-ACT
    aaa accounting update periodic 5
    bba-group pppoe global
     virtual-template 1
    interface fa0/1
     pppoe enable group global
     ip address 172.30.0.1 255.255.0.0
     no shut
    interface Virtual-Template1
     mtu 1492
     ip unnumbered FastEthernet0/1
     peer default ip address pool GLOBALPOOL
     ppp authentication chap
    ip local pool GLOBALPOOL 172.30.0.2 172.30.127.255
    policy-map POLICE-128K
     class class-default
        police 128000
    policy-map POLICE-512K
     class class-default
        police 512000
    Here are the attributes on the radius server, for a group the PPPoE customer belonged to:
    Service-Type = Framed
    Framed-Protocol = PPP
    cisco-avpair="ip:sub-policy-In=POLICE-128K"
    cisco-avpair+="ip:sub-policy-Out=POLICE-512K"
    Here is the show policy-map on the virtual-access interface the client connected on:
    sho policy-map int virtual-a 3
     Virtual-Access3
      Service-policy input: POLICE-128K
        Class-map: class-default (match-any)
          1000 packets, 1402000 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 128000 bps, bc 4000 bytes
            conformed 799 packets, 1120198 bytes; actions:
              transmit
            exceeded 201 packets, 281802 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
      Service-policy output: POLICE-512K
        Class-map: class-default (match-any)
          911 packets, 1137746 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 512000 bps, bc 16000 bytes
            conformed 799 packets, 1136178 bytes; actions:
              transmit
            exceeded 0 packets, 0 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
    I was able to generate enough traffic with ping to meet the exceed action in and have it drop packets.

  • Dynamic Date selection inactive

    Hi,
    I am not able to give dynamic date selection in a variant. (D: Dynamic date calculation).The traffic light is displayed in red and there is no options such as
    current date etc. is there any need to do some settings to get these options.

    Hi,
    have a look at the below link..  ( they have mentioned the steps of customer exit variable fassigning for reporting agent)
    https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700003598422003E
    Regards,
    Siva.

  • Dynamic parameter selection from infoview not storing the sql password

    We are having the problem of dynamic parameter selection from infoview not storing the sql password as it does for the actual report. We are using Crystal Reports XI Release 2 version 11.5.3.438 (Not sure of SP level, asked in separate thread).
    To be more specific.
    We have created a report that dynamically populates the parameters of the report by pulling the records from the Informix sql database and allowing selection from there.
    In the Central Management Console for the report object we have set as follows:
    Process - Database:
    Use original database logon information from the report - the sql username and pw etc
    Use same database logon as when report is run
    Process - Parameters
    In selecting a default selection there is the option to put in the sql password, however, this does not stick and clears after update.
    As such the end result is that every time this report is run from infoview and a user chooses a parameter (there are 5), crystal goes through some timeout for about a minute or so and then requests the sql password, if a user then selects the next parameter, the same timeout and password dialog appears.
    We need the crystal report to handle to the sql password for fetching the parameters as well as for the database section of running the report, however, the parameters insists on the end user always putting the password in.
    This is 100% replicatable on our system.
    Any way that we can fix this?
    Will an update fix this issue? If so could you please advise which one?
    Thanks

    Hi,
    I am having the exact same problem. Any help?
    And what does "Use same database logon as when report is run" mean? For me that would be that no prompt is needed for getting values in a dynamic parameter...
    Regards
    Magnus

  • Dynamic RadioList selection

    I am building a radio list dynamically in TOOL code based upon certain
    criteria. I can get the list built no problem. But, I want to "select" a
    certain element based on an attribute I check on the object. So the element
    I want to appear selected may be element 2 or element 5 or element x. Has
    anyone ever done this? I can't seem to find anything in the Forte help that
    will allow me to do this?? Any help would be greatly appreciated.
    Thanks!!
    Doug Scurr
    HealthPartners
    8100 34th Avenue South
    Minneapolis, MN 55440-1309
    (612)883-7317
    [email protected] <[email protected]>

    Dale,
    I knew it would be something easy!! I obviously can't read very well!!
    Thanks for the help!!
    Doug Scurr
    HealthPartners
    8100 34th Avenue South
    Minneapolis, MN 55440-1309
    (612)883-7317
    [email protected] <[email protected]>
    -----Original Message-----
    From: Dale V. Georg [SMTP:[email protected]]
    Sent: Tuesday, April 27, 1999 2:34 PM
    To: [email protected]
    Cc: [email protected]
    Subject: Re: Dynamic RadioList selection
    > [email protected] wrote:
    >
    > I am building a radio list dynamically in TOOL code based upon
    certain
    > criteria. I can get the list built no problem. But, I want to
    "select" a
    > certain element based on an attribute I check on the object. So
    the element
    > I want to appear selected may be element 2 or element 5 or element
    x. Has
    > anyone ever done this? I can't seem to find anything in the Forte
    help that
    > will allow me to do this?? Any help would be greatly appreciated.
    > Thanks!!
    This should be as simple as setting the IndexValue of the radio list
    to
    the item that you want to have selected. For example:
    self.<theRadioList>.IndexValue = 2;
    to select the second item. Make sure your window is already open
    when
    you do this, though. ie, make sure self.Open() has already been
    called. The Open() method initializes a lot of the widget
    information
    on the window, and it may well set the index value of the radio list
    back to 1.
    Hope this helps,
    Dale
    ===================================
    Dale V. Georg
    Senior Systems Analyst
    Indus Consultancy Services
    [email protected]
    ===================================
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • How can I pop up a Color Selection table?

    When I click on a color box control in the front panel,it will pop up a color selction table.My question is how can I control the pop up of the color selection table in the diagram?for example,if a boolean control is clicked then I want to pop up the color selection table,If the color selection table is an Active Control,what's the name if it?
    Any help will be appreciated.

    Just use a color control.
    Attached is an example. The example run as a dialog box
    Best regards;
    EJV
    www.vartortech.com
    Attachments:
    select_color.vi ‏11 KB

  • Web links do not show as visited according to my color selection in content menu. visited siles/links should be in red, mine are not chsnging sfter a visit to a sits.

    web links do not show as visited according to my color selection in content menu. visited sites/links should be in red, mine are not changing after a visit to a sits. A good example would be a visit to a news article in google. mu colors are set to res for visited sites - it does not happen, in fact nothing changes

    Google is using a visited color (#551a8b) that is hardly distinguishable from the unvisited color (#2200cc), so may not notice it.
    * Make sure that you not run Firefox in (permanent) [[Private Browsing]] mode
    * You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    * To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    * Uncheck: [ ] "Automatically start Firefox in a private browsing session"
    You can look at these prefs on the about:config page to make sure that you keep history.
    *http://kb.mozillazine.org/browser.history_expire_days (180) (also affects saved form data)
    *http://kb.mozillazine.org/browser.history_expire_days_min (90)

  • How to open color selection diaglog in 10g forms   Plz help

    Hi Everybody
    I'm new to oracle 10g forms
    I want to open color selection dialog in 10g forms
    I've configured demos...nd they r working well....
    Now i want to use code in my forms.......But I tried to see it from the source.. But I couldn't understand...
    Plz help....If anybody knows...
    Thanx in advance

    I've added
    # Forms applet archive setting for JInitiator
    archive_jini=frmall_jinit.jar,colorPicker.jar
    # Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
    archive=frmall.jar,colorPicker.jar
    java.io.IOException: Caching not supported for http://192.168.0.106:8890/forms/java/frmall_jinit.jar
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
         at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         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 sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    WARNING: Unable to cache http://192.168.0.106:8890/forms/java/frmall_jinit.jar
    java.io.IOException: Caching not supported for http://192.168.0.106:8890/forms/java/colorPicker.jar
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)
         at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)
         at oracle.jre.protocol.jar.JarCache.get(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
         at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
         at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
         at sun.misc.URLClassPath$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getLoader(Unknown Source)
         at sun.misc.URLClassPath.getResource(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         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.ewt.util.FocusUtils.<clinit>(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._initCommonFixedDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._getCommonDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel._getIndexedDefaults(Unknown Source)
         at oracle.ewt.laf.oracle.OracleLookAndFeel.getDefaults(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.getUIDefaults(Unknown Source)
         at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
         at oracle.ewt.swing.JBufferedApplet.<init>(Unknown Source)
         at oracle.forms.engine.Main.<init>(Unknown Source)
         at java.lang.Class.newInstance0(Native Method)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    WARNING: Unable to cache http://192.168.0.106:8890/forms/java/colorPicker.jar
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    Forms Applet version is : 10.1.2.0
    *** VBean Setting debugMode to ALL
    *** VBean Setting beanName to oracle.forms.demos.beans.ColorPicker
    *** VBean Failed to instantiate class: oracle.forms.demos.beans.ColorPicker java.lang.ClassNotFoundException: oracle.forms.demos.beans.ColorPicker

  • Bug: 9780 blue color selection cursor missing

    I am having the blue color selection cursor missing when I do the following:
    At home screen, click blackberry button to open tray, but blue color cursor not shown and I cannot select application. I need to close tray and try few times.
    At home screen, scroll to the top to open network panel for changing 2G or 3G. But the blue cursor not shown and I need to close it and reopen few times.

    Hejdo,
    Have you tried to repair permissions, and check/repair disk? Looks like some Finder plist file getting corrupted after a little use of your computer. Also, you could try and create a new user account, and log in onto this new account, to check if your problems exist on this new account too. If not, then something is going awry on your own (admin?) account; if not, well, then your issue is system-wide.

  • How-to Dynamic Hierarchy Selection.

    Hi guys,
    does anyone know how to implement "Dynamic Hierarchy Selection"? I have a main hierarchy but would like to filter it further while loading the hierarchy.
    E.g. I have a financial statement verison with both Balance Sheet and P/L items, i would like to separate the main into two new hierarchies, one BS and P/L hierarchies instead, apparently the infopackage allows you to write small codes to dynamically select which hierarhcy you want.
    Cheers.

    Hi,
    We donot have this type selection at the time of upload. The thing we can do is upload both versions into BIW and in the report we can use Hierarchy variable to have dynamic selection of hierarchy.
    with rgds,
    Anil Kumar Sharma .P

  • Dynamic Color for Workbook

    Hi Expert,
    by creating a colored workbook i notice the color was disappearing after the refresh.
    I decide to built a makro which can fix the color in each line.
    I done that manually.
    But i am looking for a makro which can dynamically color the cells.
    for example:
    1. Total sum--- > color red
    1.2 sub sum color yellow
    1.2.1 sub sum color grey
    I will not want to fix that, because if there is a change in  the result it can not match again.
    Thank for your help
    Gilo

    Banu / Gilo, i am going thru the same exercise. Our users wanted the TOP 15 customers, sub total and Overall total. We cannot achieve this in a query as a HTML page, so we decided to use precalculation server to broadcast as a workbook. I know we need to run the report in BEx and store the workbook and then do the broadcast. I want to know when we store it as a workbook can we write macro to get the Sub total and the overall total.
    Do u have any documentation or idea to achieve this. Once i get this i can play with formats and coloring.
    Thanks in advance.
    Anand

Maybe you are looking for

  • Sap business one

    What are the differnce between query pld and query wizard in sap b one 2007

  • Dynamic SQL Stored Procedure call in Pro*C Application

    Hello All Could you help with a sample Pro*C program (or snippet) which has a dynamic call to a stored procedure? The procedure to be called is determined at run time and so also the number of parameters to it. Is this even possible using Pro*C? Than

  • Clearing doc

    A payment was posted to clean the invoice 1900158825. At the same time a Overpayment was applied. But after bank reconciliation we found that there is no an overpayment this was an error in the deposit slip. So, in order to reflect the correct postin

  • Passing data to a java class

    I've recently been working on a page that displays a list of objects using the h:dataTable tag. In each row of this table I display the name and group properties of a bean called "ace", as well as a command button next to each of them. What I want is

  • 1.1 Intel-Mac: Disappearing text after switching from Firefox

    I have LR and Firefox open. I switch to Firefox to use the web for 10-15 mins. When I switch back to LR all of the text on the interface is gone. A restart of the app fixes it..