Jump to content

Sencha Unigui Iphone Style Button - ToggleButtons ToggleFormFields ToggleToolBar


Recommended Posts

Hi, 

 

 

 

 New Components  IPhone Style Buttons   -   FormFields, Toolbar, Button Toggles. 

 


 

 

post-1298-0-66256700-1415370016_thumb.png

 


 

 

For documentation of the properties of the components see Doc.txt (sencha documentation in zip File) .

 

Only tested with Delphi XE3,XE4 and Unigui 0.96,0.97,0.98,0.90 (03/09/2015)  I think it also works with version 0.95. 

 

I do not think there are big problems with the other version of Delphi. 

  . 

 

The folder Files (in zip)  contains the files js + css. 

 

 

 

 

1) Build and install UnixToggleButton.dpk,UnixToolBarToggleButton.dpk,UnixFormToggleButton.dpk 

 

 

2) compile and run senchaToggle.dpr 

 

 

Have fun. 

 

Let me know! 

 

Tested with Unigui  0.99.50 (03/09/2015) 

 

 

Salvatore Marullo

  • Upvote 2
Link to comment
Share on other sites

  • 4 years later...
  • 3 weeks later...
  • 6 months later...
    initComponent: function()
    {
        var me = this;
        me.callParent(arguments);
        me.addEvents(
                /**
                 * @event beforechange Fires before this toggle is changed.
                 * @param {Ext.form.Checkbox} this This toggle
                 * @param {Boolean|String} state The next toggle state value if boolean
                 *            mode else the label for the next state
                 */
                 'beforechange',
                 'userevent',
                /**
                 * @event change Fires when the toggle is on or off.
                 * @param {Ext.form.Checkbox} this This toggle
                 * @param {Boolean|String} state the new toggle state value, boolean if
                 *            in boolean mode else the label
                 */
                'change');
    },

Problem for sencha >4 is "addEvents" method is removed in sencha. What is alternative it ?

Can any one help  for this?

regards.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...