TFormShaper
Descrption
Properties
AutoActive | Boolean ... if True the shape is active on creating the Form |
AutoSize | Boolean ... if True size of the Form will be set to the size of the mask |
CaptionForm | Boolean ... if False the Form has no caption bar |
Backgrnd | TPicture ... Background Bitmap of the Form |
PicFile | TString ... Filename of the mask bitmap that defies the shape. The Bitmap has to be a 1bit/pixel picture (2 colors). |
ResName | TString ... (optional to PicFile) Mask bitmap ressource name. |
ResType | TString ... ressource type name. ONLY USERDEFINED RESSOURCE TYPES SUPPORTED ! |
ShapeActive | Boolean ... Shape on/off. |
ShapeForm | TForm ... Connection to the Form you want to shape |
WindowMove | Boolean ... if True you can move the Form by clicking on it's client array |
Version | FREEWARE FOR NON COMMERCIAL USERS; Commercial use $35... Release 1.0 ONLY AVAILABLE FOR DELPHI3 ! |
What is a Mask ?
How to create a user defined Resource with Delphi's resource compiler ?
1. | Create a black/with bitmap ... be sure it is saved as 1bit/pixel image !!!! |
2. | Save this image as mask.bmp . |
3. | Create a text file with notepad . |
4. | Text of this text file : BILD PIC "maske.bmp" . |
5. | Save this textfile as "shape.rc" . |
6. | Make sure that brcc32.exe , Rw32core.dll (also located in delphi/bin) , maske.bmp and shape.rc are located in the same directory. |
7. | Execute this command from dos : brcc32 shape.rc . As Output the shape.res will be located in the current directory. |
8. | Copy shape.res to your project directory . |
9. | Include this shape.res in your Form unit ... {$R shape.res} |
10. | Set FormShaper.Mask.ResType to "PIC" . |
11. | Set FormShaper.Mask.ResName to "BILD" . |
How to install
Would be nice if u can show me any applications when you are using my stuff so we can release it on my page if you want ;-)
If there are any questions feel free to ask ... Andreas Heckel