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-1HOME | 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.rtfHOME | 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.htmlHOME |
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.htmlHOME | 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=4055HOME |
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
|