http://www.delphiarea.com/products/simplegraph/
Cheers
HPW wrote:Made some test with background-transparency.
Can use it like in sgdemo and make the underlying label visible.
The question of the plugin-user goes beyond, because he want transparency through the form. Since form transparency is supported
by delphi7, I made the sgdemo work there with setting the form to transparent (not TSimpleGraph). But seems to work only when that window is the top-level window (and higher windows-versions). But a plugin window is a child of the host-app and does not work that way. Also when I use delphi7 I still have problems with the hint-shadows, which does not get reset.
So I could provide somewhat like an background-layer with a seperate object behind TSimpleGraph using its transparent-property. I will stay on delphi5 (hints) for now and will check which use can make sense.
HPW wrote:Is it intentional behaviour or a bug that LoadFromFile/LoadFromStream does set the commandmode to cmEdit?
It should be possible to use them in 'cmViewOnly' I think.
(MergeFromFile/MergFromStream does not set anything.)
HPW wrote:Is it intentional behaviour or a bug that LoadFromFile/LoadFromStream does set the commandmode to cmEdit?
It should be possible to use them in 'cmViewOnly' I think.
(MergeFromFile/MergFromStream does not set anything.)
I thought more about your question. What do you think about the following rules?
Clear sets CommandMode to cmEdit
LoadFromStream sets CommandMode to cmViewOnly
MergeFromStream sets CommandMode to cmEdit
HPW wrote:By default I would none of the commands change something on CommandMode.
Then it would be the responsibility of the developer how it is used.
Kambiz wrote:kokkoras wrote:Kambiz wrote:Transparency in SimpleGrpah is achieved by drawing parent's canvas on the SimpleGraph's canvas.
This is dirty!!
Any better solution?
Return to DELPHI AREA Projects
Users browsing this forum: No registered users and 5 guests