X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/docs/source/overflow.html diff --git a/docs/source/overflow.html b/docs/source/overflow.html new file mode 100644 index 00000000..1bde99f6 --- /dev/null +++ b/docs/source/overflow.html @@ -0,0 +1,56 @@ + + + The source code + + + + +
Ext.onReady(function(){
+
+    var handleAction = function(action){
+        Ext.example.msg('Action', 'You clicked "'+action+'"');
+    };
+    
+    var p = new Ext.Window({
+        title: 'Standard',
+        closable: false,
+        height:250,
+        width: 500,
+        bodyStyle: 'padding:10px',
+        contentEl: 'content',
+        autoScroll: true,
+        tbar: [{
+            xtype:'splitbutton',
+            text: 'Menu Button',
+            iconCls: 'add16',
+            handler: handleAction.createCallback('Menu Button'),
+            menu: [{text: 'Menu Item 1', handler: handleAction.createCallback('Menu Item 1')}]
+        },'-',{
+            xtype:'splitbutton',
+            text: 'Cut',
+            iconCls: 'add16',
+            handler: handleAction.createCallback('Cut'),
+            menu: [{text: 'Cut menu', handler: handleAction.createCallback('Cut menu')}]
+        },{
+            text: 'Copy',
+            iconCls: 'add16',
+            handler: handleAction.createCallback('Copy')
+        },{
+            text: 'Paste',
+            iconCls: 'add16',
+            menu: [{text: 'Paste menu', handler: handleAction.createCallback('Paste menu')}]
+        },'-',{
+            text: 'Format',
+            iconCls: 'add16',
+            handler: handleAction.createCallback('Format')
+        },'->',{
+            text: 'Right',
+            iconCls: 'add16',
+            handler: handleAction.createCallback('Right')
+        }]
+    });
+    p.show();
+
+});
+ + \ No newline at end of file