Page 1 of 1

Different radio- and checkbox-styles ( UPDATE 2.1 )

PostPosted: Thu Feb 12, 2015 4:55 pm
by ukoenig
I'm working on a painter, to create some different looking
radios- and checkboxes.
Maybe somebody like them ?

The 1. column with round buttons and calculated textposition outside of the button-area
The 2. column works like a normal checkbox and shows a image on selection
The 3. column does a image-change
The 4. column shows colored round buttons with a image-display on selection

Image

best regards
Uwe :?:

Re: Different radio- and checkbox-styles

PostPosted: Tue Feb 17, 2015 4:17 pm
by ukoenig
My final solution with 5 different styles :
( I'm still need a solution, to change the button-textcolor on mousecaption )

1. round buttons painting the text on a calculated textposition outside of the button-area
2. checkboxes
3. works the same like a normal radio ( single selection )
4. building groups with multiple selections ( 2 yellow, 2 green and 2 purple ) 2 selections are red
5. color selection from colored buttons ( shows a < Yes > image on selection )
6. a button gradient-painter is included
7. possible to create a sample PRG and EXE from a selected style
8. button < background > with gradient-painter and background-selection

Image

best regards
Uwe :?:

Re: Different radio- and checkbox-styles

PostPosted: Wed Feb 18, 2015 8:04 am
by Antonio Linares
Dear Uwe,

Your tools are really nice, congratulations!

You are really a painting and design master!!! :-)

Re: Different radio- and checkbox-styles

PostPosted: Wed Feb 18, 2015 1:45 pm
by ukoenig
I hope it will be useful

the download-link ( 5.3 MB ) :
http://www.pflegeplus.com/DOWNLOADS/Rbuttons1.zip

creating standalone samples :

Image

because of a preview from a MULTILINE-get, You must create a PRG at first

Image

The result ( EXE ) of the selected group
If needed, I can add the code, to work from RESOURCES

Image

before creating a EXE, You can create a Button-gradient with defined textcolors
and change the background. !!!
The selected textcolor will change the text-color on the main-dialog


Image

best regards
Uwe :)

Re: Different radio- and checkbox-styles

PostPosted: Wed Feb 18, 2015 2:12 pm
by karinha
Excelent!!

Re: Different radio- and checkbox-styles

PostPosted: Wed Feb 18, 2015 6:37 pm
by ukoenig
A small extension :
I added predefined logical vars. It belongs to sample 2 and 4
can be replaced with any others
lVar := { { .F., .F., .T., .T., .F., .F. } }

added a message wait on button-click
deleted the alerts creating a PRG and EXE ( only displayed if NOT created )
I will add samples from RESOURCE

the download-link release 1.2 ( 5.3 MB ) :
http://www.pflegeplus.com/DOWNLOADS/Rbuttons2.zip

Next release from CODE or RESOURCE
added a new button
First display from CODE ( can be switched )

Image

best regards
Uwe :)

Re: Different radio- and checkbox-styles ( UPDATE 2.1 )

PostPosted: Sat Feb 21, 2015 11:35 am
by ukoenig
The new update with many improvements

1. added from RESOURCES
2. the last compiled sample can be loaded from the main-dialog
3. added a sample-directory with 10 created samples 5 from code and 5 from resources
4. some new options inside the PRG and EXE-builder
-- now You can change the style, without moving to the main-dialog
-- in order
-- 1. select the style
-- 2. select CODE or RESOURCE
-- 3 create the EXE ( please check the MAKE-file )
-- If You don't need a PRG or EXE, just copy the needed parts from the multiline get
5. some cleanig, because it is tested and works, I deleted the message-wait

the download-link release 2.1 ( 5.8 MB ) :
http://www.pflegeplus.com/DOWNLOADS/Rbuttons3.zip

I noticed a little bug, restoring the group-images in sample 4.
It is fixed. If You downloaded release 2.1 already, please download again !


Image

The new round button-line shows the practical usage from resources

Image

best regards
Uwe :)