Lib Calc

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Lib Calc

Post by Vanguarda »

mustafa wrote:Hello friend Vanguarda
I too have made the correction in
this piece from the list changing "Form_1" by
"Calc" and seems to work.

//---------------------------------------------------------------------------//
// This function clean the variable used for add value into memory
//---------------------------------------------------------------------------//
Static Function CancelMemo_Click
nMemo := 0
SetProperty("Calc","btnMS","FontBold",.F.) // Error -- > Form1
Calc.ReadHide.SetFocus()
Return Nil

I have made an example to get the Calculator
simply from a menu.
Regards
*----------------------*
Hola amigo Vanguarda
Yo tambien he efectuado la correccion en
este trozo del listado cambiando "Form_1" por
"Calc" y parece que funciona.
He efectuado un ejemplo para llamar la Calculadora
sencillamente desde un menu.
Un cordial saludo

Mustafa :?: :idea:
Hi friends,

Thanks Mustafa, it is a goog idea.

My best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Lib Calc

Post by Vanguarda »

Alex Gustow wrote:Hi Vanguarda! Thanks for very good and useful thing!
Thanks my friend Alex, for your kinds words.

With best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Lib Calc

Post by mol »

I've modified a little CALC function
Now you can link CALC to eg. function key F3 - if you press this key in numeric textbox, value of this on will be pasted as initial value of CALC. When U press F3 in CALC - your result will be send to TEXTBOX value....

To do: READONLY property sensibility....
Attachments
calc_sample.ZIP
(5.96 KiB) Downloaded 656 times
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Lib Calc

Post by Rathinagiri »

Super Marek!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Lib Calc

Post by luisvasquezcl »

Thanks Vanguarda, Marek and Mustafa.
Best regards,
Luis VAsquez
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Lib Calc

Post by srvet_claudio »

Congratulations Vanguarda, Mustafa and Marek.
Very good!!!
Best regards,
Claudio Soto.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Lib Calc

Post by mol »

I think, Roberto will rebuild GRID control to process hotkeys. It will be super then!

Marek
User avatar
Vanguarda
Posts: 543
Joined: Wed Feb 11, 2009 10:56 am
Location: Americana - SP
Contact:

Re: Lib Calc

Post by Vanguarda »

Thanks Marek for this nice update.


My best regards,
--
Paulo Sérgio Durço (Vanguarda)


http://hmglights.wordpress.com/
User avatar
Alex Gustow
Posts: 290
Joined: Thu Dec 04, 2008 1:05 pm
Location: Yekaterinburg, Russia
Contact:

Re: Lib Calc

Post by Alex Gustow »

Vanguarda, Mustafa and Marek - you're doing very useful extension. I dreamed about something like this last few months. Thanks!
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Lib Calc

Post by mol »

by HMG dreams become reality :D
Post Reply