Form - Expand/Collapse sections to simulate website, is this possible?

Hello,
My FLA file is based in CS5 with AS3. I posted this in the AS3 forum but if it can be done without AS3 then I am open to that possibility as well.
I am creating a non-functioning form, meaning I just need it to look like a form but the functionality doesn't need to work. Atleast not in this stage of development.
The functionality I need basically looks like the following:
- http://static.geewax.org/checktree/index.html (What would this be called in the flash world?? my google search terms have not been successful)
Where:
1. Clicking the arrow expands a section.
2. The arrow changes to a different arrow when the section is expanded.
3. It will be inside of a white box, the white box needs to resize to either shrink or get taller when a section is expanded or collapsed.
One section will be checkboxes, and one section will be radio buttons.
Thank you very much in advance . I look forward to exploring into how to accomplish such a thing.
Message was edited by: da4seen

Okay,
I know I may be going at this completely wrong but posting my code here so someone can give me feedback so far and point me in directions where I need improvement.
So far this code:
1. Expands/Collapses the 1st section, and properly moves the 2nd section to the correct position.
My problem so far is:
1. The contents of the 2nd section doesn't update to the correct position when section 1 expands/collapses.
import fl.controls.CheckBox;
import fl.controls.RadioButton;
//Set Variable for collapse position
var collapsePosition:int = 0;
// Tab1 Group 1
var tab1_gp1_main:CheckBox = new CheckBox();
var tab1_gp1_op1:CheckBox = new CheckBox();
var tab1_gp1_op2:CheckBox = new CheckBox();
addChild(tab1_gp1_main);
tab1_gp1_main.move(-110, -300);
tab1_gp1_main.width = 120;
tab1_gp1_main.label = "Landscape";
// Tab1 Group 2;
var tab1_gp2_main:CheckBox = new CheckBox();
var tab1_gp2_op1:CheckBox = new CheckBox();
var tab1_gp2_op2:CheckBox = new CheckBox();
addChild(tab1_gp2_main);
tab1_gp2_main.move(-110, 20 + tab1_gp1_main.y );
tab1_gp2_main.width = 120;
tab1_gp2_main.label = "Performance";
// Section Click Listeners
tab1_gp1_main.addEventListener(MouseEvent.CLICK, sectionHandler);
tab1_gp2_main.addEventListener(MouseEvent.CLICK, sectionHandler);
function sectionHandler(event:MouseEvent):void
    switch (event.currentTarget)
        case tab1_gp1_main :
            switch (tab1_gp1_main.selected)
                case true :
                    addChild(tab1_gp1_op1);
                    addChild(tab1_gp1_op2);
                    tab1_gp1_op1.move(-100, 20 + tab1_gp1_main.y);
                    tab1_gp1_op1.width = 120;
                    tab1_gp1_op1.label = "test 1";
                    tab1_gp1_op2.move(-100, 20 + tab1_gp1_op1.y);
                    tab1_gp1_op2.width = 120;
                    tab1_gp1_op2.label = "test 2";
                    collapsePosition = tab1_gp2_main.y;
                    tab1_gp2_main.move(-110, 20 + tab1_gp1_op2.y);
                    break;
                case false :
                    removeChild(tab1_gp1_op1);
                    removeChild(tab1_gp1_op2);
                    tab1_gp2_main.move(-110, collapsePosition);
                    break;
                default :
                    trace('Something is wrong');
            break;
        case tab1_gp2_main :
            switch (tab1_gp2_main.selected)
                case true :
                    addChild(tab1_gp2_op1);
                    addChild(tab1_gp2_op2);
                    tab1_gp2_op1.move(-100, 20 + tab1_gp2_main.y);
                    tab1_gp2_op1.width = 120;
                    tab1_gp2_op1.label = "test 1";
                    tab1_gp2_op2.move(-100, 20 + tab1_gp2_op1.y);
                    tab1_gp2_op2.width = 120;
                    tab1_gp2_op2.label = "test 2";
                    break;
                case false :
                    removeChild(tab1_gp2_op1);
                    removeChild(tab1_gp2_op2);
                    break;
                default :
                    trace('Something is wrong');
            break;
I have the above AS code inside a movieclip timeline, not sure if this was proper or not but I was trying to keep some code away from my long AS statements on my main timeline.

