HZGN.COM
welcome to my space
X
Welcome to:hzgn.com
Search:  
NAVIGATION: Home >>
[Ver 1.1] Ext.ux.Calculator
Published by: smith 2009-01-09

  • xemacs-faq.info-1::
    3.1: The Mouse * Q3.1.1:: How can I turn off Mouse pasting? tested on Linux, Solaris, SunOS, HP/UX, FreeBSD, OpenBSD, BSD/OS aka BSDI, Tru64
    http://membled.com/lib/xemacs-21.5-b20/info/xemacs-faq.info-1
    HOME
    Version 1.1 of Ext.ux.Calculator now available @ http://extjs.com/learn/Extension:Calculator

    Only two new features:-

    1. Added 'CE' (clear last entry) button
    2. Added visual feedback when keyboard/numpad is used

    Cheers

    Toby Stuart


  • Good!

    Nice to see it's getting better and better. Could you please post any future plans with this calc?

    Cheers,


  • Nullity,

    Also found a little bug which I've fixed in 1.3.

    "Fixed bug when pressing backspace after loading initial number via setValue (eg. setting intial value via trigger field) [Toby Stuart]"

    Cheers


  • Thanks Nullity. Works fine now. I have updated the user extensions page and the calculator demo page.
    myweb.dal.ca/tindall/unix_guide.rtf::
    li1260\tx1980\tqr\tldot\tx7380 \f20 1.1.\tab The Unix Operating System\tab 1 made these notes with a Unix t ext formatter like Tex or, better still, troff.
    http://myweb.dal.ca/tindall/unix_guide.rtf
    HOME
    The new setup - Backyard Theater Forums::
    But I ended up watching the 13-hour LOTR ext. ed. marathon with the kids, too. Great stuff! Powered by SMF 1.1 | SMF © 2006, Simple Machines LLC
    http://backyardtheater.com/forums/index.php?/topic,439.0.html
    HOME

    http://extjs.com/learn/Extension:Calculator
    http://www.figtreesystems.com/ext/ext-ux/1.1/Calculator/Calculator.html

    Cheers


  • Wonderful, thank you!


  • thanks for your sharing,
    I want use it,but I use EXT2...
    I think this migrate to EXT2.0 is better.


  • Hi, calculator seem to be a nice feature that i plan to use :)

    A little calculation bug you can see in demo page :
    7
    *
    2.1
    =
    14.700000000000001


  • Toby,

    any chance you would port this calculator to Ext 2.0 NumberField plugin and that you'd add priority of operations (1+2*3=7, not 9)?
    SMM - свой софт, обзор софта, новости, обмен ссылками, форум Борис ::
    физическая~культура Электроснабжение аэропортов Hide IP Platinum v3.1 http://fedzegb.cry.biz.ua/6.html. http://fidkupv.cry.biz.ua/4.html
    http://guwsijm.cry.biz.ua/6.html
    HOME
    Postforum | Ftp Download! Cracked Software/s::
    Cadence.QRC.Extraction.(EXT).v52.linux. Cadence. Summit.Design.HDLScore.2006.Win&HP-UX&Linux64&Solaris. Summit.Design.Visual.Elite.2006.1.1.WIN&SunOS5&Linux
    http://www.postforum.com/forums/read.php?f=50&i=4055&t=4055
    HOME

    Hi Saki,

    It's not high up on my list of things to do. I wrote it for a large project that is using Ext1.x. When I move the project to Ext2 I will do the port. Can't say when that will be however.


  • I had planned on writing my own calculator, but yours is already shaping up pretty well. I hope you don't mind, I played around with it and have added several new features:



    Added Memory buttons/functions (store, add, recall, clear)
    Added Backspace button/function
    Added some Quicktips (can be enabled/disabled)
    Several CSS changes/additions


    I am also planning on adding a scientific mode and was going to wait until I finished that before I posted, but I thought some might find this one useful for now. I still plan to add a scientific mode to it as time permits.

    The source and a screenshot are attached below (sorry, I don't have a public server to host a demo).

    In case anyone was wondering, the empty space in the upper-left corner is an indicator to specify if something is stored in the memory (which has a quicktip that gives you it's value).


  • Hello friends...

    I would like to use this wonderful calculator in a Window, can I? How I do it?

    Greetings!

    ...Sorry for my English, I am Brazilian :-)


  • For anyone that's interested I've made a more Ext'ish style for the calculator.


    .ux-calc {
    background: #C7D8ED;
    }
    .ux-calc-container {
    border: 1px solid #718BB7;
    }
    .ux-calc-container .ux-calc-btn-row td {
    font-family: tahoma, arial, helvetica, sans-serif;
    font-size: 10px;
    line-height: 18px;
    border: 1px solid #8DB2E3;
    }
    .ux-calc-digit, .ux-calc-equals {
    font-weight: bold;
    }
    .ux-calc-operator, .ux-calc-equals {
    color: blue;
    }
    .ux-calc-memory {
    color: #1E3B72;
    }
    .ux-calc-memstore {
    border: 1px solid #8DB2E3 !important;
    background-color: #D1D1D1;
    }
    .ux-calc-btn-hover {
    background: #8DB2E3;
    cursor: pointer;
    }
    .ux-calc-input {
    text-align: right;
    }

    .ux-calc-misc { }
    .ux-calc-ok {
    padding-top:5px;
    padding-bottom:5px;
    border-top: 1px solid #8DB2E3;
    }


  • There is a bug in calculator which appears in opera, in line 70:


    var row = this.stTable.createChild({tag: 'tr'}).child('tr');


    You mean the "tr" element, so I don't know what is the child() for. I don't know also why does it work in FF/IE, but in Opera it doesn't. The fix for all browsers is:


    var row = this.stTable.createChild({tag: 'tr'});


    Thanks l0co. I haven't done a calculator release for some time. I'll add it too my ever growing list of things to do :)


  • Hi Toby,

    thanks for info. I won't need it for a couple of months; then we can come back to the subject. :)

    Cheers,


  • Thanks Nullity. Great work! I'll update the demo page and download etc. but before I do ... there appears to be a bug :) To replicate:-

    1. Enter '100'
    2. Press 'MS'
    3. Press 'C'
    4. Enter '500'
    5. Press '+'
    6. Press 'MR'
    7. Press '='

    You get 1000 where you should get 600. Other than that it looks great well done :)

    Cheers


  • Ok, thanks for info. It's not very high also on my priority list to have the calc so no problem.

    Cheers,


  • Saki,

    As I'm busy with a large project at the moment I will not be adding to this component for at least a couple of months. The calculator as it is supports our requirement perfectly.

    I imagine version 2.0 of the calculator will support a 'scientific' mode and memory add/recall etc.

    In the meantime, I'm happy for others to contribute to its development and will act quickly on any completed working submissions.

    Regards

    Toby Stuart


  • Toby,

    any chance you would port this calculator to Ext 2.0 NumberField plugin and that you'd add priority of operations (1+2*3=7, not 9)?


  • oops, sorry about that. I attached a fixed version.

    (also includes a couple other small fixes)


  • @j_butterfly - no support for Ext2. Wouldn't be difficult to port though I havent the time at the moment.

    @andreydjason - do you mean an Ext2 window? If so, see message above. No support for Ext2 at the moment.


  • There is a bug in calculator which appears in opera, in line 70:


    var row = this.stTable.createChild({tag: 'tr'}).child('tr');


    You mean the "tr" element, so I don't know what is the child() for. I don't know also why does it work in FF/IE, but in Opera it doesn't. The fix for all browsers is:


    var row = this.stTable.createChild({tag: 'tr'});





  • Red Hat's Rough Recovery From CFO Exit
    Windows Live Finds a New, Pre-installed Home

    PRINT Add to favorites
    #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about [Ver 1.1] Ext.ux.Calculator , Please add it free.
  • drm for flash video
  • dvd copying problem corrupted file plays won 39 t copy
  • windows xp system restore does not even see my c drive
  • problem resetting my home page
  • migrating from old to new computer seamlessly
  • speed up my xp
  • webscraping and webmacros software
  • spyware
  • software for mass video editing
  • stop errors in windows server 2003
  • email monitoring emails
  • transitioning to new eenterprise software answerguru ga
  • java method that will split up a string into pieces of equal size
  • usb flash drive secure backup
  • windows installer service for keystroke
  • computer virus question
  • mac address filtering in osx
  • enterprise software
  • java triangle program
  • replace url 39 s with mail merge in word
  • online back up solution open source
  • disabling outgoing email scans in norton internet security 2005
  • photo print wizard files
  • https is url string itself secure
  • enterprise software answerguru ga
  • port forwarding with wireless router attached to dsl modem
  • collapsing windows subfolders

  • About us -Site map -Advertisement -Jion us -Contact usExchange linksSponsor us
    Copyright© 2008 hzgn.com All Rights Reserved
    Site made&Support support@hzgn.com    E-mail: web@hzgn.com