Git Product home page Git Product logo

ajui_button's Introduction

GitHub release (latest SemVer including pre-releases) GitHub top language

AJUI_Button

NEW VERSION 2.0.0-BETA1

!!! BREAKING CHANGES !!!

In the new 2.0.0-beta1 some breaking changes have been introduced. All the class functions have been changed. See the documentation Class Functions.

For compatibiliy reasons, the old functions have not been changes if you are not using the class.

AJUI Button is a component made for 4D that help you to create and display nice buttons in your forms. You can fully customize your buttons and have templates to easily use the same style everywhere in your application.

A button is created via the language and will be displayed in a picture element in your form. The button is stored in an object that is an instance of a button.

AJUI components library

AJUI_Library

Documentation

Wiki AJUI_Button

Example

    Case of
      : (Form event=On Load)
        Form.save_btn:=AJUI_Button.new()

        Form.save_btn.name("save_btn")
        Form.save_btn.composition("text")

        Form.save_btn.label("Save")
        Form.save_btn.backgroundColor(AJUI_btn_default;"white")
        Form.save_btn.borderColor(AJUI_btn_default;"#47A1F1")
        Form.save_btn.borderSize(AJUI_btn_default;2)
        Form.save_btn.fontStyle(AJUI_btn_default;"none")
        Form.save_btn.fontColor(AJUI_btn_default;"#47A1F1")

        Form.save_btn.backgroundColor(AJUI_btn_hover;"#47A1F1")
        Form.save_btn.borderColor(AJUI_btn_hover;"white")
        Form.save_btn.borderSize(AJUI_btn_hover;2)
        Form.save_btn.fontStyle(AJUI_btn_hover;"Bold")
        Form.save_btn.fontColor(AJUI_btn_hover;"white")
    End case

    Form.save_btn.draw()

AJUI_Button Example

Version

2.0.0-beta1+Build183 // Sat, 28 Nov 2020 13:37:14 GMT

Minimal 4D Version :

  • version <= 1.3.2 : 18 (using formula member function)
  • version > 1.3.2 18 R3/4 (using class)

Questions?

If you have any question, you can ask them directly on github or write to [email protected]

ajui_button's People

Contributors

minzirillo avatar zankorius avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.