New FWH 9.07
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 76 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 76 times
- Contact:
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 76 times
- Contact:
Re: New FWH 9.07
Good Mr Antonio !!!
When I return back from Holiday I want be the first to purchase the new lib
When I return back from Holiday I want be the first to purchase the new lib
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
Re: New FWH 9.07
Dear Antonio,
The screenshot seems to be a brush-background.
Transparency works with Images as well ?
I have to define some hotspot-areas on a Image-background.
It would be a nice solution for my problem.
BtnBmp I couldn't use, because there was a transparent-problem with image-backgrounds.

Best Regards
Uwe
The screenshot seems to be a brush-background.
Transparency works with Images as well ?
I have to define some hotspot-areas on a Image-background.
It would be a nice solution for my problem.
BtnBmp I couldn't use, because there was a transparent-problem with image-backgrounds.

Best Regards
Uwe

Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Antonio Linares
- Site Admin
- Posts: 42521
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 76 times
- Contact:
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: New FWH 9.07
Mr Antionio
I started learning the wonderful Ribbon Bar.
Hope you don't mind even some very minor suggestions.
I feel it is better to change the spelling of GRADIANT to GRADIENT. ( There is no word as gradiant in english dictionary)
I started learning the wonderful Ribbon Bar.
Hope you don't mind even some very minor suggestions.
I feel it is better to change the spelling of GRADIANT to GRADIENT. ( There is no word as gradiant in english dictionary)
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: New FWH 9.07
I clicked on Paste button, which invokes the Paste function, which is supposed to produce the dialog in your second screen shot. But I get a different appearance. ( I am using XP )
Initially the dialog looks like this.

After pressing Alter or hovering mouse over the top part of the dialog, the dialog looks like this

But I am not able to get the look as in the second image posted by you
Initially the dialog looks like this.

After pressing Alter or hovering mouse over the top part of the dialog, the dialog looks like this

But I am not able to get the look as in the second image posted by you
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
Re: New FWH 9.07
Antonio,
To have a bit lighter Area for the Hotspot ( like Your Screenshot shows ) will be OK,
because the user can see, there is something to click on.
Because Your Screenshot uses a Background-Brush, it was just a question for the Image-Background.
The Upgrade-order is on the way and I think next week I can start to include the new
functions in the different Tools.
Also the xBrowse-Tools will have some new functions like the new Background-Gradient and Multiheaders.
------------------------
Dear Rao,
I used a Screencapture-Application, to be sure to get a 1:1 Result of the needed Image-part.
Using Windows Copy and Past, doesn't allways work 100%.
Just a right Mouseclick on the Image and selecting => copy to destination downloads the complete image.
Best Regards
Uwe
To have a bit lighter Area for the Hotspot ( like Your Screenshot shows ) will be OK,
because the user can see, there is something to click on.
Because Your Screenshot uses a Background-Brush, it was just a question for the Image-Background.
The Upgrade-order is on the way and I think next week I can start to include the new
functions in the different Tools.
Also the xBrowse-Tools will have some new functions like the new Background-Gradient and Multiheaders.
------------------------
Dear Rao,
I used a Screencapture-Application, to be sure to get a 1:1 Result of the needed Image-part.
Using Windows Copy and Past, doesn't allways work 100%.
Just a right Mouseclick on the Image and selecting => copy to destination downloads the complete image.
Best Regards
Uwe

Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: New FWH 9.07
Mr Uwe
I am studying the Ribbonbar code and trying some examples. Answer to your first question is that Transparent Groups and Buttons work on Image backgrounds also. But there seems to be a small issue, which I am sure FWH team will fix in no time. I am reading and understanding their code and find that they adopted a new logic for transparency and I admire that. I am posting a screenshot to show that transparency works on Image also and at the same time to point out the minor problem about the area that is being captured for transparency, so that FWH will rectify it soon and give us a revised build
Here is my testcode:

Once this minor issue is resolved, I think we can create hot-spots on images.
Can you please let me know the screen capture utility you are using ?
I am studying the Ribbonbar code and trying some examples. Answer to your first question is that Transparent Groups and Buttons work on Image backgrounds also. But there seems to be a small issue, which I am sure FWH team will fix in no time. I am reading and understanding their code and find that they adopted a new logic for transparency and I admire that. I am posting a screenshot to show that transparency works on Image also and at the same time to point out the minor problem about the area that is being captured for transparency, so that FWH will rectify it soon and give us a revised build
Here is my testcode:
Code: Select all | Expand
#include 'fivewin.ch'
#include 'ribbon.ch'
function Main()
local oDlg, oGrp, oBtn
DEFINE DIALOG oDlg SIZE 390,440
@ 10,10 IMAGE FILE '\fwh\bitmaps\olga1.jpg' SIZE 175,200 PIXEL
@ 20,20 RBGROUP oGrp PROMPT 'Transparent' SIZE 100,60 TRANSPARENT
@ 100,40 RBBTN oBtn PROMPT 'Button' SIZE 40,40 ;
BITMAP '\fwh\bitmaps\copy16.bmp' TRANSPARENT
ACTIVATE DIALOG oDlg CENTERED
return nil

