Can I change "colorscheme" at runtime?
Hello all
Can I change the value of colorscheme at runtime ?
This parameter can be config in formsweb.cfg file.
I want to put this colorscheme as "User Preferences" in my application.
Please help me if some one knows how to achieve this.
From
Chirag Patel (Nairobi)
Chirag,
You cannot change the colorscheme within a forms session, but you can override the value in formsweb.cfg at startup by specifying it in the URL, e.g.
http://.../servlet/f60servlet?form=myform.fmx&colorScheme=blaf
so you could allow users to choose their own colorscheme, e.g. if they started Forms from a web page or simple web app that allowed them to select a colorscheme.
Mike.
Similar Messages
-
I try to change the backgroundImage of a canvas
private function butClickHandler(event:MouseEvent):void
/* invalidly */
styleCanvas.setStyle("backgroundImage", "@Embed('bird.png')");
// styleCanvas.setStyle("backgroundImage", "Embed('bird.png')");
// styleCanvas.setStyle("background-Image", "@Embed('bird.png')");
// styleCanvas.setStyle("background-Image", "@Embed(source='bird.png')");
/* normally */
styleCanvas.setStyle("backgroundColor", "#777777");
Button(event.target).setStyle("fontSize", 22);
<mx:Button x="38" y="44" label="为中国喝彩" click="butClickHandler(event)"/>
<mx:Canvas id="styleCanvas" width="80" height="80">
<mx:Label text="I'm Label"/>
</mx:Canvas>You need double-quotes:
styleCanvas.setStyle("backgroundImage", @Embed('bird.png'));
If this post answers your question or helps, please mark it as such. -
How can I change the value of "colorscheme" parameter at runtime?
Hello all
Can I change the value of colorscheme at runtime ?
This parameter can be config in formsweb.cfg file.
I want to put this colorscheme as "User Preferences" in my application.
Please help me if some one knows how to achieve this.
From
Chirag Patel (Nairobi)Hi,
Try the following. This might help you.
Edit you Formsweb.cfg file with following code (add the code to your file):
[look1]
separateFrame=True
lookandfeel=Generic
[look2]
separateFrame=True
lookandfeel=Teal
[look3]
separateFrame=True
lookandfeel=Khaki
and save your file.
Now, when you call your form in the address bar look for " ? ". After " ? " add config=look1 now your form will take Genric look & feel.
or
config=Teal now your form will take Teal look & feel.
That's how you can change the look & feel at run time.
Hope that you understand what i want to say...... -
How can you change property files of a EJB at Runtime?
Hi,
I have got an ejb and want to change my variables which I stored in property file at Runtime.
But the property file isn´t in the jar-file of my ejb...
How can I add it.
Or How can I change the property file without new compilation.
Thanks
UliHi Uli,
the previous post is generally correct, but without taking any part in the sensibility of this (there are valid reasons why you would not store the values in a DB) it would be necessary for you to be a bit more specific.
Is your problem that you can not see the file from your EJB or that you don't know how to change a property file entry in general?
Cheers,
Kalle -
Can we change width of the column at runtime
I have a report with columns assigned runtime, can we change width of the colimn runtime?
for example Query: select &lp_1, &lp_2 from emp &LP_Where
if i assign lp_1 empno size 10 and empname size 50. Vertical and horizantal elasticty is not going work for me. Any suggestions please..
LalithaDoubt there is the dynamic you are seeking.
But you may put a few overlapped columns (diff. length of course) and display/hide by passing parameters. -
Can I change Data Source dinamically at runtime?
I need to execute the same reports on testing environment and production environment. How could I to change DataSource at runtime, depending on users want to execute reports querying testing database or production database without modifyng report definition?
Hi,
what I'd recommend in your case: setup your development/test systems as separate systems parallel to your production system. Clone your production environment to those development systems. Then a developer can login to the development system and run the reports (and modify there without touching real production system) and normal users work on the production system and just for validating the new developments they login to the test system.
That's a standard approach in software development and IT systems operations.
How does your infrastructure look, I have the impression that you have on BI server and two databases (prod and test)? Why not setting up a test environment for the BI server, too?
best regards,
David. -
hi all ,
can i change the Window's (Forms window) "Show horizontal scroll bar property" at runtime, i mean programatically... Is there any property which i can set....??
Thanx in advance
Regard's
PrasadThere is no property there for your required task.
Hassan -
Can you change graphic text at runtime?
can you change a text graphic item at runtime? There's no property for the text itself, or a visible property.
No - use a Display Item - or put the text on a Stacked canvas and you can then hide the whole lot.
-
Can we change the keyboard language that is displayed on iphone programatically i.e can we give user option to change keyboard to different language from application at runtime?
Hi All,
Please Update the Thread
Regards
Khanna -
How can i change character set on forms9i runtime?
Hi Every Body,
i am a user on forms9i developer.
i want to know how can i change character set definition when i run a form on web(with oc4j).
is it any JAR file or another file that i can change display of characters on forms9i runtime on web?
thanks a lot.
f-badiee.hi frank,
thanks a lot for your attention.
i have a problem on persian language.
whereas oracle dosn't support persian(farsi) language,
i use arabic character set for simulation.
in oracle developer6i (forms) i had no problem about displaying farsi fonts on runtime.
but in forms9i that runs forms on web(java applet) i can't use farsi fonts correctly.
for example when i type a word(boilerplate text) on farsi language in form builder i can see it correctly but when i run my forms on web , characters of that word have some displacement.
i want to know that is there any configuration file for solving this problem?
thanks a lot.
be successful.
f-badiee. -
(How can a table changed in report runtime)Can Anybody Answer This
How can i changed table in report runtime..(not database)
means if i have report it is using two tables. and i want to change one of the table and other table would be same always
eg tables..
emp
attendance1
attendance2
attendance3
attendance4
if have create report using emp & attendance1 tables in my report at design time.
but at runtime i would like to see records attendance2 tables joined with emp table..
in C#. NetHi,
It seems that you are having issue with Crystal reports .Net SDK's.
Post your question in Crystal Reports .NET SDK forum.
That forum is monitored by qualified technicians and you will get a faster response there. Also, all .NET SDK queries remain in one place and thus can be easily searched in one place.
Thank you for your understanding,
Amit -
How can I change the SocketFactory at runtime?
I have a question, maybe someone has had a similar problem. I have a client-server application with communication over RMI. The client may, through a dialog box, choose a connection "submethod":
* a simple RMI
* RMI over fixed ports
* RMI over HTTP.
After selection the application registers the proper socket factory with the RMISocketFactory.setSocketFactory(...) method. So, if the user disconnects from the server and tries to reconnect with another "submethod", the application throws the following exception:
java.net.SocketException: factory already definedAPI says "The RMI socket factory can only be set once", so how can I change the connection submethod at runtime?
Regards,
Marek.You can't.
-
Can we change NAME OF TAB and ITEM NAME dynamically at runtime in forms 6i
Hi all,
I have a requirement like
1) based on organization choosen the TAB NAME AND TAB LABLE name in tab canvas should be changed dynamically. can this happen?
example: In forms i gave the NAME and LABLE OF TAB (PROPERTY PALLET) as *'TAB_INITIAL'* and *'TAB_INITIAL'* respectively .
when org_1 is choosen , lable should be changed to 'TAB_ORG_1' .
when org_2 is choosen , lable should be changed to 'TAB_ORG_2'. can the NAME also be changed dynamically??
2)Similarly can we change the ITEM NAMES present on this tab based on organization selection?
Thanks,
Durga SrinivasHello.
You can perform this by using:
set_tab_page_property('Tab_page_name', label,'your_desire_label');
and for item set_item_property.
More details on these built-ins and also some example can be found in Forms Builder Help.
Regards,
Alex
If someone's answer is helpful or correct please mark it accordingly. -
Can i change the iPhone App icon on runtime?
Hello All,
I want to change my iPhone application icon on run-time, i want to change icon on some event.
I've already tried many things.
Like:
1) run time change info.plist file,
NSString *finalPath = [path stringByAppendingPathComponent:@"Info.plist"];
NSMutableDictionary *plistDictionary;
plistDictionary = [[NSMutableDictionary dictionaryWithContentsOfFile:finalPath] retain];
[plistDictionary setValue:@"New App Name" forKey:@"CFBundleDisplayName"];
[plistDictionary setValue:@"new-icon.png" forKey:@"CFBundleIconFile"];
[plistDictionary writeToFile:finalPath atomically:YES];
It's working fine on iPhone simulator but, not working on my iPhone Device.
2) Replace Old icon.
I've also tried to remove old icon and copied new as a old icon name.
this is working fine on iPhone simulator but, not working on my iPhone Device.
Please Guide me.
Thanks,
Amit Kalariya.Not possible - this info is stored in the bundle, which you can't change. Your only option is adding badges to the icon.
Apple's calendar does it... but they're Apple. -
How can we change some value in OSB at runtime as Preferences in BPEL
Hi all,
What is the approach we have to use in OSB to implement Preferences ( where i can change value at run time without deploying again ) like in BPEL.
Thanks
PhaniThanks for the replay . I know they used for different purpose.i want to know how can we change anything in OSB at run time without redeploying the process again.
simple scenario :
Lets say i have a option in BPEL to change the Username/password if i set as Partner link parameters from BPEL Console . no need to redeploy the BPEL process .
if i invoke the same service from OSB how can change the username/password without redeploying the OSB project.
Thanks
Phani
Maybe you are looking for
-
I can see the window as a little thumbnail when I hover over the firefox icon in the taskbar - & I can even change the contents, because it seems to be the 'main' window, so when I tried to change a setting in my add-ons, the add-on window opened in
-
Computer keeps freezing when I try to install
I had to restore my software with my restore CDs. I am trying to reinstall 10.2jaguar and it is not letting me. It installs the first disk and then when it restarts goes to the apple logo and freezes. What do I do are there any shops in Atlanta that
-
my iphone is in recovery mode and when i try to restore it, its doesn't go all the way threw this happen right after i try to upgrade my phone. what do i do HELP ME!!!
-
I have a T440p with Windows 7 Pro. Except on rare occasions, I am unable to log into Windows with my first swipe across the fingerprint reader. The green light is on when I do the first swipe and it immediately goes off and stays off for around 15
-
Hi experts, We run MRP everyday, How it will create plan order or PR? We hope it could create Plan order first, but I run MPR md02 and choose parameter as 3 (plan order) , it still come out PR. what's the scenerios for PR or plan order creation? Tha