FIRENZE LABEL
version 1.1.1
last actualization: 26.3.2017
Created by Martin Vartiak, powered by Cairo Graphics and vbRichClient-Framework.
LICENSE: http://creativecommons.org/licenses/...1.0/fi/deed.en
1. Shortly about the project Firenze Label
All starts simply as always. I was looking for a simple anti-aliasing solution for VB6 because I was never satisfied with original one. Found some examples on the web, but as a graphic designer I was still very disappointed with results. After further search I found very interesting .dll library for graphic use of Cairo Graphics. At the first sight all was so complicated for me. I started to play with that library and decide to make very simple ActiveX component just for me. As I started to add more and more functions it becomes very user friendly component. And now i want to share it with you.
2. What makes Firenze Label so special?
Imagine me or you as a graphic designer and now remeber to basic VB6 Label component. Practically you can do nothing special with it, there are missing even some basic functions as a Vertical Alignment. I will try to describe most of the functions of the Firenze Label and you can imagine the endless possibilities of it use. With these properties and functions you can possibly achieve most of the modern design functions.
Custom Properties:
BackColor - ordinary back color
BackColorOpacity - back color with opacity (0-100)
Border - draws a border around the component
BorderColorOpacity - opacity of border (0-100)
BorderCorner - you can apply a mask for corners (i.e. you can mask only top corners for a tab strip)
BorderPosition - position of border
BorderRadius - border radius
BorderSmoothEdge - property for a better and smoother border in some cases
Border Width - border width
Caption - main text
CaptionAlignmentH - horizontal alignment of caption (left/center/right)
CaptionAlignmentV - vertical alignment of caption (top/middle/bottom)
CaptionPadding - padding for a caption
Cursor - you can choose between arrow and hand cursor (as on the website)
Font - don’t affraid to use all of the modern fonts with proper antialiasing
FontAwesome - if you lazy downloading custom icons, you can use hex codes of FontAwesome and get so many scalable icons so fast
ForeColor - simple ForeColor property
ForeColorOpacity - opacity for ForeColor (0-100)
Gradient - turn on if you like gradient background
GradientAngle - determines in which angle should gradient be drawn (0-360)
GradientColor1 - gradient color 1
GradientColor1Opacity - opacity for gradient color 1
GradientColor2 - gradient color 2
GradientColor2Opacity - opacity for gradient color 2
ParentControl - child control shares all functionality of the parent control
Picture - you like modern .png or .svg pictures? (path to the picture)
PictureAlignmentH - horizontal aligment of picture
PictureAlignmentV - vertical alignment of picture
PictureOpacity - picture opacity (0-100)
PicturePadding - picture padding
PictureSVGScale - after you load .svg picture, you can scale it up or down
WordWrap - wordwrap, because why not
Custom events:
MouseEnter
MouseLeave
Practically you can use opacity on everything. You can use Firenze Label just to show .png or .svg picture if you want. Possibilities are endless.
3. Next developement
I have sooo many ideas for the next developement. Possibly I can “hire” someone for a optimalization of code and make it even more fast and pixel perfect.
Main goals to achieve:
- add all planned functions
- custom website
- custom installation file
- complete documentation
- more examples and sample codes
4. Showcase
Showtime :)
Working examples you can download.
Image may be NSFW.
Clik here to view.![Name: admin.jpg
Views: 168
Size: 18.8 KB]()
Image may be NSFW.
Clik here to view.![Name: einstein.jpg
Views: 166
Size: 99.0 KB]()
What you can achieve with Firenze Label. (Sorry, there are lot of more but this post can have only 5 attachements)
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.![Name: icerikdashh.jpg
Views: 163
Size: 19.9 KB]()
5. Download
IMPORTANT NOTICE:
you have to add project reference vbRichClient5 (download from http://www.vbrichclient.com/#/en/Downloads.htm)
icons from the examples are not pictures but windows font FontAwesome, you need to download and install it first (download from http://fontawesome.io/).
PROJECT IS IN DEVELOPEMENT.
Ask freely if you don't understand to something. I realize I didn't make it well documented for now, but I don't want to spam here a lot of text and explanations. For more questions or explanations send me PM or write here. Enjoy!
Matt
version 1.1.1
last actualization: 26.3.2017
Created by Martin Vartiak, powered by Cairo Graphics and vbRichClient-Framework.
LICENSE: http://creativecommons.org/licenses/...1.0/fi/deed.en
1. Shortly about the project Firenze Label
All starts simply as always. I was looking for a simple anti-aliasing solution for VB6 because I was never satisfied with original one. Found some examples on the web, but as a graphic designer I was still very disappointed with results. After further search I found very interesting .dll library for graphic use of Cairo Graphics. At the first sight all was so complicated for me. I started to play with that library and decide to make very simple ActiveX component just for me. As I started to add more and more functions it becomes very user friendly component. And now i want to share it with you.
2. What makes Firenze Label so special?
Imagine me or you as a graphic designer and now remeber to basic VB6 Label component. Practically you can do nothing special with it, there are missing even some basic functions as a Vertical Alignment. I will try to describe most of the functions of the Firenze Label and you can imagine the endless possibilities of it use. With these properties and functions you can possibly achieve most of the modern design functions.
Custom Properties:
BackColor - ordinary back color
BackColorOpacity - back color with opacity (0-100)
Border - draws a border around the component
BorderColorOpacity - opacity of border (0-100)
BorderCorner - you can apply a mask for corners (i.e. you can mask only top corners for a tab strip)
BorderPosition - position of border
BorderRadius - border radius
BorderSmoothEdge - property for a better and smoother border in some cases
Border Width - border width
Caption - main text
CaptionAlignmentH - horizontal alignment of caption (left/center/right)
CaptionAlignmentV - vertical alignment of caption (top/middle/bottom)
CaptionPadding - padding for a caption
Cursor - you can choose between arrow and hand cursor (as on the website)
Font - don’t affraid to use all of the modern fonts with proper antialiasing
FontAwesome - if you lazy downloading custom icons, you can use hex codes of FontAwesome and get so many scalable icons so fast
ForeColor - simple ForeColor property
ForeColorOpacity - opacity for ForeColor (0-100)
Gradient - turn on if you like gradient background
GradientAngle - determines in which angle should gradient be drawn (0-360)
GradientColor1 - gradient color 1
GradientColor1Opacity - opacity for gradient color 1
GradientColor2 - gradient color 2
GradientColor2Opacity - opacity for gradient color 2
ParentControl - child control shares all functionality of the parent control
Picture - you like modern .png or .svg pictures? (path to the picture)
PictureAlignmentH - horizontal aligment of picture
PictureAlignmentV - vertical alignment of picture
PictureOpacity - picture opacity (0-100)
PicturePadding - picture padding
PictureSVGScale - after you load .svg picture, you can scale it up or down
WordWrap - wordwrap, because why not
Custom events:
MouseEnter
MouseLeave
Practically you can use opacity on everything. You can use Firenze Label just to show .png or .svg picture if you want. Possibilities are endless.
3. Next developement
I have sooo many ideas for the next developement. Possibly I can “hire” someone for a optimalization of code and make it even more fast and pixel perfect.
Main goals to achieve:
- add all planned functions
- custom website
- custom installation file
- complete documentation
- more examples and sample codes
4. Showcase
Showtime :)
Working examples you can download.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
What you can achieve with Firenze Label. (Sorry, there are lot of more but this post can have only 5 attachements)
Image may be NSFW.
Clik here to view.
Clik here to view.
5. Download
IMPORTANT NOTICE:
you have to add project reference vbRichClient5 (download from http://www.vbrichclient.com/#/en/Downloads.htm)
icons from the examples are not pictures but windows font FontAwesome, you need to download and install it first (download from http://fontawesome.io/).
DOWNLOAD Firenze Label source code: FirenzeLabel.zip |
PROJECT IS IN DEVELOPEMENT.
Ask freely if you don't understand to something. I realize I didn't make it well documented for now, but I don't want to spam here a lot of text and explanations. For more questions or explanations send me PM or write here. Enjoy!
Matt