Replies: 8 comments 15 replies
-
Here demo how to assign a bgrabitmap to a maskedbitmap: |
Beta Was this translation helpful? Give feedback.
-
Now only need to learn how to design the 8 bgrabitmaps of nice corners an sides with shadow and assign it to to each of the msegui images list. |
Beta Was this translation helpful? Give feedback.
-
Thank you Fred.
As a challenge and as an exercise, why not? But (honestly) I think it has not much practical interest. An application shouldn't recreate its buttons style each time it is executed. |
Beta Was this translation helpful? Give feedback.
-
Same for me. I was rather thinking of something like this (very basic example to explain my idea). |
Beta Was this translation helpful? Give feedback.
-
Not yet found how to use the generated images. Here is my attempt, if you want to take a look. The frame always stays red... |
Beta Was this translation helpful? Give feedback.
-
There is a demo how to draw custom frame with BGRABitmap here #68 (comment) |
Beta Was this translation helpful? Give feedback.
-
By the way I found this hint by Martin. Maybe interesting to try?
|
Beta Was this translation helpful? Give feedback.
-
Hello. Here demo BGRABitmap for face and frame using face/frame properties of tfacelist. |
Beta Was this translation helpful? Give feedback.
-
To create custom frames, you may use the property frame/frameimage and select a image-list of 8 bitmaps.
The first is the top left corner, then the left side-line, then the bottom left corner, then bottom line, then right bottom corner, right side-line, right top corner and finally top side line.
Ok, it works but could it be possible to create each bitmap "live", with drawline-arc, etc and then assign it to each bitmap of the image list?
That would be great to not need to import images in the image list but create at runtime each part of the frame (corners and side-lines)
Originally posted by @fredvs in #74 (comment)
Beta Was this translation helpful? Give feedback.
All reactions