Testing CODE+RESOURCE-Brushes ( DOWNLOAD )

Testing CODE+RESOURCE-Brushes ( DOWNLOAD )

Postby ukoenig » Wed Nov 23, 2011 9:58 pm

Hello,

I finished my new Resource-tester.
Now it is possible to test all Brushes used together with Resources.

Another Test will follow : the same from Code, to show the difference of Brush-painting !!!

You can select any Brush and save all Settings to a INI-file.
The first 5 Lines from the xBrowse are used, to open a Dialog for Selection.
With the < TSelect >, You can change the Dialog-Brush.
The 4 Folders are showing the used Brushes : Color, Gradient, Brush and Image.
The Textcolor can be changed.
Most Controls are included to test TRANSPARENT : TFoldex, Say, Group, Checkbox, Radios, Combobox
From inside the Folders, transparent-painting is tested for : Say, Radios ( Page 2 ), Checkbox and Combobox

Because of different Brushpainting using Resources ( Transparent ),
You have to RESTART the Tool, to show the new Settings.
A Restart will happen, changing the Brush from TSelex or using Button < Save >.
I used Daniels's Relaunch-function, to do that.
Because Brushes are NOT painted on INIT,
You need the Dialog-Width and Height for Gradient and Image.
To get the needed Values, You can include the defined Alerts to the INIT.
After getting the Info, You can delete them again.

Sample changing the Image-brush :

1. Select the 4. Record from xBrowse ( Image-Background )
2. change inside the Dialog the Image
3. close the Dialog and select Button < Save >
The Image is saved to the INI, the Tool closes and will reopen, showing the new Image-background
The < Exit > Button doesn't save anything to the INI-file.

Download ( 3.2 MB ) :
FULL SOURCE !!!

http://www.pflegeplus.com/fw_download/Restool1.zip

Image

Define the Gradient :

Image

Define a Background-Image :

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Thu Nov 24, 2011 11:27 pm, edited 1 time in total.
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: Testing CODE+RESOURCE-Brushes ( DOWNLOAD )

Postby ukoenig » Thu Nov 24, 2011 11:07 pm

I finished the new Update.
Now it is possible to test Brushes from CODE and RESOURCES from one Directory.
You can use both Tools the same Time.

From Resource :

Go1.bat
Make1.rmk
Restest.prg
Restest.rc
Settings1.ini


From Code :

Go2.bat
Make2.rmk
Codetest.prg
Codetest.rc
Settings2.ini


Download Release 1.2 ( 5.3 MB ) :
http://www.pflegeplus.com/fw_download/Brushtest1.zip

Image

Image

Need a little Help !!!

I noticed using Background-Colors, the Group-box is not closed ( Code and Resource )
It happens only using Colors.

Image

Best 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: Google [Bot] and 113 guests