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: prasanna kunder
  Where is prasanna kunder?
 mumbai
 India
 prasanna kunder
 Tags
Subject: RE: ssDropCalc release 2
Thread ID: 309947 Message ID: 310999 # Views: 29 # Ratings: 0
Version: Visual FoxPro 9 Category: Classes and Objects
Date: Tuesday, June 28, 2011 1:41:29 AM         
   


> >
> >
> > It isn't necessary but that is a cool added effect. I added the codes now and on the subclassed button with these effects when clicked:
> >
> >
> > this.FontBold = .T.
> > this.ForeColor = RGB(0,0,255)
> > this.FontSize = 14
> > WAIT ''timeout .1 
> > this.FontBold = .F.
> > this.ForeColor = RGB(0,0,0)
> > this.FontSize = 10 
> > 

> >
> > I love it. I may try later sleep() winapi to avoid the cursor pointer appearing. I will include that on the next release should any more enhancements can be made on this class. Thanks Glen! :-)
> >
> > -- added --
> >
> > I tried Sleep() but it seems to be less elegant in this case. Also, there is one major bug I just recently discovered, i.e., I forgot to return the value of calcbox. :-U
> >
> > So in the meantime, you can get the value like this:
> >
> >
Messagebox(thisform.ssdropcalc1.calcbox.value)
> > 

> >
> > In the next release, it would be just like an ordinary textbox:
> >
> >
Messagebox(thisform.ssdropcalc1.value)
> > 

> >
> >
> >
> > http://sandstorm36.blogspot.com/
> > http://weblogs.foxite.com/sandstorm36/default.aspx
> > http://www.coderisland.com/forum/viewforum.php?f=10
>
>
>
> hi jun
> i try you class, it's very nice
> i have question
> how to put value in controlsource
>
> this._decimal = 3
> this._color = RGB(255,255,255)
> this._displayvalue = .T.
> tp=530.25
> this.calcbox.ControlSource=tp
> DODEFAULT()
>
> it's not working
> prasanna


Noted! Found out I failed to also allow user to set its initial value. :-)

Will work on it and post here later a new release together with the eye candy Glen has mentioned. Just give me time. ;-)


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