making checkboxes and radio buttons bigger
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
making checkboxes and radio buttons bigger
Is there any way to make the native checkbox and radio buttons bigger ? When they get onto a phone screen they are really tiny and I need them bigger for people with disabilities.
Thanks
Ben
Thanks
Ben
Re: making checkboxes and radio buttons bigger
Hi Ben,
I do that like this:
1. Build an group as icon
2. Import snapshot of this group for the icon image
3.Change the look of group for hiliteicon
4.Import snapshot this group for the hiliteicon
5. Create a new button type checkbox or radiobutton
6.Define the icon and hiliteicon of the new btn
Best regards
Jean-Marc
Yes, You can have a checkbox or radiobutton with the dimension as you want.Is there any way to make the native checkbox and radio buttons bigger ?
I do that like this:
1. Build an group as icon
2. Import snapshot of this group for the icon image
3.Change the look of group for hiliteicon
4.Import snapshot this group for the hiliteicon
5. Create a new button type checkbox or radiobutton
6.Define the icon and hiliteicon of the new btn
Best regards
Jean-Marc
https://alternatic.ch
Re: making checkboxes and radio buttons bigger
Thank you Jea-Marc. I am not sure how to create a new button type but I will try to search and let you know.
Re: making checkboxes and radio buttons bigger
Hi.
Jean-Marc did not mean to create a new button class, merely to create a new radio or checkbox button. All the other gadgetry he mentioned will fill that new button, resized as you need.
The reason for all this is that the these two buttons styles can be larger, in other words, their rect can be larger, but the "working" part stays the same size. You have to assemble a composite group of controls to do what you ask.
Craig Newman
Jean-Marc did not mean to create a new button class, merely to create a new radio or checkbox button. All the other gadgetry he mentioned will fill that new button, resized as you need.
The reason for all this is that the these two buttons styles can be larger, in other words, their rect can be larger, but the "working" part stays the same size. You have to assemble a composite group of controls to do what you ask.
Craig Newman
Re: making checkboxes and radio buttons bigger
Here you go:
empty to icon
checkbox to highlite
resize the button to fit
Simon
Just take your radio or checkbox buttons and set their icons to those 2 images.empty to icon
checkbox to highlite
resize the button to fit

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: making checkboxes and radio buttons bigger
Thank you. Appreciate the answers.
Re: making checkboxes and radio buttons bigger
This is great, but I ran into a snag while trying to use this.
if the check box is disabled (locked so that it cant be changed) It only shows "Icon" weather it is hilited or not.
Is there a way to get around this?
if the check box is disabled (locked so that it cant be changed) It only shows "Icon" weather it is hilited or not.
Is there a way to get around this?
"Det bästa stället att hitta en hjälpande hand är i slutet av din egen arm" förutom här
Re: making checkboxes and radio buttons bigger
Hi Devjans,
You can use something like that:
Best regards
Jean-Marc
You can use something like that:
Code: Select all
--•• ena/dis control
on enaControl pControlID --,pHilite
enable control id pControlID
set the blendlevel of control id pControlID to 0
-- set hilite to customprop uMyHilite
set the hilite of control id pControlID to (the uMyHilite of control id pControlID)
end enaControl
on disControl pControlID --,pHilite
disable control id pControlID
set the blendlevel of control id pControlID to 50
-- store hilite of btn into customprop
set the uMyHilite of control id pControlID to (the hilite of control id pControlID)
set the hilite of control id pControlID to false
end disControl
Jean-Marc
https://alternatic.ch
-
- Posts: 1
- Joined: Thu Oct 06, 2016 9:26 am
Re: making checkboxes and radio buttons bigger
Thanks, fixed my issue.jmburnod wrote:Hi Ben,Yes, You can have a checkbox or radiobutton with the dimension as you want.Is there any way to make the native checkbox and radio buttons bigger ?
I do that like this:
1. Build an group as icons
2. Import snapshot of this group for the icon image
3.Change the look of group for hiliteicon
4.Import snapshot this group for the hiliteicon
5. Create a new button type checkbox or radiobutton
6.Define the icon and hiliteicon of the new btn
Best regards
Jean-Marc
Last edited by residuegoring424 on Sun Oct 16, 2016 9:13 am, edited 1 time in total.
Re: making checkboxes and radio buttons bigger
Just in case you want to use custom made checkboxes.
- Attachments
-
- controls.zip
- (3.26 KiB) Downloaded 287 times
Knowledge is meant to be shared.
-
- Posts: 3
- Joined: Mon Oct 10, 2016 9:46 am
Re: making checkboxes and radio buttons bigger
I have followed you instructions but i am unable to get it done. Would you please share some alternate way that is easy to do.jmburnod wrote:Hi Ben,Yes, You can have a checkbox or radiobutton with the dimension as you want.Is there any way to make the native checkbox and radio buttons bigger ?
I do that like this:
1. Build an group as icon
2. Import snapshot of this group for the icon image
3.Change the look of group for hiliteicon
4.Import snapshot this group for the hiliteicon
5. Create a new button type checkbox or radiobutton
6.Define the icon and hiliteicon of the new btn
Best regards
Jean-Marc
Re: making checkboxes and radio buttons bigger
Hi Jad Albert
To cook a btn with hilite you need two images
One for icon and one for hiliteicon.
You can create an image using "import snapshot" from a control
I use group because you can drawing an image with controls (fields, images, grcs).
Please try this (pseudo code)
Create a grc oval "MyGrc01" opaque 48X48, white
Create a grc oval "MyGrc02" opaque 24X24, blue
set the loc of grc "MyGrc02" to the loc of grc "MyGrc01"
select grc "MyGrc01" and grc "MyGrc02"
group (object menu or toolbar)
rename this group to "grMygroup"
set the opaque of group "grMygroup" to false
import snapshot from group "grMygroup"
You created the image which you can use like icon for your btn
set the icon of btn bMyButton to the short id of last image
Same way for the hiliteicon
Best regards
Jean-Marc
To cook a btn with hilite you need two images
One for icon and one for hiliteicon.
You can create an image using "import snapshot" from a control
I use group because you can drawing an image with controls (fields, images, grcs).
Please try this (pseudo code)
Create a grc oval "MyGrc01" opaque 48X48, white
Create a grc oval "MyGrc02" opaque 24X24, blue
set the loc of grc "MyGrc02" to the loc of grc "MyGrc01"
select grc "MyGrc01" and grc "MyGrc02"
group (object menu or toolbar)
rename this group to "grMygroup"
set the opaque of group "grMygroup" to false
import snapshot from group "grMygroup"
You created the image which you can use like icon for your btn
set the icon of btn bMyButton to the short id of last image
Same way for the hiliteicon
Best regards
Jean-Marc
https://alternatic.ch
-
- Posts: 3
- Joined: Mon Oct 10, 2016 9:46 am
Re: making checkboxes and radio buttons bigger
Thank you so much!jmburnod wrote:Hi Jad Albert
To cook a btn with hilite you need two images
One for icon and one for hiliteicon.
You can create an image using "import snapshot" from a control
I use group because you can drawing an image with controls (fields, images, grcs).
Please try this (pseudo code)
Create a grc oval "MyGrc01" opaque 48X48, white
Create a grc oval "MyGrc02" opaque 24X24, blue
set the loc of grc "MyGrc02" to the loc of grc "MyGrc01"
select grc "MyGrc01" and grc "MyGrc02"
group (object menu or toolbar)
rename this group to "grMygroup"
set the opaque of group "grMygroup" to false
import snapshot from group "grMygroup"
You created the image which you can use like icon for your btn
set the icon of btn bMyButton to the short id of last image
Same way for the hiliteicon
Best regards
Jean-Marc