Hello,
Is it possible use TTaskPanel without a TExplorerBar or make the TExplorerBar totally transparent?
Thanks,
Antonino Perricone
TTaskPanel
Re: TTaskPanel
Hello,
I modified the texplbar.prg code at line 186:
old one was:
new one is:
I am not sure about Paint, PaintBack, BeginPaint, EndPaint, etc where is the correct point manage the transparency.
If anyone is interested, I create this batch to update a single prg inside FiveH32.lib
It works with harbour and visual studio, it takes 2 parameters, the first one is the directory where is placed the prg and the second one is the filename without extension of prg.
I hope this fix will be included in fiveWin
Regards,
Antonino Perricone
I modified the texplbar.prg code at line 186:
old one was:
Code: Select all | Expand
Gradient( ::hDC, { 0, 0, ::nHeight(), ::nWidth() }, ::nTopColor, ::nBottomColor, .T. )
new one is:
Code: Select all | Expand
if ::lTransparent
::PaintBack(::hDC)
else
Gradient( ::hDC, { 0, 0, ::nHeight(), ::nWidth() }, ::nTopColor, ::nBottomColor, .T. )
endif
I am not sure about Paint, PaintBack, BeginPaint, EndPaint, etc where is the correct point manage the transparency.
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
If anyone is interested, I create this batch to update a single prg inside FiveH32.lib
Code: Select all | Expand
It works with harbour and visual studio, it takes 2 parameters, the first one is the directory where is placed the prg and the second one is the filename without extension of prg.
I hope this fix will be included in fiveWin
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Regards,
Antonino Perricone
Re: TTaskPanel
Hello,
I see that this modification is not present in FWH 15.03, why?
Is it so wrong to want a transparent TExplorerBar? We use TExplorerBar with TTaskPanel in a windows with image background...
It is not possible use TTaskPanel without TExplorerBar.
Regards,
Perry
I see that this modification is not present in FWH 15.03, why?
Is it so wrong to want a transparent TExplorerBar? We use TExplorerBar with TTaskPanel in a windows with image background...
It is not possible use TTaskPanel without TExplorerBar.
Regards,
Perry
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: TTaskPanel
Is it so wrong to want a transparent TExplorerBar?
Not at all.
I see that this modification is not present in FWH 15.03, why?
Due to constraints of time, we may not be able to accommodate every proposal "immediately". Urgent changes and fixes get priority.
Meanwhile, would you be pleased to provide a screen-shot for the benefit of all users?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: TTaskPanel
Sorry, I thought you ignored my post.
For these screenshot I mixed the samples explbar3.prg and btntrans.prg, plus some modification to avoid the explorerBar occupies all window.
This image is without my modification, I setted oExBar:lTransparent := .T.:
![Image](http://i.imgur.com/GACHE2b.jpg)
This one, instead, is with my modification:
![Image](http://i.imgur.com/CYjC7SQ.jpg)
If one want the first look just set the transparent to false.
I saw on texplbar.prg line 74
I think should be
Regards,
Antonino Perricone
For these screenshot I mixed the samples explbar3.prg and btntrans.prg, plus some modification to avoid the explorerBar occupies all window.
This image is without my modification, I setted oExBar:lTransparent := .T.:
![Image](http://i.imgur.com/GACHE2b.jpg)
This one, instead, is with my modification:
![Image](http://i.imgur.com/CYjC7SQ.jpg)
If one want the first look just set the transparent to false.
I saw on texplbar.prg line 74
Code: Select all | Expand
::nBottom = nHeight - nTop
::nRight = nWidth - nLeft
I think should be
Code: Select all | Expand
::nBottom = nHeight + nTop
::nRight = nWidth + nLeft
Regards,
Antonino Perricone
- Antonio Linares
- Site Admin
- Posts: 42513
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: TTaskPanel
Antonino,
It looks nice, but as possibilities are endless, the question is:
will FWH users want this change ?
Lets see what the FWH users say![Smile :-)](./images/smilies/icon_smile.gif)
It looks nice, but as possibilities are endless, the question is:
will FWH users want this change ?
Lets see what the FWH users say
![Smile :-)](./images/smilies/icon_smile.gif)
Re: TTaskPanel
As user, I should prefer to use TTaskPanel alone, as replacement of VBar.
But this solution is simpler.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
But this solution is simpler.