Dynamic Color Customization
Does anybody know where I can get the source code (ie, color.pll and fmb) to implement the "Dynamic Color Customization" in the Oracle Forms?
I saw this white paper in the Forms product center by Oracle Forms community and wondering about the source code.
Thanks
Hello,
<p>The pl/sql code is available here</p>
Francois
Similar Messages
-
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 -
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 -
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? -
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
GiloBanu / 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 -
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... -
Any apps to enable more color customization for Windows 7 interface?
Windows 7's default UI customization feature set is lacking and incomplete. Any apps that can solve this?
Personally, I would be interested in an app for Windows 7 that will allow changing the "glow" color around the text of windows' titles. Because I use a dark theme and the current unchangeable white glow clashes with my dark theme. I would like
to be able to set that glow to black and my windows’ title text to white.
Additionally, there is a permanent light blue tinting on a lot of the Windows 7 UI. I would prefer to set that to gray so it can fit universally with any color theme. Or better, be able to adjust the color of the tinting.
And then there is the green progress bar--I personally would prefer to be able to set that to a blue. Or better, be able to set that to any color.Hi,
To set the color of Windows Title bar, please go to Windows Color and Appearance to check the result.
Right click desktop -> Personalization -> Windows Color -> in the item list, choose
Active Title Bar -> change its color 1 and 2
To change the color of the tinting, please refer to the following steps.
1. Make sure your computer's brightness is on full.
2. Go to Start -> Control Panel -> Display.
3. On the left bar, click Calibrate Color.
4. Follow on the on screen instructions to correct your gamma.
5. After you're done with this, on the next screen click "Skip brightness and contrast adjustment"
6. Click next, then you'll l be on the color balance adjustment screen, which is where you will correct the blue tint.
The slider on the right where the color blue is located, slide the slider to the left 3 notches. Adjust as needed based on your screen.
7. On the next page you'll have the ability to switch between what you had it on previously and what you set it to.
To set the green progress bar to blue, please see if the following article is helpful.
http://www.sevenforums.com/customization/19207-blue-progressbars-windows-7-a.html
Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best Regards,
Niki
Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
Dynamic color in cell of an SmartForm Table
Hi Experts,
How can i assign a color for a text in a cell (shading) in a smartform table?? Color depends of the data in smartform.
ThanxI don't think we can do it dynamically.
So, may be you have to create as many texts as you have colors conditions and assign relevent condition to each text.
Regards,
Naimesh Patel -
Chart color customization for Sentinel Log Manager (and RD)
Hi all,
I am trying to customize the color of the chart provided by the SDK. I
based on the
top 10 Report as modification. The default severity 0 color is WHITE.
I tried to change the files of color_RGB.csv or Key_color.csv of the
entry to GREY4 but
it turns out it is not reading it at all during build-report.xml.
Does it mean:
1) I have to put those csv files in parameter directories?
2) Do I have to run the autoparam build?
3) Or I have to work with JFreeChart via the eclipse and rebuild the
java files first?
Thanks,
Geoffrey
geocheng
geocheng's Profile: http://forums.novell.com/member.php?userid=90913
View this thread: http://forums.novell.com/showthread.php?t=425353The original csv files are in the AA-common directories. I changed it,
and using the build-report.xml. The result is negative. The chart
severity color does not change.
So I put the modified csv files into the parameter directors under by
report build directory. Same problems.
So from the documents, it should be referring to the csv files to
define color mapping. So I cannot be sure where to put those files or do
some java programming with JFreeChart in order to achieve it.
Thanks,
Geoffrey
geocheng
geocheng's Profile: http://forums.novell.com/member.php?userid=90913
View this thread: http://forums.novell.com/showthread.php?t=425353 -
Pages background color customization for poster template?
HOw can I customize the color of the background on the template poster on pages for iPad? It is normally blue and I would like to change it.
Hi Satyadev,
You have 3 options:
Within the forms builder you can get a white background by setting the form to either "border" or "no border". This is done by clicking anywhere on the form (where there is no other element) and modifying the "style" property
You can modify the portal theme so that the background colour is your choice. However this will affect all forms in the portal, not just this one.
Or you can manually modify the form XSL stylesheet. This involves typing the html code to apply your chosen colour. However, this modification is lost if you re-generate the XML forms project, so this should be a last resort.
Hope this helps,
Chris -
Dynamic color color rows n't proper
Hi all,
above tablix red circle dynamic columns
i am using :row background color :=IIf(rownumber("Tablix10") mod 2, "white","whiteSmoke")
give any solutions
thanksHi Revathi,
Please click the link below to see Alternating Group Colors and Alternating Row Colors:
http://www.bidn.com/blogs/briankmcdonald/bidn-blog/717/alternating-group-colors-and-alternating-row-colors
By the way, if you use matrix in your report, the RowNumber function in the Matrix is totally different with it in the table because you are always dealing with grouped data in a matrix. This expression only works fine whit table report. So if we want to have
the alternative color in the matrix, we may use the Running Function.
If the issue persists, please elaborate the structure of your report so that we can make further analysis and help you out.
Regards,
Charlie Liao -
Dynamic coloring of rows using FM (Reuse_alv_grid_display.)
I need to color the rows depending on the condition dynamically . I am using FM Reuse_alv_grid_display for ALV . I have the code using Oops Concept, But i need to know how can we do using the Function Module. Please Clarify
Hi,
In the final internal table you declare one fieldsline_col(4) type c.
Data: begin of itab occurs 0, "final internal table.
line_col(4) type c,.
end of itab.
IF .......your condition.
loop at itab.
if itab-WERKS = '1000'.
itab-line_col = 'C600'.
endif.
modify itab.
clear itab.
endloop.
Next build your FIELDCATALOG ......
gt_layout-zebra = 'X'.
gt_LAYOUT-DETAIL_POPUP = ' '.
gt_layout-info_fieldname = 'LINE_COL'.
Next pass this to your FM.
I hope this will help you.
Thanks.
If your issue is solved award points and close the thread if not revert back.
Message was edited by: Deepak333 k
Message was edited by: Deepak333 k -
I'm trying to duplicate the customizer found here:
http://www.reebokhockey.com/gear/products/goalie/customizers/product/premier-iii-sr-pro-cu stomizer/
But make a few tweaks to it. I'm using CS3 and AS3 to build the file but really am a novice with working in any kind of action script. I was able to get the file this far:
http://stinehour.com/premier3.html
There are really 4 changes I'm trying to figure out.
1. need to figure out the if statement that would change the color on the logo to white if the background was dark.
2. need to figure out how to do the "embossed" colors which I assume would be an overlay of a graphic
3. need to figure out how to get color names to show. I can get it display the hex numbers, but not sure how to change the name
4. I'd like to eventually figure out how to have the color pickers transfer the color to an html dropdown. I actually wouldn't mind getting rid of the color box pickers if I could get the dropdown to feed the flash file.
Are there any tutorials or online help sources that you'd suggest to accomplish these things?Thanks for silent help!
Now it's work properly.
But I declaired classes ISelectionManager and ITextEditSuite in WRPDialogController.cpp.
That's mean:
#include "ISelectionManager.h"
#include "ITextEditSuite.h"
don't embeded.
What is this mean? Help please with this now! -
Questions, re: dynamic color Palette that is high contrast and visually appealing
We're building a web application that allows coparents to keep a shared calendar. If a parent is responsible for an "overnight", the calendar is coded with their color. Caregivers such as Nanny's and grandparent's can also have an overnight.
Colors are dynamically assigned from a palette (can be customized afterwards). We started with a palette that had a lot of "distance" between each successive color so that it would be easy to distinguish, but...it looks terrible.
Any ideas on how to create a palette that will be visually appealing but that will also allow adjacent days to be easily distinguished?Note: Sample screenshot attached to original post.
-
Dial chart dynamic color range
Hi
I am trying to dynamically change range of the scalebar color.
I see that I can give Apex a low and high value exactly for this reason.
Invalid Dial chart query, use the following syntax:
SELECT VALUE, MAX [, LOW, HIGH] VALUE FROM ...
VALUE Numeric column that defines dial value.
MAX Numeric column that defines Maximum dial value.
LOW (optional) Numeric column that defines the low value of a range to display on the dial. If this value is defined, a HIGH value is required.
HIGH (optional) Numeric column that defines the high value of a range to display on the dial. If this value is defined, a LOW value is required.
This query should return one row.I would hope for Apex to use those value in the #SCALE_DATA# in the Chart XML.
<axis start_angle="90" sweep_angle="180" >
#SCALE_DATA#
<labels enabled="true" align="Inside" text_align="Near" rotation="0" >
<format><![CDATA[{%Value}{numDecimals:0,decimalSeparator:\,,thousandsSeparator: }%]]></format>
<font family="Tahoma" size="10" color="#000000" />
</labels>
</axis>But it does not seems to work.
I only need to add those lines
<scale_bar enabled="false" />
<color_ranges>
<color_range start="0" end="25" color="Red" />
<color_range start="25" end="90" color="Green" />
<color_range start="90" end="100" color="Red" />
</color_ranges>25 being the #LOW# value and 90 the #HIGH# value.
I do not want to use custom XML everywhere.
ANy iadea if I can modify the default XML or modify the behavior of the #SCALE_DATA# ?
Thanks a lot
SebastienHello,
What do you mean by maximum value?
The 10 in the query is to figure out values other than the dial itself there is not a graphical component that represents that number.
The high line usually is used historical maximum value. Do you want to change the color of the dial when it hits 10?
Carl
Maybe you are looking for
-
How to connect an external hard drive and monitor a single port thuderbolt
how to connect an external hard drive and monitor a single port thuderbolt
-
New PDF and Excel export functions in 3.0 - ARE FANTASTIC!
Hello Guys! You know my management wants always to have an ability to export everything they see on our ApEx based intranet site to Excel and PDF files - so this feature you've made in upcoming 3.0 are really usefull! Thanks a lot! Is the schedule fo
-
i can't get itunes to open on my pc... i've unistalled... re-installed and still nothing.. any tips on how to get it to open up again
-
Iphone cannot be synced unknown error 1156
For some reason, when I tried to sync my iPhone 4 (iOS 6) today, I got this error on my iMac and it showed my iPhone as being 'overfull' - which ws intreresting! I carried out a restore to original settings and restored from a backup I made about 3 w
-
Acrobat OCR - differences between Searchable Image and CleanScan
Look at these differences. Both 600dpi Searchable Image http://img72.imageshack.us/img72/8061/acrobat1bh3.gif CleanScan http://img72.imageshack.us/img72/4690/acrobat2uj8.gif CleanScan is very bad in this task. It totally ignores all the parts that ar