Skip to main content

In the windows environment, we've had a user ask if there's any control over size/display of a tri-state checkbox. 

I can't see anything that would help them here, does anyone know of anything that would make a checkbox (in a grid widget as it happens) bigger. Or possibly make the state easier to read on windows 11. (Null is blue square, checked is blue square with white tick, not massively easy to read for accessibility). 

Regards, 

Iain



------------------------------
Iain Sharp
Head of Technical Services
Jonas Metals Software Limited
Sheffield GB
------------------------------

In the windows environment, we've had a user ask if there's any control over size/display of a tri-state checkbox. 

I can't see anything that would help them here, does anyone know of anything that would make a checkbox (in a grid widget as it happens) bigger. Or possibly make the state easier to read on windows 11. (Null is blue square, checked is blue square with white tick, not massively easy to read for accessibility). 

Regards, 

Iain



------------------------------
Iain Sharp
Head of Technical Services
Jonas Metals Software Limited
Sheffield GB
------------------------------

Hi Iain,

the quickest solution that came to mind is to substitute your "checkbox" with a Uniface logical widget, which can be called "checkboxInAGrid".

The physical widget rapresenting it should be a "uniface button", which is including a lot of widget parameters to easily adapt it to many contexts, resampling somehow a real checkbox; it can be stretched or reduced to reproduce the "single expression" checkbox we have currently in Uniface. On top of it from user interface point of view it accepts a single click like a real checkbox.

This logical widget "checkboxInAGrid" can host an image reppresenting the state of your checkbox using shapes and colors as you like or from what I've understood your user likes better!

This solution requires some work to be implemented but at the end could be probably a good solution to the need.

Another hint could be to verify the "Windows theme" your user is using on his/her PC trying to customize checkbox appereance from there; this could help youir user not only in Uniface but in all program used on that Windows workstation.

I hope it helps...

Best Regards,

Gianni



------------------------------
Gianni Sandigliano
IT
------------------------------


Hi Iain,

the quickest solution that came to mind is to substitute your "checkbox" with a Uniface logical widget, which can be called "checkboxInAGrid".

The physical widget rapresenting it should be a "uniface button", which is including a lot of widget parameters to easily adapt it to many contexts, resampling somehow a real checkbox; it can be stretched or reduced to reproduce the "single expression" checkbox we have currently in Uniface. On top of it from user interface point of view it accepts a single click like a real checkbox.

This logical widget "checkboxInAGrid" can host an image reppresenting the state of your checkbox using shapes and colors as you like or from what I've understood your user likes better!

This solution requires some work to be implemented but at the end could be probably a good solution to the need.

Another hint could be to verify the "Windows theme" your user is using on his/her PC trying to customize checkbox appereance from there; this could help youir user not only in Uniface but in all program used on that Windows workstation.

I hope it helps...

Best Regards,

Gianni



------------------------------
Gianni Sandigliano
IT
------------------------------

Hi Gianni, 

Yes, that might work, it'd be programming work to change it in all places a checkbox is used, but it might be do-able for one or two forms. 

I'll have a play. 

I was thinking of the slider/toggle in the web, but I'm not sure that has a tri-state display (need to be able to tell null from true and false.) 

Regards, 

Iain



------------------------------
Iain Sharp
Head of Technical Services
Jonas Metals Software Limited
Sheffield GB
------------------------------

Hi Gianni, 

Yes, that might work, it'd be programming work to change it in all places a checkbox is used, but it might be do-able for one or two forms. 

I'll have a play. 

I was thinking of the slider/toggle in the web, but I'm not sure that has a tri-state display (need to be able to tell null from true and false.) 

Regards, 

Iain



------------------------------
Iain Sharp
Head of Technical Services
Jonas Metals Software Limited
Sheffield GB
------------------------------

Based on Gianni 's idea, I remember many moons ago using a 1 char edit box.... 



------------------------------
Osman Shariff
Freelance Uniface Consultant - France

Work in Europe in French, English and German
------------------------------