Download 1. ButtonTools-release 1.0

Download 1. ButtonTools-release 1.0

Postby ukoenig » Fri May 08, 2009 11:03 am

Hello,

The 1. working version, to display all possible combinations.
User Defined Images and Backgrounds ( Setup ), will be added to the next Version.
First of all, I have to clear all Basic-Settings :
Download :
http://www.pflegeplus.com/fw_downloads/btntools1.zip ( 1.7 MB )
There is my extra style, to create a buttonbar right justified. It would be interesting for me to know,
how the bar is shown on different computers.

I could solve the problem of the missing Buttonborder from Resources in Class BTNBMP
adding WS_BORDER to the Button-Resource.
The problem now, because the 2 Resources-Previews using the same dialog,
Buttons with Style 2007 making problems ( Preview 4 ).
Is there maybe another solution for it ?

DIALOG1 DIALOG 41, 81, 285, 163
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "DIALOG_1"
FONT 8, "MS Sans Serif"
{
CONTROL "", 100, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 4, 90, 50
CONTROL "", 110, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 97, 4, 90, 50
CONTROL "", 120, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 190, 4, 90, 51
CONTROL "", 200, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 4, 57, 90, 50
CONTROL "", 210, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 97, 57, 90, 50
CONTROL "", 220, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 190, 57, 90, 50
CONTROL "", 300, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 190, 110, 87, 50
LTEXT "Text", 230, 64, 143, 123, 14
}

Image

The Display of transparent Buttons on Gradient- and Image-Background, I couldn't solve.
Image

I added a Background-Image to Sample : Testbtn3.prg
The reason for my question about a working Transparent-button on Images :
A empty transparent Button could be used as Hotspotarea.
With Colors, Image-Brushes and Styles ( Bricks, Tiled..) it works.
Image

Regards
Uwe :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: Download 1. ButtonTools-release 1.0

Postby toninhofwi » Sat May 09, 2009 2:21 pm

Hi Uwe,

Very nice job,

Thanks !
toninhofwi
 
Posts: 172
Joined: Tue Oct 18, 2005 10:01 am

Re: Download 1. ButtonTools-release 1.0

Postby ukoenig » Sat May 09, 2009 3:17 pm

I think a preview with all possible combinations, will help the user with his screen-design.
I hope, I can finish the SETUP-part this weekend.
With the different settings, it is possible, to create own Buttons with different Dialog-Backgrounds.
Many parts, I can use from my other tools like the Gradient-painting. That makes it easier for me.
To make it complete, I added a Background-Change of the main-Window as well.

Image

I added a Background-Selection of the Main-window.
The wrong Transparent display is solved with :GradientBrush-Function

Image

Regards
Uwe :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 61 guests