Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jun Tangunan
  Where is Jun Tangunan?
 Cabanatuan
 Philippines
 Jun Tangunan
 To: Glenn Gevero
  Where is Glenn Gevero?
 Dumaguete
 Philippines
 Glenn Gevero
 Tags
Subject: RE: ssDropCalc release 2
Thread ID: 309947 Message ID: 311000 # Views: 31 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, June 28, 2011 1:42:35 AM         
   


> > Here again is ssDropCalc with these fixes and new features:
> >
> >
> >
> > a. Added switching capability between showing formula (Ony Too's suggestion) or values on the dropdown calculator class. Formulas will be enclosed with the necessary parenthesis. Default is to show formula instead of values. It can be toggled by clicking on the labels F (Formula) or V (Values) on the face of ssdropcalc.
> >
> > b. Fixed problem on positioning (done applying Ony Too's approach on his popup calendar using WinAPI, many thanks!). This also fixed problem when parent form is top level.
> >
> > c. Added formula error detection (as mentioned by Tushar). When an error is detected, a message "Formula Error" will appear on the upper right corner of the formula/value box and the class will attempt to fix it for you by either removing the faulty entry or infusing the proper operator before your value.
> >
> >
> > d. Backspace will smartly detect and remove extra open and close parenthesis. So you can change your formula anytime except when the dropdown is deactivated (area outside the dropdown calculator is clicked or you have pressed spacebar) where the result will be transferred to the textbox class. From the value there, you can start a new formula or computation.
> >
> > e. Clicking on an operator will smartly detect previous operators and replace those if necessary
> >
> > f. Added Copy to Clipboard button. This is not that much necessary but if you want to transfer your formula to excel for quick evaluation of the result, you can use this. This will work even if dropdown is set to show values.
> >
> > g. Removed SET CLASSLIB hardcoding inside the class (as mentioned by Yousfi). This actually should not be there in the final distribution
> >
> > Please inform me if there are more bugs to be fixed. When there are no more, I will submit this to Erick to be placed on the download section. In the meantime, since the file is too big to be attached here, please get release2 from here: http://www.coderisland.com/forum/viewtopic.php?f=46&t=1213
> >
> >
> > For original features and usage instruction of release 1, please check this: http://sandstorm36.blogspot.com/2011/06/ssdropcalc-dropdown-calculator-class.html
> >
> > Enjoy!
> >
> >
> > http://sandstorm36.blogspot.com/
> > http://weblogs.foxite.com/sandstorm36/default.aspx
> > http://www.coderisland.com/forum/viewforum.php?f=10
>
> I love this, I finally saw what I'm missing, I forgot to include the support file, hehehe...
> Jun any plan of releasing sspage for free download? :-U
>
> Everything is possible if you know how to code it... Therefore keep on learning.
>
> http://sourceforge.net/projects/sanggre/


Let me think about it. :-U


http://sandstorm36.blogspot.com/
http://weblogs.foxite.com/sandstorm36/default.aspx
http://www.coderisland.com/forum/viewforum.php?f=10

ENTIRE THREAD

ssDropCalc release 2 Posted by Jun Tangunan @ 6/16/2011 5:00:05 AM
RE: ssDropCalc release 2 Posted by Tom Saddul @ 6/16/2011 5:05:21 AM
RE: ssDropCalc release 2 Posted by Jun Tangunan @ 6/16/2011 5:12:24 AM
RE: ssDropCalc release 2 Posted by andrew kabz @ 6/16/2011 11:57:37 AM
RE: ssDropCalc release 2 Posted by Jun Tangunan @ 6/17/2011 12:19:04 AM
RE: ssDropCalc release 2 Posted by andrew kabz @ 6/17/2011 7:22:25 AM
RE: ssDropCalc release 2 Posted by onytoo @ 6/16/2011 12:18:12 PM
RE: ssDropCalc release 2 Posted by Glen Villar @ 6/17/2011 1:59:21 AM
RE: ssDropCalc release 2 Posted by Jun Tangunan @ 6/17/2011 2:23:31 AM
RE: ssDropCalc release 2 Posted by prasanna kunder @ 6/27/2011 8:00:12 AM
RE: ssDropCalc release 2 Posted by Jun Tangunan @ 6/28/2011 1:41:29 AM
RE: ssDropCalc release 2 Posted by Glenn Gevero @ 6/18/2011 8:38:16 AM
RE: ssDropCalc release 2 Posted by Jun Tangunan @ 6/28/2011 1:42:35 AM
RE: ssDropCalc release 2 Posted by Ugur YILMAZ @ 6/24/2011 10:15:42 AM
RE: ssDropCalc release 2 Posted by Jun Tangunan @ 6/27/2011 3:39:39 AM