Has anybody ever used the Accordion component?

The way an Accordion component currently functions is, when a
user clicks on a segment it slides to display the content.
I would like it to slide and display the content when the
user rolls over a segment, but I can't figure out how to detect the
index of the segment that the user rolls over.
Also I can't figure out how to align the labels right and
change the text to white. My code is below, please help.
import mx.containers.Accordion;
//skinning the segments
Accordion.prototype.falseUpSkin = "falseUpSkin";
Accordion.prototype.falseDownSkin = "falseDownSkin";
Accordion.prototype.falseOverSkin = "falseOverSkin";
Accordion.prototype.falseDisabledSkin = "falseDisabledSkin";
Accordion.prototype.trueDownSkin = "trueDownSkin";
Accordion.prototype.trueUpSkin = "trueUpSkin";
Accordion.prototype.trueOverSkin = "trueOverSkin";
Accordion.prototype.trueDisabledSkin = "trueDisabledSkin";
//creating the segments
var s1 = mainAccordian.createSegment("content1", "s1",
"label1");
var s2 = mainAccordian.createSegment("content1", "s2",
"label2");
var s3 = mainAccordian.createSegment("content1", "s3",
"label3");
var s4 = mainAccordian.createSegment("content1", "s4",
"label4");
var s5 = mainAccordian.createSegment("content1", "s5",
"label5");
var s6 = mainAccordian.createSegment("content1", "s6",
"label6");
var s7 = mainAccordian.createSegment("content1", "s7",
"label7");
setAccordionStyle(mainAccordian);
// can't detect when the user rolls over a segment or get the
index
// of that segment
s1.onRollOver = function() {
// this only seems to detect when the user rolls over the
// content of the selectedIndex
//aligning the text right and changing the font color to
white doesn't work
function setAccordionStyle(accordion) {
accordion.setStyle("headerHeight", 31);
accordion.setStyle("fontFamily", "Verdana");
accordion.setStyle("textAlign", "right");
_global.styles.AccordionHeader.setStyle("fontColor",
"white");
_global.styles.AccordionHeader.setStyle("fontSize", 12);
}

Hi syed..
Please use FM MD_STOCK_REQUIREMENTS_LIST_API to get all information for transaction MD04/MD05.
You might also want to check out the function module API.
MD_MRP_LIST_API
and also
check this link for extracting data from MRP tables:
http://www.sap-img.com/pp001.htm
If it helps Reward with points..
Regards Rk..

Similar Messages

  • Has anybody successfully used the META2TTF utility?

    Hey there, I'm trying to use a new function (new as of 11.5) called META2TTF (found in the 11.5's Docutoolbox reference guide), it converts Portrait Metacode Xerox fonts to a Windows TrueType Font.
    I'm trying to use the utilty to, as my explanation above would suggest, convert Xerox fonts we own to their TrueType version so our users can see what their efforts in Documaker would look like while working on their sections, etc. However, in using the command line function, I keep getting the message "Device font in non-portrait orientation not converted." I'm pretty confident the font(s) I'm trying to convert are portrait oriented, so I'm just wondering if anybody else has by chance used this utility so I can figure out if it's user error or whether I need to open a ticket with Oracle...
    i used the font converter wizard last week in 11.5 to successfully convert all of my Xerox fonts to PCL so I can print locally and see the true representation of what I create in Studio, but TTF is not an option in the wizard (unless it's just not called TTF and I'm missing the proverbial "boat" on this one).
    Thanks,
    Gregg

    I think there might be a mistake in the documentation which says to use /I= and /O= for the input Xerox font name and the output TrueType font name. Actually, you don't use /I= and /O=, just specify the input Xerox font name and the output TrueType font name.
    For example,
    meta2ttf C:\metafonts\HM108P.fnt "C:\My Fonts\HM108P.TTF"

  • Has anyone ever used the f:runGlobalApplication/ tag?

    The taglib documentation is not very helpful. My best guess is that this tag is meant to execute a global activity. I tried testing this out in Studio, but I get an error saying that Process '/' is not available. This kind of makes sense, as I don't see any way to identify which process the activity may reside in. A search of "runGlobalApplication" on the forum turned up zero results, I'm hoping someone out there knows how this tag works.
    Edited by: cfritz on Nov 16, 2010 9:14 AM

    How to pass parameters to global application?
    There is a tag <f:param ...> , but how to get the parameter value in a Global Creation activity ?
    Edited by: pinei on 20/06/2012 13:12

  • HT4946 has anybody ever forgotten their iphone 4, 4 digit, passlock code on the front screen?!!?!?

    Has anybody ever forgotten their 4 digit passlock code to their iphone 4??? ive tried everything and i dont want to take the 45min to an hour drive if i dont have to??? thank you

    Has anybody ever forgotten their 4 digit passlock code to their iphone 4???
    I'm assuming you want to know how to deal with this rather than starting a social network...
    Restore the phone in iTunes using the computer the phone syncs with.  If you use any other computer, you'll be asked for the passcode to restore. In that case, you have to force recovery mode and lose all data on the phone.  Search "recovery mode" to find out how.

  • Has anybody ever had their security questions changed and not have the answers?

    Has anybody ever had their security questions changed and not have the answers for an ipod touch? I cannnot buy music or access my itunes account now. Thank you for any help or direction. Phone support and apple express was a deadend.

    See Kappy's previous discussion.
    HT5312 How to recover security...: Apple Support Communities

  • Customising the accordion component colours

    Hi,
    Does anybody know of a way to customise the colours in the
    accordion component. I need to change the button colour, and the
    background colour.
    Thanks,
    Dylan

    You can check that in Flash Help Components > Components
    Language Reference > Accordion component (Flash Professional
    only) > Customizing the Accordion component (Flash Professional
    only) and also Components > Using Components > Customizing
    Components. :D
    It explains everything.
    Here's a sample code copied from Flash Help:
    var section1 = accordion.createChild(mx.core.View,
    "section1", {label: "First Section"});
    var section2 = accordion.createChild(mx.core.View,
    "section2", {label: "Second Section"});
    var input1 = section1.createChild(mx.controls.TextInput,
    "input1");
    var button1 = section1.createChild(mx.controls.Button,
    "button1");
    input1.text = "Text Input";
    button1.label = "Button";
    button1.move(0, input1.height + 10);
    var input2 = section2.createChild(mx.controls.TextInput,
    "input2");
    var button2 = section2.createChild(mx.controls.Button,
    "button2");
    input2.text = "Text Input";
    button2.label = "Button";
    button2.move(0, input2.height + 10);
    accordion.setStyle("fontStyle", "italic");
    I think the buttons inside the components can be changed
    using global styles.
    Use this code:
    _global.style.setStyle("color", 0xCC6699);
    _global.style.setStyle("themeColor", 0xFF00FF)
    _global.style.setStyle("fontSize",16);
    _global.style.setStyle("fontFamily" , "_sans");
    _global.style.setStyle("fontWeight" , "bold");
    Change the colors :D they are in pink lol
    Regards.

  • Difference in using the same component made in mxml or action-script

    Hi,
    I made a sample project to show a kind of bug in the SuperTabNavigator component of FlexLib
    In this sample you can see that using the same component (made in both mxml or action-script) can make a difference
    I'm just wondering why ?
    Thanks
    Here is what i've posted :
    What steps will reproduce the problem?
    1. Create a button to dynamically add new tab with icon on a SuperTabNavigator
    2. Click on this button to add new tabs
    What is the expected output?
    - The expected output is tabs added without abnormal behavior
    What do you see instead?
    - Every time a new tab is created the one who had the focus has its content
    (icon + label) moving from the top-left of the tab to its original position
    Please provide any additional information below.
    Configuration:
    - Flex Builder 3 in Eclipse
    - FlexLib 2.3
    Sample:
    (see attached file)
    There is two type of tab, one in action-script and one in mxml
    They both are equal
    - Adding a new action-script tab to SuperTabNavigator works fine
    - Adding the same tab but an mxml one doesn't
    - Adding a new action-script or mxml tab to TabNavigator works fine
    -> meanings that the issue comes with SuperTabNavigator
    - Adding a new mxml tab to both SuperTabNavigator and TabNavigator at the
    same time makes TabNavigator to get the same bad behavior
    Remarks:
    - Tried everything but i'm really stuck
    - Weirdly, removing the PopUpButton correct the issue
    - In the same way if you keep adding action-script tab it automatically scroll to the
    last tab. And if you do the same with mxml tab then it add the tab at the end and
    scroll to the first one.
    => what could be the difference between using action-script or mxml object ?

    Here is one possible solution:
    You can use the ExternalInterface (
    http://livedocs.macromedia.com/flex/2/langref/flash/external/ExternalInterface.html)
    class to communicate with JavaScript. JavaScript can then popup the
    media player very easily like this:
    http://www.webreference.com/programming/javascript/jf/column5/index.html
    The documentation on the ExternalInterface class has a nice
    example (in the bottom of the page) on how to communicate with
    JavaScript in a browser. Hope this helps,
    -george

  • Has Apple ever fixed the fan issue that results from upgrading the hard drives on 2009-2010 iMacs?

    Has Apple ever fixed the fan issue that results from upgrading the hard drives on 2009-2010 iMacs?
    My CPU fan defaults to 3000RPM.  I can rev the fan higher with 3rd party Fan controllers, but no lower than 3K.

    OR you can short out the original temp sensor, to make the fans rev at quieter speeds.
    You can also install an optical temp sensor in place of the old one, it will still read temps and adjust the fans accordingly, just not as good as an internal sensor.
    Use something like this:http://www.ebay.com/itm/New-922-9229-Cable-Temp-Sensor-Optical-iMac-27-inch-Late -2009-2010-/111106349896
    Another fan speed control app you may be interested in: http://exirion.net/ssdfanctrl/
    Good Luck!

  • Has anyone ever experienced the situation where plugging in the USB connector to the charging source (high-power USB port or Apple charger) halfway, then pressing it in firmly, results in the iPad not charging?

    Has anyone ever experienced the situation where plugging in the USB connector to the charging source (high-power USB port or Apple charger) halfway, then pressing it in firmly, results in the iPad not charging?

    It's highly likely that there is a poor connection in the phone - either a pin in the dock connector or internal wiring harness.  No software fixes or "tricks" would work, but I would recommend restoring in iTunes, first using a backup and if needed restore as a new phone. 
    Otherwise, opening and repairing the phone takes some tech knowledge that can't be relayed here.  Apple doesn't repair phones other than replacing batteries (not inconceivable that you have a bad battery), but offers "out-of-warranty" replacement (refurb) phones for $149 (US).  3rd party iPhone repair centers may be able to fix it for less.  Google to find them,
    Tried soft and hard resets
    FYI, there's no such thing as "soft" or "hard" resets in iPhone terminology.  There is only one phone reset. You'll see those terms thrown around by technically ignorant posters, but they mean different things to different people and are actually archaic, 1980s PC terms that have nothing to do with iPhones.
    See the User Guide, Appendix B.

  • How to use the same component in different applications

    Hi All,
    I need to use the same component in different applications. i.e In opportunity, Quotation & Promotion.
    The Search help view in the component PRD01QR should be used in all these components but with different search criteria.
    With help of the DO_determine_configuration, different view configurations are possible but Different search criteria is not possible.
    for Eg. search parameter without DDLB, F4 options in another components.
    How can I control the behavior of the search view in different applications with restricting the field properties?
    Is it possible to find out where and in which component these search_help_search component is used?

    Hi Harry,
    Is it possible to find out where and in which component these search_help_search component is used?
    ans: I am giving an Example for your question go through that u might get clear about this.
    Ex: BT115IT_SLSO  sales order component
    below screen they component usage using for populate the product search component.
    please let me know any help required .
    Regards,
    vishwa.

  • My iPhone 4s was stolen this weekend and I did the Remote Lock.  What exactly does that do?  Also, if i do the Remote Wipe will that erase all of my data and impede anyone from ever using the phone?

    My iPhone 4s was stolen this weekend and I did the Remote Lock.  What exactly does that do?  Also, if i do the Remote Wipe will that erase all of my data and impede anyone from ever using the phone?

    The remote lock locks the iphone with a passcode that you set. By remote wiping the device it will simply restore it and clear it of all its data, but by doing this it will prevent you tracking it and communicating with it (e.g. remote locking it) in the future

  • Has iTunes stopped using the iTunNORM tag?

    Recently, I was trying to figure out whether I wanted to use info generated by the replay_gain algorithm in my iTunNORM tags, so I experimented with a couple of things, and one of things I did was to remove the iTunNORM tag completely from a copy of an aac file. I then added this song to iTunes, I noticed that the file remained unchanged, the iTunNORM tag was not created ( and yes I had the Sound Check feature on)
    So then I picked a song that I had, and I generated 3 aac's from it (one where I amplified the volume, one I decreased the volume, and one with the volume unchanged), so there was no iTunNORM tag in the files, no replay_gain tags in the files. I then added these songs to iTunes, and found out that soundcheck now works without adding the itunNORM tag to aac's; that is to say, if I have Sound Check off, then the 3 test acc's will play at different levels of loudness, and if it is on then they sound to be at the same level of loudness.
    Has anyone else noticed this behaviour?
    Has iTunes stop using the iTunNORM tag?
    BTW:
    I used foobar and qtaacenc (QuickTime commandline encoder) to create the aac files.
    I did this after I had upgraded to iTunes 11, I have since downgraded to 10.7 and I have gotten the same results. I am using the 64 bit windows version of iTunes.

    Also I'm very very interested in knowing the answer to your question.
    I posted yesterday some questions (among which your question itself) here "https://discussions.apple.com/thread/4791322" but nobody answered me yet.
    Did you find out at last if iTunes 10 stopped using the iTunNorm tag and where it eventually write soundcheck info into an mp3 file?
    Thank you very much for your anser.

  • Dynamic Tabs using the PanelTabbed component

    I would like to use the PanelTabbed component which is bound to a managed bean to render tabs dynamically. The page will simply consist of a navigationTree on the left and the panelTabbed on the right. When the user clicks a node in the tree I would like to PPR the panelTabbed component to display the new tab. If you know of any examples or could point me in the right direction it would be greatly appreciated!
    Thanks,
    Matt

    Hello Matt,
    panelTabbed won't do for that, you're going to need navigationPane using "tabs" hint. The navigationPane should have a partialTriggers on the tree and its value should be a custom MenuModel instance that get populated from click made on the tree.
    It's not overwhelming, but I fear there's some complexity in achieving what you want.
    Regards,
    ~ Simon

  • How can I use the accordion panel widget with a footer?

    Hi,
    My question is may be not clear. So I'm gonna be more specific. I'm using a menu for my website with the accordion panel widget. The menu is working fine and when I'm opening it, it pushs the items below on the pages.
    My problem is with the footer of the page. Because, when the items below the widgets are pushed, they go below the footer and the footer is not pushed.
    Is there any way to pushe the footer when I use the accordion widget? I don t want to overlap it.

    I assume this is what you want to achieve in the footer....
    Make sure in Muse before you export that the panel is closed, and also as Brad suggested, make sure Overlap Items Below is unchecked. I would also check the "Can Close All" button.

  • Has anyone ever had the icons on the menu magnify?  My phone slipped onto the floor in my car and icons are now hugh.  Don't know how to fix it.

    Has anyone ever had the icons on the menu magnify?  My phone slipped onto the floor in my car and icons are now hugh.  Don't know how to fix it.

    Double tap the screen with 3 fingers.
    Stedman

Maybe you are looking for

  • Pie Chart legend label icon

    Hi, is it possible to change the label icons of a Pie Chart legend? I have a pie chart with genre distribution % and would like to set the male and female genre icons instead of the color.  Thank you

  • SQL developer

    Can anybody help me out with setting a repository in SQL developer... for version controlling. What i want is to set a repository connection on a server with the repository folder in another server. Any answers that would be helpful ...

  • Pick Qty not equal to Delivery Qty

    Hi all, 2 questions in this post (slightly different): 1. A customer may order 10EA of a product. Since we can only confirm 8EA today, they say they'll take 8 instead of 10. We can confirm 8, but the sales order will still be open until the last 2 EA

  • Sales order with special procurement

    Hi, We are having a problem raising a sales order were the material has a special procurement marker as there is a clash between this and the Item category we have to enter on a sales order. We get our products manufactured by an outside supplier. To

  • Missing SSI Menu?

    Moving from Dreamweaver CS4 to CS6 the SSI (Server Side Include) insert command has apparently disappeared and I can't for the life of me find where it is in the new menus. CS4 had the menu command available: Select Insert > Server Side Include CS6 h