MsgCalc en REDEFINE GET

MsgCalc en REDEFINE GET

Postby TOTOVIOTTI » Wed Jun 15, 2016 2:09 pm

Amigos, por ahí les pregunto algo muy simple pero que no lo
puedo resolver...
Como harían esto con un REDEFINE GET...

@ 10,10 GET nVal PICTURE "999,999,999.99" SIZE 80,12 PIXEL OF oDlg ;
RIGHT ACTION ( ::cText := MsgCalc( nVal ) ) ;
BITMAP "d:\fwh\bitmaps\16x16\calc.bmp"

Gracias!
Roberto
Univ@c I.S.I.
Desarrolladores de Software
http://www.elcolegioencasa.edu.ar
User avatar
TOTOVIOTTI
 
Posts: 419
Joined: Fri Feb 05, 2010 11:30 am
Location: San Francisco - Córdoba - Argentina

Re: MsgCalc en REDEFINE GET

Postby karinha » Wed Jun 15, 2016 2:21 pm

Code: Select all  Expand view

   /*
   @ 10,10 GET nVal PICTURE "999,999,999.99" SIZE 80,12 PIXEL OF oDlg ;
   RIGHT ACTION ( ::cText := MsgCalc( nVal ) ) ;
   BITMAP "d:\fwh\bitmaps\16x16\calc.bmp"
   */


   LOCAL oGet1


   // CALC.BMP en el archivo de recursos(resources) .RC o .RES
   REDEFINE GET oGet1 VAR nVal  ID 101 BITMAP "CALC" UPDATE OF oDlg ;
            COLORS CLR_BLACK. CLR_WHITE FONT oFont TRANSPARENT       ;
            ACTION( msginfo( "YOUR ACTION....." ) )
 


João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7800
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: MsgCalc en REDEFINE GET

Postby Silvio.Falconi » Wed Jun 15, 2016 4:01 pm

On www.eoeo.it you can download my calc with ribbon simulation
Image

with Options language values and skin
Image

with Amort calc
Image
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7042
Joined: Thu Oct 18, 2012 7:17 pm

Re: MsgCalc en REDEFINE GET

Postby karinha » Wed Jun 15, 2016 5:45 pm

Very nice Silvio.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7800
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: MsgCalc en REDEFINE GET

Postby FranciscoA » Wed Jun 15, 2016 6:13 pm

Hola, intentalo asi:
REDEFINE GET oGet VAR nVal PICTURE "999,999,999.99" ID 4000 OF oDlg ;
ACTION ( oGet:VarPut( MsgCalc( nVal )) , oGet:Refresh() ) ;
BITMAP "d:\fwh\bitmaps\16x16\calc.bmp"
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: MsgCalc en REDEFINE GET

Postby Silvio.Falconi » Thu Jun 16, 2016 3:42 pm

karinha wrote:Very nice Silvio.

I sent msgcalc.prg corrected to Antonio last 4 years ago because Msgcalc have problem on new windows system ( from vista)
then I saw on the last fwh Packages Antonio not change msgcalc.prg
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7042
Joined: Thu Oct 18, 2012 7:17 pm

Re: MsgCalc en REDEFINE GET

Postby Silvio.Falconi » Thu Jun 16, 2016 3:43 pm

one my old release is on tsbutton class samples for fwppc
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7042
Joined: Thu Oct 18, 2012 7:17 pm

Re: MsgCalc en REDEFINE GET

Postby karinha » Thu Jun 16, 2016 4:06 pm

Maestro Antonio, donde está la version de MsgCalc.prg cambiado por Silvio Falconi?

Gracias, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7800
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 47 guests