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
Define the Gradient :
Define a Background-Image :
Best Regards
Uwe