[F/OS] 📦 CheckboxUtil - Additional Method For The CheckBox Component!

:computer: Introduction

A non-visible extension that provides additional tools to the built-in CheckBox component. With this extension, you can:

  • set the color of the box of the CheckBox.

  • set the shadow/justification/typeface of the CheckBox.

:package: Package name: com.gordonlu.checkboxutil

:clock6: Version: 1

:date: Release date: 2022-06-01T10:00:00Z

:open_book: Documentation

Method blocks

IsTextJustified

image

Checks whether the text of the CheckBox is justified.

Returns: boolean

Parameters: checkBox = component

JustifyText

image

Sets whether to justify the text of the CheckBox.

Parameters: checkBox = component, justify = boolean

ResetColor

image

Sets the color of the box of the CheckBox.

Parameters: checkBox = component, color = color

SetFontTypeface

image

Sets the font typeface of the CheckBox, including whether to bold, italicize, and the font of the TextBox. Use the blocks in the properties of this extension for the font parameter. If useCurrentFont is true, the font parameter will be ignored.

Parameters: checkBox = component, bold = boolean, italic = boolean, font = text, useCurrentFont = boolean

SetShadow

image

Sets the shadow of the text of the CheckBox.

Parameters: checkBox = component, radius = number (float), dx = number (float), dy = number (float), color = color

Property blocks

Some helper blocks for fonts.

image

image

image

image

:inbox_tray: Downloads

AIX:
com.gordonlu.checkboxutil.aix (8.6 KB)

JAVA:
CheckBoxUtil.txt (4.8 KB)


Made with Niotron IDE.

Kindly :email: PM me if you have any questions! Also, if you like my extension, please :heart: like it! It takes some effort for me to make it...

Likes tell me the general user feedback of my extension. If you read this extension, please take 20 seconds to drop by and give a like!

If you have any features that you want to add and you know the code, PM me or directly reply below using the image button.

By downloading my extension, you agree the terms and conditions in my website.


Gordon Lu

:speech_balloon: Message :earth_africa: Website :e-mail: E-mail

10 Likes

Good job brother !

Didn't take much time to reply though this time. You know why. :sweat_smile:

1 Like

Thank you for your efforts if you can We need Radio button extension

1 Like
1 Like

Hi, good job for the extension,

Can you add to the extension the fact that you can do rounded edges and change the colors of the check box, ticks, and set the border-with of the box please?

As for the rest, maybe this week (if I have enough time).