How to fill up the Flex ProgressBar control ,depending upon the Controls Seelcted inside the MXML
Hi ,
Please , let me know How to fill up the Flex ProgressBar control ,depending upon the Controls Seelcted inside the MXML
Lets say I have five text boxes and a dropdown box in my flex application, how can I make the progress bar fill up when there is text in each box, and the dropdown selected.
Please help
Thanks in advance .
Hi Kiran,
You can do something like below to implement the functionlaity you needed...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top"
horizontalAlign="center" backgroundGradientColors="[0x000000,0x323232]" paddingTop="0" viewSourceURL="srcview/index.html">
<mx:Script>
<![CDATA[
private var j:uint=0;
// Event handler function to set the value of the
// ProgressBar control.
private function runit():void
if(j<=100)
j+=10;
bar.setProgress(j,100);
bar.label= "CurrentProgress" + " " + j + "%";
if(j>100)
j=0;
check1.selected=false;
bar.setProgress(j,100);
bar.label= "CurrentProgress" + " " + j + "%";
private function checkFunction():void
if(!check1.selected)
if(j<=100)
j-=10;
bar.setProgress(j,100);
bar.label= "CurrentProgress" + " " + j + "%";
if(j>100)
j=0;
check1.selected=false;
bar.setProgress(j,100);
bar.label= "CurrentProgress" + " " + j + "%";
else
runit();
]]>
</mx:Script>
<mx:Panel title="ProgressBar Control" layout="vertical" color="0xffffff" borderAlpha="0.15"
paddingTop="10" paddingRight="10" paddingBottom="10" paddingLeft="10" horizontalAlign="center">
<mx:Label width="100%" color="0x323232"
text="Click the button to increment the progress bar." />
<mx:HBox>
<mx:CheckBox id="check1" label="Check Me" color="#123456" click="checkFunction();"/>
<mx:Button id="Speed" label="Click" click="runit();" color="0x323232"/>
</mx:HBox>
<mx:ProgressBar id="bar" labelPlacement="bottom" themeColor="#EE1122" minimum="0" visible="true" maximum="100"
color="0x323232" label="CurrentProgress 0%" direction="right" mode="manual" width="100%"/>
</mx:Panel>
</mx:Application>
If this post answers your question or helps, please kindly mark it as such.
Thanks,
Bhasker Chari
Similar Messages
-
Formel Variable - how to fill with Customer Exit from control table
Hello Experts,
I have create in BEx-Analyser a formel Variable ZEXRATE1 filled through Customer Exit. In BW I had a "control tabel" with keyfigures.
In the query definition I have include 0FISCPER, 0FISCVARNT and 0VTYPE. This
are the keys which should give the values for the selectstatement to select my keyfigure from the "control table" to fill ZEXRATE1.
If it possible to do with Customer Exit (CMOD -> RSR00001 -> ZXRSRU01) or do I have to implement a Bapi. Perhaps someone can give me a code example.
Regards DieterHi,
Code may look like this
WHEN 'ZEXRATE1'.
check i_step = 2.
LOOP AT I_T_VAR_RANGE INTO L_S_RANGE.
CASE L_S_RANGE-IOBJNM.
WHEN 'ZFISCPER'. GV_ZFISCPER = L_S_RANGE-LOW.
WHEN 'ZFISCVARNT'. GV_ZFISCVARNT = L_S_RANGE-LOW.
WHEN 'ZVTYPE'. GV_ZVTYPE = L_S_RANGE-LOW.
ENDCASE.
ENDLOOP.
SELECT SINGLE RATE into INTO GV_RATE
FROM ZTABLE
WHERE 0FISCPER = GV_ZFISCPER
AND 0FISCVARNT = GV_ZFISCVARNT
AND 0VTYPE = GV_ZVTYPE .
Assumptions : ZTABLE name of control table
ZFISCPER name of variable represents fiscal period
'ZFISCVARNT' name of variable representing fiscal year variant
'ZVTYPE'. name of variable representing value type
Hope that helps.
Regards
Mr Kapadia
Assigning points is the way to say thanks in SDN. -
My enter btton does not work in the address bar or search engine. I have done the restart in safe mode...deleted and reinstalled firefox...done the malware/adware checks...still no improvement.
I was asked to do the "about:support" then click enter for the clipboard to paste the system notes into. That is not an option however because the orginal problem is the enter button not working. Ideas?Create a new profile as a test to check if your current profile is causing the problem.
See "Creating a profile":
*https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.
*http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox -
How to fill the details tab in the iPad tv shows with description
Can anyone tell how to fill out the details tab metadata in the tv shows section of iPad? The tv shows purchased from the iTunes Store have the details tab beside the episodes tab filled in with helpful description about the show. Isn't there a way to do that manually for personally downloaded tv shows? It's not possible to buy every content from the iTunes Store. Please help if anyone know how to add description to tv show details.
You should be able to do it on your computer's iTunes - select the TV programme in the TV Shows part of your iTunes library, do 'get-info' (control-I) on it, and on the popup select the Video tab and enter what you want to have in its Description field and then sync that updated version to your iPad.
-
How to fill the details tab in tv shows with description
Can anyone tell how to fill out the details tab metadata in the tv shows section of iPad? The tv shows purchased from the iTunes Store have the details tab beside the episodes tab filled in with helpful description about the show. Isn't there a way to do that manually for personally downloaded tv shows? It's not possible to buy every content from the iTunes Store. Please help if anyone know how to add description to tv show details.
see your duplicate thread : How to fill the details tab in the iPad tv shows with description
-
I work on a Dell with Windows XP and Firefox 5, and when I send out an email and try to type a link in the body of the email the link does not open up for the addressee, and I highlight the link and then bold it, and the go to the little chain link symbol and clink on it and no matter how I fill out the boxes it will still not open when they get the email. What do I have to do to get it to work, please help, my email is [email protected] , and the link that I unusually send out is '''[[www.PaidonBillsNow.com |www.PaidonBillsNow.com]]''' now this was different than what is normally comes up, but how do I get this to work, thanks my email is [email protected]
Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode -
How do I set the time interval that my email is checked?
I was test-driving "SpamSweep" on my iMac 24 and
chose to ignore it
rather than buy it.
While "SS" was on, I was notified of email every
minute.
After I turned it off, I no longer received email
automatically.
My "HELP" section and my Mac book both said to
"choose MAIL---
Preferences,
click General, and choose a time interval from the
'check for new
mail' pop-up menu."
Nope.
I can go to MAIL and Preferences, but there is
nothing that says
"General".
If I click on the bottom left corner "+" sign,
GENERAL comes up, but
will only allow me to add an account.
HOW do I find the location that allows me to choose
how often my mail
is checked (without being dependent upon SpamSweep)?
On my laptop, it comes up w/ Mail, Preferences,
General...and allows
me to choose the "check email" time. It also shows a
whole tool bar of
fun items.
But on my big desktop, the only things that show up
are when I click
MAIL, Preferences are "Account Information, Mailbox
Behaviors, and
Advanced".Hello, and welcome to the Discussions.
It appears that your Toolbar has become hidden. Click on the small, white, pill-shaped button at the right top of the window that results from invoking Preferences.
Also can be correct in the pull-down menu under View -- Show Toolbar.
Ernie -
How can i vary the time in adf components according to timezone
Hello ,
In my application the time is shown in GMT how can i change it to local time depending upon different TimeZone
Regards
Mayur MitkariHi Mayur,
I guess this Document will help you in understanding localization concepts in ADF [url http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e15524/ui_localize.htm] http://docs.oracle.com/cd/E15586_01/fusionapps.1111/e15524/ui_localize.htm
Next time please mention the version of Oracle ADF you are using :)
Regards,
Harsha. -
flex 3 if have progrebar but flex 4.6 have not progresbar comp how to do inplement the prgress functionlity . if i upload the file in application dir on that how to show my progress comp . can u help me sample source
Smart-skin a Range component.
-
Hi friends.........
Iam using flex tree control data coming from coldfusion file to display grid. As i click the tree folder to change the data from dynamic from grid.
How to pass the folder id from coldfusion file.. Is it possible ?.. Means give any example please....
Any One Help Me......
With Regards.,
Lingu.......When you set the dataProvider for your tree control, you actually pass an array or arraycollection or whatever to that property. The array contains objects coming from your server, right? Each object should contain a property with the folder id, something like:
var arr:Array = [{id: 1, folderID: 34, name: "..."}, {id: 2, folderID: 4, name: "..."}, ...];
Now, when you click an item in your tree or your dataGrid, you can access the folder id by:
myTree.selectedItem.folderID
Hope this helps
Dany -
How to fill table control by these FMs
Hi,
How to fill table control rows by using function module dynp_update_fields or dynp_values_update. I have a custom screen wherein i have few input/output fields at the top. F4 help has already been defined for these fields and i want to populate/refresh a table control available in the same screen w.r.t., value chosen by user from F4 help. please let me know how to use these FMs for this or if there is any other way to do this.
RgdsLook at FM DYNP_GET_STEPL which provides povstepl index to be able to update field values in correct row of table control with DYNP_VALUES_UPDATE (and to read correct value with DYNP_VALUES_READ too)
NB: If you need to update multiple rows, I'm not sure that can be done in POV, you may be required to modify the internal table and trigger PAI/PBO cycle with a suppress dialog, or method/FM to trigger ok_code.
Regards,
Raymond -
How do I get the new Voice comand remote control
How do I get the new voice comand remote control
Walk into a Comcast location???If you order it online they will still charge you shipping. If you walk into a location, they will just hand it to you.
bobr51 wrote:
I got an email saying that I could a free voice command remote control. I filled in my information, but there was no place to submit the form, just an X to close the window. So how do I get it? -
How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?
unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
unplug the at&t box for a minute and plug it back in
factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
login to your at&t router and disable wifi on it
add new clients to the new wifi network, and point your Macs to the time machine for backups -
How can i validate the data in the control file?
Consider that the SQLLoader reads the Input data File from the path and it loads the data into the tables based up on the descrition specified in the control File.
First, the table to be filled is created:
create table sql_loader_1 ( load_time date, field_1 Numeric, field_2 varchar2(10)
Sample Control File :
load_1.ctl
load data
infile 'load_1.dat' "str '\r\n'"
insert into table sql_loader_1
load_time sysdate,
field_2 position( 1:10),
field_1 position(11:20)
Note that the positions 11 through 20 are loaded into field_1 and positions 1 through 10 into field_2. The field load_time is filled with the current time (sysdate) of the load.
Here's the data. The name of the file (load_1.dat) had been specified with the infile statement in the control file.
load_1.dat
0123456789abcdefghij
foo bar
here comes a very long line
and the next is
short
Here i want to validate the field_1 (Numeric Datatype) since the data file contains the character value (i.e)abcdefghijGood question for this forum:
Export/Import/SQL Loader & External Tables
Werner -
how do i fill in the form to give back my ipod and get a new one? whats the website i go to and what do i type in? can i change the color of my ipod from black to white?
Follow the instructions here:
Apple - Support - iPod - Service FAQ
I do not think you can change the color but you can ask.
Maybe you are looking for
-
SAP J2E Engine Terminates on Portal Application Servers.
Short Text SAP J2EE Engine Terminates Long Text we are experencing a problem with SAP Enterprise Portal Server 5.0,where SAPJ2E Engine service failing almost once in a week on either of the two servers. Server details Os: Window 2000 Service pack
-
Intermittent Slow Response time on DFS 2012 and AD 2008 R2 SP1
Hi, We recently migrated our AD infra from 2003 to 2008 R2 SP1. In the same line we also migrated our file server (10 days ago) from 2003 to 2012. We implement DFS namespace (Domain based) on the File Server and modify our logon script and home fold
-
Creating OD Replica: Unable to locate kerberos services for localhost
Hello, I'm trying to setup a new OS X Server to become an OD Replica for my other OS X Server that is acting as an OD Master in an Active Directory Magic Triangle configuration. Both Macs are running the same build of 10.8.2 (12C3104). Here is the lo
-
Turning off Grey date and event title window..
When I scroll in IPHOTO 8 a nice grey little window appears saying what date the photos are from, and the event titles...problem is, when I stop it's still there. How do I turn it off? I tried clicking on it and in the window, but it's still there...
-
FCP and Soundtrack Pro music licensing and music cue sheet procedures
Okay, so we made the movie, and we marketed it and it has been sold in several geographic territories. Now I have to make up a music cue sheet. What do I put on the cue sheet for Apple Loops and FCP and Soundtrack Pro files that I have used for music