/*************************************************************************
*
* ADOBE CONFIDENTIAL
* ___________________
*
*  Copyright 2011 Adobe Systems Incorporated
*  All Rights Reserved.
*
* NOTICE:  All information contained herein is, and remains
* the property of Adobe Systems Incorporated and its suppliers,
* if any.  The intellectual and technical concepts contained
* herein are proprietary to Adobe Systems Incorporated and its
* suppliers and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material
* is strictly forbidden unless prior written permission is obtained
* from Adobe Systems Incorporated.
**************************************************************************/

layout PIViewActiveX
{
    view subview(grow: false,
                 height: 100,
                 identifier: "IDD_PROP_INSPECT_ACTIVEX",
                 margin: 0,
                 resizeChildren: false,
                 shouldConstrain: true,
                 spacing: 5,
                 width: 700)
    {
        column(margin: 3,
               spacing: 3)
        {
            row(indent: 50,
                spacing: 5)
            {
                column(indent: 1,
                       spacing: 2)
                {
                    static_text(characters: 6,
                                identifier: "IDC_STATIC_TYPE",
                                name: "$$$/PropInspectActivex/Label/ActivexName=ActiveX name");

                    row()
                    {
                        edit_text(characters: 9,
                                  horizontal: @align_center,
                                  identifier: "IDC_EDIT_NAME",
                                  tab_next_node: "IDC_EDIT_ID");
                    }
                }

                column(spacing: 3)
                {
                    row(spacing: 5)
                    {
                        static_text(identifier: "IDC_STATIC_ID",
                                    indent: 4,
                                    name: "$$$/PropInspectActivex/Label/Id=&ID");

                        column()
                        {
                            edit_text(characters: 8,
                                      horizontal: @align_center,
                                      identifier: "IDC_EDIT_ID",
                                      tab_next_node: "IDC_EDIT_WIDTH");
                        }
                    }
                }

                separator(minLength: 40,
                          orientation: @vertical,
                          vertical: @align_center);

                column()
                {
                    placeholder(width: 120);
                }

                separator(minLength: 40,
                          orientation: @vertical,
                          vertical: @align_center);

                column(spacing: 3)
                {
                    row(indent: 21,
                        spacing: 5)
                    {
                        static_text(identifier: "IDC_STATIC_WIDTH",
                                    name: "$$$/PropInspectActivex/Label/W=&W");

                        edit_text(characters: 4,
                                  horizontal: @align_center,
                                  identifier: "IDC_EDIT_WIDTH",
                                  tab_next_node: "IDC_EDIT_HEIGHT");
                    }

                    row(indent: 21,
                        spacing: 5)
                    {
                        static_text(identifier: "IDC_STATIC_HEIGHT",
                                    name: "$$$/PropInspectActivex/Label/H=&H");

                        edit_text(characters: 4,
                                  horizontal: @align_center,
                                  identifier: "IDC_EDIT_HEIGHT",
                                  tab_next_node: "IDC_COMBO_CLASSID");
                    }
                }

                column(indent: 2,
                       spacing: 0)
                {
                    row(spacing: 0)
                    {
                        static_text(identifier: "IDC_STATIC_CLASSID",
                                    name: "$$$/PropInspectActivex/Label/Classid=&ClassID");
                    }
                }

                column(horizontal: @align_fill,
                       spacing: 4)
                {
                    row()
                    {
                        combobox(identifier: "IDC_COMBO_CLASSID",
                                 popup_maximum_width_chars: 7,
                                 sort: true,
                                 tab_next_node: "IDC_EDIT_EMBED",
                                 vertical_scroll: true);

                        ownerdrawn_button(height: 18,
                                          identifier: "IDC_BUTTON_REMOVE",
                                          indent: 1,
                                          name: "$$$/PropInspectActivex/IconButton/RemoveItem=Remove item",
                                          tab_next_node: "IDC_EDIT_EMBED_SRC",
                                          width: 21);
                    }
                }
            }

            row(spacing: 5)
            {
                column(indent: 2,
                       spacing: 12)
                {
                    row(indent: 51)
                    {
                        column(indent: 2,
                               spacing: 12)
                        {
                            checkbox(horizontal: @align_center,
                                     identifier: "IDC_EDIT_EMBED",
                                     name: "$$$/PropInspectActivex/CheckBox/Embed=&Embed",
                                     tab_next_node: "IDC_EDIT_EMBED_SRC");
                        }
                    }
                }

                column(indent: 2,
                       spacing: 12)
                {
                    row(indent: 24,
                        spacing: 0)
                    {
                        static_text(identifier: "IDC_STATIC_EMBED_SRC",
                                    name: "$$$/PropInspectActivex/Label/Src=&Src");
                    }

                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_CODEBASE",
                                name: "$$$/PropInspectActivex/Label/Base=&Base");
                }

                column(spacing: 3)
                {
                    row(spacing: 5)
                    {
                        edit_text(characters: 15,
                                  identifier: "IDC_EDIT_EMBED_SRC",
                                  tab_next_node: "IDC_BUTTON_BROWSE_SRC");

                        ownerdrawn_button(height: 16,
                                          identifier: "IDC_BUTTON_BROWSE_SRC",
                                          indent: 1,
                                          name: "$$$/PropInspectActivex/IconButton/BrowseFor=Browse for file",
                                          tab_next_node: "IDC_BUTTON_PARAMETERS",
                                          width: 22);
                    }

                    row(spacing: 5)
                    {
                        edit_text(characters: 22,
                                  identifier: "IDC_EDIT_CODEBASE",
                                  tab_next_node: "IDC_EDIT_DATA");
                    }
                }

                column()
                {
                    row(indent: 7,
                        spacing: 5)
                    {
                        static_text(identifier: "IDC_STATIC_DATA",
                                    indent: 26,
                                    name: "$$$/PropInspectActivex/Label/Data=&Data");

                        column(spacing: 5)
                        {
                            ownerdrawn_button(height: 20,
                                              identifier: "IDC_BUTTON_PARAMETERS",
                                              name: "$$$/PropInspectActivex/IconButton/Parameters=Parameters...",
                                              tab_next_node: "IDC_EDIT_ALT",
                                              width: 97);

                            edit_text(characters: 8,
                                      identifier: "IDC_EDIT_DATA",
                                      tab_next_node: "IDC_EDIT_NAME");
                        }
                    }
                }

                column(indent: 3)
                {
                    static_text(horizontal: @align_right,
                                identifier: "IDC_STATIC_ALT",
                                name: "$$$/PropInspectActivex/Label/AltImg=Al&t img");
                }

                column(spacing: 3)
                {
                    row(spacing: 3)
                    {
                        edit_text(identifier: "IDC_EDIT_ALT",
                                  tab_next_node: "IDC_BUTTON_BROWSE_ALT");

                        ownerdrawn_button(height: 16,
                                          identifier: "IDC_BUTTON_BROWSE_ALT",
                                          indent: 1,
                                          name: "$$$/PropInspectActivex/IconButton/BrowseForImage=Browse for image",
                                          width: 22);
                    }
                }
            }
        }
    }
}
