Search found 55 matches: msgcalc

Return to advanced search

Re: MsgCalc en 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"   */   LOCAL oGet1   // CALC.BMP en el archivo de recursos(resources) .RC o .RES   REDEFINE GET ...
by karinha
Wed Jun 15, 2016 2:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MsgCalc en REDEFINE GET
Replies: 7
Views: 1202

MsgCalc en REDEFINE GET

... 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
by TOTOVIOTTI
Wed Jun 15, 2016 2:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MsgCalc en REDEFINE GET
Replies: 7
Views: 1202

Re: Calculadora que devuelva resultado

Thanks Mr.Nages!
Ya había visto que existía este MsgCalc...

Para ambos, como hago para determinar el GET que tengo activo? Que función
debo utilizar?

Muchas gracias!!!!

Roberto
by TOTOVIOTTI
Mon May 30, 2016 1:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculadora que devuelva resultado
Replies: 13
Views: 3878

Re: Calculadora que devuelva resultado

MsgCalc() function is already available in FWH. This is a sample usage: #include "fivewin.ch"function Main()   local oDlg, oFont   local nVal  := 123.46   DEFINE FONT oFont ...
by nageswaragunupudi
Sun May 29, 2016 10:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculadora que devuelva resultado
Replies: 13
Views: 3878

Re: Calculadora que devuelva resultado

Roberto
Lorenzo Gadaleta, codificó MsgCalc.prg que hace lo que tu quieres.
Voy a buscar en el baúl.

Saludos.
by FranciscoA
Sat May 28, 2016 2:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculadora que devuelva resultado
Replies: 13
Views: 3878

Recompilar FiveHMX para xhb.com

... "Obj\mdirec.obj" "Obj\memoedit.obj" "Obj\memstat.obj" "Obj\mimeclip.obj" "Obj\msgcalc.obj" "Obj\msgget.obj" "Obj\msglist.obj" "Obj\msglogo.obj" "Obj\msgmeter.obj" "Obj\msgrun.obj" ...
by russimicro
Mon Dec 01, 2014 5:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Recompilar FiveHMX para xhb.com
Replies: 2
Views: 860

Re: Key code

Show your MsgCalc.prg

For I compare with my

What does not work?

Regards.
by karinha
Wed Nov 26, 2014 11:46 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Key code
Replies: 16
Views: 3164

Re: Key code

It is a function from fw 1.4
.\source\function\msgcalc.prg
by Silvio.Falconi
Tue Nov 25, 2014 7:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Key code
Replies: 16
Views: 3164

Re: Key code

karinha, the nkey are right try msgcalc please and use only the numbers you found on numpad of your keyboard NOT USE dialog buttons ( od msgcalc) and see what happen STATIC FUNCTION VerKey(nKey,oBSum, oBMin, oBMol, oBDiv, oBPer, ;  ...
by Silvio.Falconi
Tue Nov 25, 2014 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Key code
Replies: 16
Views: 3164

Re: Key code

friends I 'm trying to correct the msgcalc and use it on win 7 and win 8 the numkey are right Now I saw the SayNum(oGet,xNum) function of msgcalc this is compatible if the user press the buttons of odlg this is not compatible if the user press ...
by Silvio.Falconi
Tue Nov 25, 2014 5:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Key code
Replies: 16
Views: 3164

Re: Key code

the error is on SayNum(oGet,xNum) function of msgcalc

if we use button on numpad msgcalc write the number allway at first position
by Silvio.Falconi
Tue Nov 25, 2014 12:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Key code
Replies: 16
Views: 3164

Re: Key code

... from 1 to 9 on keyboard give me from 49 to 57 but I need the key code of the numbers of keypad any help ? Please try and paste this function with msgcalc() STATIC FUNCTION VerKey(nKey,oBSum, oBMin, oBMol, oBDiv, oBPer, oBCan, oBRes)if      nKey   == 107     ...
by Silvio.Falconi
Tue Nov 25, 2014 11:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Key code
Replies: 16
Views: 3164

Re: change a number ( negative and positive)

Armando,I wish insert "±" on msgcalc() @ n + nlinea2,ncol6 BUTTON oBtPM PROMPT "±" OF oDlg ; SIZE 30,25 ; ACTION (CalcRes( cLastOpe, @nMemo, oGet, oRes, cPict,.t.,"±" ), ; cLastOpe := "±" ) FONT oFont ...
by Silvio.Falconi
Sun Nov 09, 2014 11:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change a number ( negative and positive)
Replies: 6
Views: 988

Re: Calculator revisited

OK ... I took MsgCalc and re-did the layout a bit to be more conforming to my program ... so it's consistent with the existing fonts / brush etc. I will work OK ... One quick question. I have a bitmap within a get ... no problem. ...
by TimStone
Fri May 23, 2014 6:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculator revisited
Replies: 33
Views: 19056

Re: Calculator revisited

Hi Antonio,

Right now I'm using an inline GET calculator. I would love to see how to recover the value from the WIndows Calculator since it's traditional. I'm also going to play with MsgCalc( ) which might work out.

Thanks.
by TimStone
Fri May 23, 2014 5:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calculator revisited
Replies: 33
Views: 19056
PreviousNext

Return to advanced search