HMG Graph based on Bos Taurus
Moderator: Rathinagiri
Re: HMG Graph based on Bos Taurus
I have a question (that was on the forum, but I can't find it )
Is it possible to display generated graph without saving it to a file?
I need to generate temporary image and hold it only in memory
Is it possible to display generated graph without saving it to a file?
I need to generate temporary image and hold it only in memory
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Graph based on Bas Taurus
I understand your concern. What we have is a Bitmap Handle in BosTaurus library. That we destroy after saving it to a file. For having that to be retained in the memory I don't know what impacts it will make in memory consumption.
Better Claudio answer this.
Better Claudio answer this.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG Graph based on Bas Taurus
Tal vez aqui...
------------------------------
Maybe here...
viewtopic.php?f=39&t=4628&p=44090&hilit ... rus#p44090
o
viewtopic.php?f=9&t=4590&p=43829&hilit=bostaurus#p43829
o
viewtopic.php?f=9&t=4470
------------------------------
Maybe here...
viewtopic.php?f=39&t=4628&p=44090&hilit ... rus#p44090
o
viewtopic.php?f=9&t=4590&p=43829&hilit=bostaurus#p43829
o
viewtopic.php?f=9&t=4470
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG Graph based on Bas Taurus
The memory consumption is approximately the size of the image saved in BMP format. In practice it does not affect system performance.Rathinagiri wrote:I understand your concern. What we have is a Bitmap Handle in BosTaurus library. That we destroy after saving it to a file. For having that to be retained in the memory I don't know what impacts it will make in memory consumption.
Better Claudio answer this.
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG Graph based on Bas Taurus
Yes. When you do not need more the image must be destroy the bitmap.mol wrote:I can destroy it later...
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Graph based on Bas Taurus
In that case, how can we assign the bitmap handle to an Image control of a form?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: HMG Graph based on Bas Taurus
With:Rathinagiri wrote:In that case, how can we assign the bitmap handle to an Image control of a form?
BT_HMGSetImage (cFormName, cControlName, hBitmap, lReleasePrevious)
Sets a specified bitmap into an Image Control of HMG (@...IMAGE) and automatically releases the handle of the bitmap previously associated to the Image Control.
cFormName: is the name (e.g. "Win1") of the parent window.
cControlName: is the name (e.g. "Image1") of the image control.
hBitmap: is a handle to the bitmap to set.
lReleasePrevious: releases of the hBitmap previous associate to Image Control. For default is .T.
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG Graph based on Bas Taurus
Wonderful Claudio. I was not searching for the solution in BT. Thanks
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.