Similar Messages

  • I want to have a unique reference appear on the footer of each printed version of a pdf printed from my website - is this possible?

    I want to have a unique reference appear on the footer of each printed version of a pdf printed from my website - is this possible? If so which version of Adobe do i need?

    If you want it to maybe happen some of the time, if people use the right browser and software and system, you can use JavaScript.
    If you want it to happen reliably, you need server software to add the stamp before the file is served, integrated into your web site's CGI/ASP/PHP or whatever. Probably not an option with shared hosting.

  • Form: Expand/Contract Sections - My AS3 Code is running wild.. need advice

    This question is related to: CS5 FLASH + AS3
    Hello,  I am simply trying to mimic the collapse/expand functionality in the following link:
    http://static.geewax.org/checktree/index.html
    The form itself does not need to be functional.  This is my first AS3 project, and I believe I am making things too complicated and the code is just getting so crazy I keep losing myself in it. I tried making certain functions for things that are repetitive, but all my attempts fail :(.
    What I was able to accomplish:
    1. Create checkboxes+labels dynamically from an array and properly position them underneath eachother.
    2. Clicking Section, causes checkboxes to appear/disappear
    3. Clicking 1st Section, automatically repositions 2nd section correctly.  --------  My Issue,  I can not find a viable way to reposition the checkboxes that are underneath the 2nd section when the 1st section expands/collapses. I basically need these checkboxes to always be located under the 2nd section.
    Here is my code:
    stop();
    import fl.controls.CheckBox;
    import fl.controls.RadioButton;
    //General Variables
    var i:int;
    // Tab1 Group 1
    var tab1_gp1_main:CheckBox = new CheckBox();
    addChild(tab1_gp1_main);
    tab1_gp1_main.move(0, 20);
    tab1_gp1_main.width = 120;
    tab1_gp1_main.label = "Landscape";
    // Tab1 Group 2;
    var tab1_gp2_main:CheckBox = new CheckBox();
    addChild(tab1_gp2_main);
    this.tab1_gp2_main.move(0, 20 + tab1_gp1_main.y );
    tab1_gp2_main.width = 120;
    tab1_gp2_main.label = "Performance";
    // Section Click Listeners
    tab1_gp1_main.addEventListener(MouseEvent.CLICK, sectionHandler);
    tab1_gp2_main.addEventListener(MouseEvent.CLICK, sectionHandler);
    //Declare Number of Options;
    var tab1_grp1_Options:int = 4;
    var tab1_gp1_op_Labels:Array = ["Test1","Test2","Test3","Test4","Test5"];
    var tab1_grp2_Options:int = 4;
    var tab1_gp2_op_Labels:Array = ["Test1","Test2","Test3","Test4","Test5"];
    //Section Click Functions;
    function sectionHandler(event:MouseEvent):void
        switch (event.currentTarget)
            case tab1_gp1_main :
                switch (tab1_gp1_main.selected)
                    case true :
                        for (i=0; i<=tab1_grp1_Options; i++)
                            //Option Creation Loop
                            var tab1_gp1_op:CheckBox = new CheckBox();
                            tab1_gp1_op.name = "tab1_gp1_op" + i;
                            addChild(tab1_gp1_op);
                            //Add Properties for Options
                            tab1_gp1_op.label = tab1_gp1_op_Labels[i];
                            tab1_gp1_op.width = 120;
                            //Position 1st Option Below Main
                            if (tab1_gp1_op.name == "tab1_gp1_op0")
                                tab1_gp1_op.move(20, 20 + this.tab1_gp1_main.y);
                            else
                                //Position Options > 1st below it
                                var prevOptionNum:int = i - 1;
                                var prevOption:CheckBox = getChildByName("tab1_gp1_op" + prevOptionNum) as CheckBox;
                                tab1_gp1_op.move(20, 20 + prevOption.y);
                            //Testing
                            trace(tab1_gp1_op.name);
                            trace(tab1_gp1_op.label);
                            trace(tab1_gp1_op.y);
                        ExpandCollapse("tab1_gp1_main_selected");
                        break;
                    default :
                        //Remove all options for a section
                        for (i=0; i<=tab1_grp1_Options; i++)
                            var RemoveOption:CheckBox = getChildByName("tab1_gp1_op" + i) as CheckBox;
                            trace("unselected"+RemoveOption);
                            removeChild(RemoveOption);
                        ExpandCollapse("tab1_gp1_main_unselected");
                break;
            case tab1_gp2_main :
                switch (tab1_gp2_main.selected)
                    case true :
                        for (i=0; i<tab1_grp2_Options; i++)
                            //Option Creation Loop
                            var tab1_gp2_op:CheckBox = new CheckBox();
                            tab1_gp2_op.name = "tab1_gp2_op" + i;
                            addChild(tab1_gp2_op);
                            //Add Properties for Options
                            tab1_gp2_op.label = tab1_gp2_op_Labels[i];
                            tab1_gp2_op.width = 120;
                            //Position 1st Option Below Main
                            if (tab1_gp2_op.name == "tab1_gp2_op0")
                                tab1_gp2_op.move(20, 20 + tab1_gp2_main.y);
                            else
                                //Position Options > 1st below it
                                var tab1_gp2_op_prevnum:int = i - 1;
                                var tab1_gp2_op_prevopt:CheckBox = getChildByName("tab1_gp2_op" + tab1_gp2_op_prevnum) as CheckBox;
                                tab1_gp2_op.move(20, 20 + tab1_gp2_op_prevopt.y);
                            //Testing
                            trace(tab1_gp2_op.name);
                            trace(tab1_gp2_op.label);
                            trace(tab1_gp2_op.y);
                        break;
                    default :
                        //Remove all options for a section
                        for (i=0; i<tab1_grp2_Options; i++)
                            var tab1_gp2_op_remove:CheckBox = getChildByName("tab1_gp2_op" + i) as CheckBox;
                            trace("unselected"+tab1_gp2_op_remove);
                            removeChild(tab1_gp2_op_remove);
                break;
    function ExpandCollapse(SectionClicked:String):void
        switch (SectionClicked)
            case "tab1_gp1_main_selected" :
                var lastOption:CheckBox = getChildByName("tab1_gp1_op" + tab1_grp1_Options) as CheckBox;
                tab1_gp2_main.move(0, 20 + lastOption.y);
                break;
            case "tab1_gp1_main_unselected" :
                tab1_gp2_main.move(0, 20 + tab1_gp1_main.y);
                break;
            default :
    Thank you in advance.

    This question is related to: CS5 FLASH + AS3
    Hello,  I am simply trying to mimic the collapse/expand functionality in the following link:
    http://static.geewax.org/checktree/index.html
    The form itself does not need to be functional.  This is my first AS3 project, and I believe I am making things too complicated and the code is just getting so crazy I keep losing myself in it. I tried making certain functions for things that are repetitive, but all my attempts fail :(.
    What I was able to accomplish:
    1. Create checkboxes+labels dynamically from an array and properly position them underneath eachother.
    2. Clicking Section, causes checkboxes to appear/disappear
    3. Clicking 1st Section, automatically repositions 2nd section correctly.  --------  My Issue,  I can not find a viable way to reposition the checkboxes that are underneath the 2nd section when the 1st section expands/collapses. I basically need these checkboxes to always be located under the 2nd section.
    Here is my code:
    stop();
    import fl.controls.CheckBox;
    import fl.controls.RadioButton;
    //General Variables
    var i:int;
    // Tab1 Group 1
    var tab1_gp1_main:CheckBox = new CheckBox();
    addChild(tab1_gp1_main);
    tab1_gp1_main.move(0, 20);
    tab1_gp1_main.width = 120;
    tab1_gp1_main.label = "Landscape";
    // Tab1 Group 2;
    var tab1_gp2_main:CheckBox = new CheckBox();
    addChild(tab1_gp2_main);
    this.tab1_gp2_main.move(0, 20 + tab1_gp1_main.y );
    tab1_gp2_main.width = 120;
    tab1_gp2_main.label = "Performance";
    // Section Click Listeners
    tab1_gp1_main.addEventListener(MouseEvent.CLICK, sectionHandler);
    tab1_gp2_main.addEventListener(MouseEvent.CLICK, sectionHandler);
    //Declare Number of Options;
    var tab1_grp1_Options:int = 4;
    var tab1_gp1_op_Labels:Array = ["Test1","Test2","Test3","Test4","Test5"];
    var tab1_grp2_Options:int = 4;
    var tab1_gp2_op_Labels:Array = ["Test1","Test2","Test3","Test4","Test5"];
    //Section Click Functions;
    function sectionHandler(event:MouseEvent):void
        switch (event.currentTarget)
            case tab1_gp1_main :
                switch (tab1_gp1_main.selected)
                    case true :
                        for (i=0; i<=tab1_grp1_Options; i++)
                            //Option Creation Loop
                            var tab1_gp1_op:CheckBox = new CheckBox();
                            tab1_gp1_op.name = "tab1_gp1_op" + i;
                            addChild(tab1_gp1_op);
                            //Add Properties for Options
                            tab1_gp1_op.label = tab1_gp1_op_Labels[i];
                            tab1_gp1_op.width = 120;
                            //Position 1st Option Below Main
                            if (tab1_gp1_op.name == "tab1_gp1_op0")
                                tab1_gp1_op.move(20, 20 + this.tab1_gp1_main.y);
                            else
                                //Position Options > 1st below it
                                var prevOptionNum:int = i - 1;
                                var prevOption:CheckBox = getChildByName("tab1_gp1_op" + prevOptionNum) as CheckBox;
                                tab1_gp1_op.move(20, 20 + prevOption.y);
                            //Testing
                            trace(tab1_gp1_op.name);
                            trace(tab1_gp1_op.label);
                            trace(tab1_gp1_op.y);
                        ExpandCollapse("tab1_gp1_main_selected");
                        break;
                    default :
                        //Remove all options for a section
                        for (i=0; i<=tab1_grp1_Options; i++)
                            var RemoveOption:CheckBox = getChildByName("tab1_gp1_op" + i) as CheckBox;
                            trace("unselected"+RemoveOption);
                            removeChild(RemoveOption);
                        ExpandCollapse("tab1_gp1_main_unselected");
                break;
            case tab1_gp2_main :
                switch (tab1_gp2_main.selected)
                    case true :
                        for (i=0; i<tab1_grp2_Options; i++)
                            //Option Creation Loop
                            var tab1_gp2_op:CheckBox = new CheckBox();
                            tab1_gp2_op.name = "tab1_gp2_op" + i;
                            addChild(tab1_gp2_op);
                            //Add Properties for Options
                            tab1_gp2_op.label = tab1_gp2_op_Labels[i];
                            tab1_gp2_op.width = 120;
                            //Position 1st Option Below Main
                            if (tab1_gp2_op.name == "tab1_gp2_op0")
                                tab1_gp2_op.move(20, 20 + tab1_gp2_main.y);
                            else
                                //Position Options > 1st below it
                                var tab1_gp2_op_prevnum:int = i - 1;
                                var tab1_gp2_op_prevopt:CheckBox = getChildByName("tab1_gp2_op" + tab1_gp2_op_prevnum) as CheckBox;
                                tab1_gp2_op.move(20, 20 + tab1_gp2_op_prevopt.y);
                            //Testing
                            trace(tab1_gp2_op.name);
                            trace(tab1_gp2_op.label);
                            trace(tab1_gp2_op.y);
                        break;
                    default :
                        //Remove all options for a section
                        for (i=0; i<tab1_grp2_Options; i++)
                            var tab1_gp2_op_remove:CheckBox = getChildByName("tab1_gp2_op" + i) as CheckBox;
                            trace("unselected"+tab1_gp2_op_remove);
                            removeChild(tab1_gp2_op_remove);
                break;
    function ExpandCollapse(SectionClicked:String):void
        switch (SectionClicked)
            case "tab1_gp1_main_selected" :
                var lastOption:CheckBox = getChildByName("tab1_gp1_op" + tab1_grp1_Options) as CheckBox;
                tab1_gp2_main.move(0, 20 + lastOption.y);
                break;
            case "tab1_gp1_main_unselected" :
                tab1_gp2_main.move(0, 20 + tab1_gp1_main.y);
                break;
            default :
    Thank you in advance.

  • Expand/Collapse functionality in Survey

    Dear Experts,
    We have build survey Form using Survey Builder. The survey Form has 4
    sections , in each section 5 questions & its relevant answer
    options are there.
    We are using the standard CSS style sheet : CRM_SVY_OPP_WINLOSS.CSS. Out
    put displays standard HTML page with out Expand & Collapse
    functionality at section & Questional level.
    Client required expand and collapse functionality to view the entire
    survey form in one page which allows the user to navigate to required
    question .
    For that we are tring to change Static Survey XSLT, however system is
    not allowed to edit XSLT file .
    Please suggest ,how can we enable the expand & Collapse
    functionality for our surveys in Survey Buider ?
    Regards
    Pramod

    Hello Aks,
    After seeing the ME2ON transaction, what i can suggest you is following:
    --> Display a column in your Grid with the hotspot on it
    --> You can give the icon as a value in the column
    --> Then for the hotspot click you need to display the expanded data i.e. regenerate the grid.
    My suggestion to you would be that if you dont need to edit anything in the grid i.e. dont want have any editable field on the grid, then you should opt for an ALV tree using class CL_GUI_ALV_TREE. The expand collapse functionality is already there and you will be saved from a lot of coding.
    Hope this helps.
    Regards,
    Himanshu

  • Outlook 2013 - Online Archive folders do not remember expand / collapse

    For our QA group, we have just upgraded them from Office 2010 to Office 2013 SP1. We have one user that noticed something. With Outlook 2010, the client would remember which folders he had expanded or collapsed under his "Archive" (the online archive
    generated by the Archiving feature of Exchange server). However, once we upgraded him to Outlook 2013, this is no longer true. Now, the "Online Archive" header is fully collapsed when he open Outlook every time.
    To test, I created a small folder structure with some items in my own "Online Archive" section and was able to reproduce this behavior. Outlook 2013 will remember which folders are expanded or collapsed for the folders in my Inbox but not for the
    folders in my Archive. Is there a way to have Outlook 2013 remember the expand / collapse settings for the Archive?

    Hi,
    I'm marking the reply as answer as there has been no update for a couple of days.
    If you come back to find it doesn't work for you, please reply to us and unmark the answer.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Expand/collapse button functionality on module pool screen

    Hi ,
    I want to design a module pool screen with a expand/collapse button on it.
    The desired functionality associated with this button would be something similiar to that available in ME21N screen. When the expand button is clicked it should open up a section of screen that allows the user to enter some parameter. Based on this parameter some selections from DB can be perfomed and then displayed below it.
    Any pointers on how to achieve this? Any kind of help would be appreciated.
    Regards-
    Harmeet Singh.

    example for three pushbutton with expand collapse .
    First of all define your push button as output field with icon tick in the pushbutton characteristick,
    then define this pushbutton in top_include
    include <icon>.
    data : push_a1 like icons-l4,
             push_a2 like icons-l4,
             push_a3 like icons-l4.
    data : a1 ,
             a2,
             a3.
    in pai of the screen
    suppose i had assign function code a1 ,a2 , a3 for repective pushbutton
    module user_command_9002 input.
      okcd = ok_code.
      clear ok_code.
      case okcd.
        when 'A1'.
          if a1 is initial.
            a1 = 'X'.
          else.
            clear a1.
          endif.
        when 'A2'.
          if a2 is initial.
            a2 = 'X'.
          else.
            clear a2.
          endif.
        when 'A3'.
          if a3 is initial.
            a3 = 'X'.
          else.
            clear a3.
          endif.
      endcase.
    endmodule.                 " USER_COMMAND_9002  INPUT
    define three seprate screen -group for three pushbutton say a1 a2 a3
    during pbo you can directly assign name of icon .
    if a1 is initial.
        push_a1 = icon_collapse.
      else.
        push_a1 = icon_expand.
      endif.
      if a2 is initial.
        push_a2 = icon_collapse.
      else.
        push_a2 = icon_expand.
      endif.
      if a3 is initial.
        push_a3 = icon_collapse.
      else.
        push_a3 = icon_expand.
      endif.
    loop at screen.
        if screen-group1 = 'A1'.
          if a1 = 'X'.
            screen-invisible = 1.
            screen-input = 0.
            modify screen.
          else.
            screen-active = 1.
            screen-invisible = 0.
            screen-input = 1.
          endif.
        elseif screen-group1 = 'A2'.
          if a2 = 'X'.
            screen-invisible = 1.
            screen-input = 0.
            modify screen.
          else.
            screen-active = 1.
            screen-invisible = 0.
            screen-input = 1.
          endif.
        elseif screen-group1 = 'A3'.
          if a3 = 'X'.
            screen-invisible = 1.
            screen-input = 0.
            modify screen.
          else.
            screen-active = 1.
            screen-invisible = 0.
            screen-input = 1.
          endif.
        endif.
      endloop.
    regards,
    Alpesh
    Edited by: Alpesh on May 28, 2009 10:28 AM

  • ALV doesn't expand/collapse subtotals

    Hi everyone,
    I have an old ALV program in wich i made some changes. For example, added form USER_COMMAND so that when you double-click on a row, it makes a CALL TRANSACTION to the referenced document.
    But a problem emerged, and it didn't happended before. If i ask for subtotals, i can't manage to expand/collapse the rows, by using the icon on the yellow subtotal line(s). The small "finger" icon that appeared (like in hotspot), no longer appears.
    What can i do to solve this ? thank you in advance to all.
                 Nuno Santos

    I just realized this happens because i have an editable field on my alv. If i "disconnet" the edit mode, collapse/expand works fine again. Isn't there a way to workaround and make possible edit AND collapse/expand at the same time ?

  • Expand/Collapse prompts

    Hi, Is there any way to expand/collapse prompts. The prompts and the request are in the same section. So I cannot use Collapsible feature of section.
    thx,
    parag

    Hi,
    >Actually there is a guided navigation on this section
    So you mean this sections comes based on some selections.. Then place prompt and report in seperate sections and apply guided navigation for both sections and collapsible for prompt...
    Thanks,
    Srikanth

  • Expand/Collapse in Navigation Panel

    I need to remove the entire bar containing the expand/collapse and scroll buttons just above the detailed navigation section.
    Now I am using the Light framework page which I copied from Standard Portal Users.
    I am aware that in com.sap.portal.layouts.framework.par file there is a JSP wherein I can make the modifications.
    But I do no want to change the sap par file. Instead I wish to make a new framework out of this modified PAR file.
    Can anyone please tell me how to go about this.
    Thanks!!

    Hi Prem,
    u can do this without changing the par file...goto content admin..select ur framework page and open this..in this, select desktop innerpage....select detailed navigation and open it...in property section...remove tray option...hope this will solve ur problem
    regards
    Amit
    P.S. reward points if helpful

  • Expand/Collapse feature in table maintenance view

    Hello experts,
    We have created a custom table and maintenace view.   For some table rows, the only key value difference is an EFFECTIVE DATE.   The generated table maintenace dialog by default "Collapses" the rows that only differ by Effective Date.  Using the Expand <-> Collapse button, we can see the missing detail for individual rows.
    Can the maintenace dialog be expanded by default?

    Hi,
    See the given link, It may help to you.
    maintenance view
    Regards,
    Shamma

  • Expand/Collapse a block in a selection screen

    Hey Folks,
    I have a requirement , where I have a selection screen, with 3 selection blocks. I have a requirement that I need to make 2 of these blocks expandible/collapsible on the toggle of a button.. How can this be achieved.
    In case of a normal screen, I would have had to create the blocks as subscreens (one type of screen for expanded state...another for collapsed state) and called it from the main screen. But how do I achieve the same using the selection screens?
    I was considering creating the blocks as subscreens in the selection screen and calling them in the PBO of the main selection screen. However, I am unsure if thats a wise thing to do since the screen is generated automatically in case of a selection screen and I do believe its not a good idea to manually alter it.
    Does anyone has any pointers on this?
    Thanks and Best Regards,
    Puja.

    Hi,
    I have modified the code to show the expand/collapse ICON accordingly..Please check..
    TABLES sscrfields.
    TYPE-POOLS icon.
    * Expand/collapse buttons.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 2(23)  b1 USER-COMMAND usr1.
    SELECTION-SCREEN END OF LINE.
    * Block 1
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    PARAMETERS: p_test1 TYPE char10  MODIF ID m1,
                p_test2 TYPE char10  MODIF ID m1.
    SELECT-OPTIONS  s_date  FOR sy-datum MODIF ID m1.
    SELECTION-SCREEN END OF BLOCK b1.
    * Block 2
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 2(23)  b2 USER-COMMAND usr2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF BLOCK b2.
    PARAMETERS: p_test3 TYPE char10  MODIF ID m2,
                p_test4 TYPE char10  MODIF ID m2.
    SELECTION-SCREEN END OF BLOCK b2.
    * Declarations
    DATA: v_flag, v_flag1.
    INITIALIZATION.
      b1 = 'Button1'.
      b2 = 'Button2'.
      v_flag = 'X'.
      v_flag1 = 'X'.
    AT SELECTION-SCREEN.
    * Check the user command.
      IF sy-ucomm = 'USR1'.
        IF v_flag IS INITIAL.
          v_flag = 'X'.
        ELSE.
          CLEAR v_flag.
        ENDIF.
      ELSEIF sy-ucomm = 'USR2'.
        IF v_flag1 IS INITIAL.
          v_flag1 = 'X'.
        ELSE.
          CLEAR v_flag1.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN OUTPUT.
      IF v_flag1 = 'X'.
        CALL FUNCTION 'ICON_CREATE'
          EXPORTING
            name   = icon_expand
            text   = 'Button 2'
            info   = 'Button 2'
          IMPORTING
            RESULT = b2
          EXCEPTIONS
            OTHERS = 0.
      ELSEIF v_flag1 IS INITIAL.
        CALL FUNCTION 'ICON_CREATE'
          EXPORTING
            name   = icon_collapse
            text   = 'Button 2'
            info   = 'Button 2'
          IMPORTING
            RESULT = b2
          EXCEPTIONS
            OTHERS = 0.
      ENDIF.
      IF v_flag = 'X'.
        CALL FUNCTION 'ICON_CREATE'
          EXPORTING
            name   = icon_expand
            text   = 'Button 1'
            info   = 'Button 1'
          IMPORTING
            RESULT = b1
          EXCEPTIONS
            OTHERS = 0.
      ELSEIF v_flag IS INITIAL.
        CALL FUNCTION 'ICON_CREATE'
          EXPORTING
            name   = icon_collapse
            text   = 'Button 1'
            info   = 'Button 1'
          IMPORTING
            RESULT = b1
          EXCEPTIONS
            OTHERS = 0.
      ENDIF.
      LOOP AT SCREEN.
    * Expand collapse block1
        IF v_flag = 'X' AND screen-group1 = 'M1'.
          screen-active = 0.
        ELSEIF v_flag IS INITIAL AND screen-group1 = 'M1'.
          screen-active = 1.
        ENDIF.
    * Expand collapse block2
        IF v_flag1 = 'X' AND screen-group1 = 'M2'.
          screen-active = 0.
        ELSEIF v_flag1 IS INITIAL AND screen-group1 = 'M2'.
          screen-active = 1.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    Thanks
    Naren

  • How to I get my Muse site to have a "Direct Link" to a section on my website.

    How to I get my Muse site to have a "Direct Link" to a section on my website. For example, if I am under the busniesscatayst I can direct some to an exact page in my site through an email or Facebook post: http://biteonfishing.businesscatalyst.com/buy-now.html  However, I can not perform the function when I am not including the Business Catalyst www.BiteOnFishing.com I want to make so I can send people to the link using www.BiteOnFishing.com/buy-now.html. Any advice is much appreciated.

    You need to point your domain name DNS to the Business Catalyst server and then set up the domain name in the Business Catalyst site admin.
    Adding a domain name to your site and taking site live

  • [Forum FAQ] How to use parameter to control the Expand/Collapse drill-down options in SSRS report?

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

    In SQL Server Reporting Services (SSRS), drill-down is an action we can apply to any report item to hide and show other report items. They all are ways that we can organize and display data to help our users understand our report better. In this article,
    we are talking about how to use parameter to control the Expand/Collapse drill-down options in SSRS report.
    Consider that the report has a dataset (dsSales) with following fields: SalesTerritoryGroup, SalesTerritoryCountry, CalendarYear, SalesAmount.
    1. The report has the following group settings:
    Parent Group: SalesTerritoryGroup
     Child Group: SalesTerritoryCountry
      Child Group: CalendarYear
       Details: SalesAmount
    2. Add three parameters in the report:
    GroupExpand:
    Available Values: “Specify values”
    Label: Yes           Value: Yes
    Label: No            Value: No
    Default Values: “Specify values”
    Value: Yes
    CountryExpand:
    Available Values: “Specify values”
    Label: Yes           Value: =IIF(Parameters!GroupExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No","No","Yes")
    YearExpand:
    Available Values: “Specify values”
    Label: Yes          
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No",Nothing,"Yes")
    Label: No            Value: No
    Default Values: “Specify values”
    Value: =IIF(Parameters!GroupExpand.Value="No" or Parameters!CountryExpand.Value="No","No","Yes")
    3. Right click SalesTerritoryCountry icon in the Row Groups dialog box, select Group Properties.
    4. Click Visibility in the left pane. Select “Show or hide based on an expression” and type with following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", False, True)
    Select “Display can be toggled by this report item” option, and select “SalesTerritoryGroup” in the drop down list.
    5. Use the same method setting CalendarYear, (Details) drill-down with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", False, True)
    =IIF(Parameters!YearExpand.Value="Yes", False, True)
    6. Click SalesTerritoryGroup text box in the tablix. Select InitialToggleState property in the Properties dialog box, and type following expression:
    =IIF(Parameters!GroupExpand.Value="Yes", True, False)
    7. Use the same method setting SalesTerritoryCountry, CalendarYear text box with following expression:
    =IIF(Parameters!CountryExpand.Value="Yes", True, False)
    =IIF(Parameters!YearExpand.Value="Yes", True, False)
    After that, when we preview the report, we can use these three parameters to expand/collapse drill-down.
    Note:
    In our test, we may meet following issue. We can check the expression of InitialToggleState property to troubleshooting the issue.
    Applies to
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012

  • Why some contact forms doesn't work on some websites? We don't receive the submission form with the information?

    Why some contact forms doesn't work on some websites? We don't receive the submission form with the information?

    Hi Aish
    I wanted to check the following, but the URL is not found, you have another one?
    thanks
    Nicole
        4. Visit http://my-site.com/scripts/form_check.php in a web browser and make sure you see all green checkmarks. If some items do not display green checkmarks that means that the hosting server is not configured correctly to allow the Form widgets to send email messages to the address you've specified.
                    Contact your web-hosting provider about the server configuration problem. Describe the items that are not marked as green in the form check page, so that they can help you set up the servers to use the correct settings.
    Il giorno 9-set-2014, alle ore 16:11, Aishvarya Raj Rastogi <[email protected]> ha scritto:
    Why some contact forms doesn't work on some websites? We don't receive the submission form with the information?
    created by Aishvarya Raj Rastogi in Help with using Adobe Muse CC - View the full discussion
    Hi Nicole,
    What is the "From" email address in your form?
    Also, have you checked the spam folder?
    Please check the following posts as well :
    https://forums.adobe.com/docs/DOC-3581
    Re: PHP mail may be disabled or incorrectly configured on the web server.
    Regards,
    Aish
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6714281#6714281
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Help with using Adobe Muse CC by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How do I remove the "TOC" btn in the playbar WITHOUT removing the TOC "Expand/Collapse" icon?

    I am working in CP7 on a project with a Table of Contents that is set to 'Overlay'. The client has requested that I remove the "TOC" button in the playbar, without removing the TOC "Expand/Collapse" icon, so that the user can still hide/reveal the TOC when necessary. The only control I can find is the "Show TOC" checkbox under Project > Table of Contents. However, un-checking this option removes both the "TOC" button AND the "Expand/Collapse" icons. Is it possible to remove just the "TOC" button in the playbar?

    If you are using SWF output you can always edit the playbar in Flash and remove it.
    If HTML5 you can edit the JavaScript out put to remove the button from the playbar.

Maybe you are looking for

  • Why wont photos on SD Card download toiPad

    Why wont photos on SD cards & flashdrives download to iPad?

  • Changing Images from CMYK to RGB and file size

    Hello and Thank You in advance... I'm new to Keynote and I created a slideshow with CMYK image and it is a certain size. When I resaved the images (same name, same location) and resaved the Keynote document, there is no change in file size. Is there

  • Webcam capture works fine in JMFStudio, not in Eclipse

    Hi all, I search the forum, but can't find any answer ! I'm trying to capture a webcam using JMF Performance Pack on XP64. I can read the webcam in JMFStudio, but when using some code to do it, for instance in eclipse, it says : java.io.IOException:

  • Exporting for the web

    ok I'll keep it simple. I want the 6 minute quicktime movie file for my iweb site to include: H.264 codec 320X240 res around 800kbit data rate AAC audio I know how to set all those, but my BIG ISSUE is: I don't want the file to be streaming, and I wa

  • Migrate Data action hanging migrating from sql server to Oracle 10g

    Hi, I am currently migrating a SQL Server 2005 db to Oracle 10g using SQL Developer 1.2.1. I have created the migration repository, captured the SQL Server db objects, and created the target schema. There are about 109 tables captured. During Data mi