Results 1 to 40 of 62

Thread: [VB6] FIRENZE LABEL - label control with so many functions

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2015
    Location
    Slovakia
    Posts
    14

    Lightbulb [VB6] FIRENZE LABEL - label control with so many functions

    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.

    Name:  admin.jpg
Views: 9049
Size:  18.8 KB
    Name:  einstein.jpg
Views: 8291
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)

    Name:  calendar.jpg
Views: 8636
Size:  22.7 KB Name:  icerikdashh.jpg
Views: 8171
Size:  19.9 KB


    5. Download

    IMPORTANT NOTICE:
    you have to add project reference vbRichClient5
    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
    Last edited by Shaggy Hiker; Jan 3rd, 2019 at 11:15 AM. Reason: Consistency.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width