Lib Calc

HMG Samples and Enhancements

Moderator: Rathinagiri

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

Re: Lib Calc

Post by Vanguarda » Thu Feb 11, 2010 5:59 pm

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
Been thanked: 1 time
Contact:

Post by Vanguarda » Thu Feb 11, 2010 6:00 pm

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: 3028
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 169 times
Been thanked: 92 times
Contact:

Post by mol » Thu Apr 08, 2010 12:57 pm

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 413 times

User avatar
Rathinagiri
Posts: 5223
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 158 times
Been thanked: 153 times
Birthday
Contact:

Post by Rathinagiri » Thu Apr 08, 2010 1:16 pm

Super Marek!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
luisvasquezcl
Posts: 1086
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Has thanked: 13 times
Been thanked: 14 times
Contact:

Post by luisvasquezcl » Thu Apr 08, 2010 1:55 pm

Thanks Vanguarda, Marek and Mustafa.
Best regards,
Luis VAsquez

User avatar
srvet_claudio
Posts: 2025
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 34 times
Been thanked: 143 times
Contact:

Post by srvet_claudio » Thu Apr 08, 2010 4:55 pm

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: 3028
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 169 times
Been thanked: 92 times
Contact:

Post by mol » Thu Apr 08, 2010 5:48 pm

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
Been thanked: 1 time
Contact:

Post by Vanguarda » Fri Apr 09, 2010 12:12 am

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:

Post by Alex Gustow » Fri Apr 09, 2010 6:22 am

Vanguarda, Mustafa and Marek - you're doing very useful extension. I dreamed about something like this last few months. Thanks!

User avatar
mol
Posts: 3028
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 169 times
Been thanked: 92 times
Contact:

Post by mol » Fri Apr 09, 2010 8:44 am

by HMG dreams become reality :D

Post Reply