Once this minor issue is resolved, I think we can create hot-spots on images.
Can you please let me know the screen capture utility you are using ?
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Daniel Garcia-Gil
- Posts: 2365
- Joined: Wed Nov 02, 2005 11:46 pm
- Location: Isla de Margarita
- Contact:
Re: New FWH 9.07
Hello...
Mr. Rao the same samples work to me...
i'm using window 7
in your samples you have the Ribbon controls over image control and the ribbon control don't recive event...


but we can use this way and recive event to ribbon controls

http://www.sitasoft.com/fivewin/test/testrb.zip
Mr. Rao the same samples work to me...
i'm using window 7
in your samples you have the Ribbon controls over image control and the ribbon control don't recive event...


but we can use this way and recive event to ribbon controls
Code: Select all | Expand
#include 'fivewin.ch'
#include 'ribbon.ch'
function Main()
local oDlg, oGrp, oBtn, oImg
DEFINE DIALOG oDlg SIZE 440,440
DEFINE BITMAP oImg FILE 'c:\fwh\bitmaps\rainbow.bmp'
@ 20,20 RBGROUP oGrp PROMPT 'Transparent' SIZE 100,50 TRANSPARENT
@ 40,80 RBBTN oBtn PROMPT 'Button' SIZE 20,20 NORMAL;
BITMAP 'c:\fwh\bitmaps\copy16.bmp' TRANSPARENT ROUND
ACTIVATE DIALOG oDlg CENTERED ;
ON PAINT( PalBmpDraw( hDC, 0, 0, oImg:hBitmap ) )
return nil

http://www.sitasoft.com/fivewin/test/testrb.zip
our best documentation is the source code
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
Isla de Margarita Venezuela.
danielgarciagil@gmail.com
http://tdolphin.blogspot.com/
https://www.dropbox.com/referrals/NTI5N ... rc=global9
- nageswaragunupudi
- Posts: 10721
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 8 times
- Contact:
Re: New FWH 9.07
Mr Daniel
Thanks for your prompt reply. Also thanks for your tip about the controls receiving the events.
I keep this in mind.
The transparency seems to be working well on Windows 7. I do not know about Vista. But it is not working on XP. Here is a screenshot on XP. Still most users use XP. You may have to make it compatible with XP also.

Not only XP, better you or some colleagues test on Servers 2000, 2003 and 2008 and give feedback. You may need to make it work on all these OS also.
By the way, I need to say that this is a problem, even if we use the image as a brush also.
Thanks for your prompt reply. Also thanks for your tip about the controls receiving the events.
in your samples you have the Ribbon controls over image control and the ribbon control don't recive event...
I keep this in mind.
The transparency seems to be working well on Windows 7. I do not know about Vista. But it is not working on XP. Here is a screenshot on XP. Still most users use XP. You may have to make it compatible with XP also.

Not only XP, better you or some colleagues test on Servers 2000, 2003 and 2008 and give feedback. You may need to make it work on all these OS also.
By the way, I need to say that this is a problem, even if we use the image as a brush also.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 24 times
- Been thanked: 2 times
- Contact:
Re: New FWH 9.07
Hello Antonio,
thank you for the RibbonBar control. It looks great.
May I ask if the ALT-key is already working and how to code the tooltip?
This works:
But on BUTTON the tooltip is not displayed.
Thanks in advance and best regards,
Otto
thank you for the RibbonBar control. It looks great.
May I ask if the ALT-key is already working and how to code the tooltip?
This works:
Code: Select all | Expand
DEFINE RIBBONBAR oRBar WINDOW oWnd PROMPT "&Configuración", "Ficheros", "Informes", "Ayudas" HEIGHT 160 TOPMARGIN 55
oRBar:nSeparation := 80
oRBar:cTooltip := { || "___________________" + CRLF + "? RIBBONBAR D r ü c k e n Sie F1, um die Hilfe anzuzeigen" }
But on BUTTON the tooltip is not displayed.
Code: Select all | Expand
@ 2,5 ADD BUTTON oBtn1 PROMPT "9 Paste" BITMAP "..\bitmaps\PASTE32.BMP" GROUP oGr ACTION ( RIBBON() ) ;
SPLITPOPUP ROUND SIZE 50,65
oBtn1:cTooltip := { || "___________________" + CRLF + "? Drücken Sie F1, um die Hilfe anzuzeigen" }
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************