Clever use of ding font in form display

I'm not the one that originated this, but I'm responsible for the code-base now and every time I come across it I smile because it's one of those things that if you were asked you'd say "oh yeah, you can do that", but not the sort of thing I'd think of using in this manner.

I've got a grid display where the customer wanted to populate a cell with a read-only checkbox giving a visual of something being set or reset.

Rather than display 1/0 or Yes/No, the original authors translated the 1/0 in the database field to be the character 0x70 or 0x78.

If you change your font in the grid for that cell to Wingdings, 0x70 is p and 0x78 is x and you get what looks like a checkbox, but is simply text.

Looking a little closer at Wingdings, I see radio buttons there as well at 0xA1 ¡ and 0xA4 ¤.

Just thought that was clever enough to mention.

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
posted @ Thursday, November 02, 2006 5:21 PM
Print

Comments on this entry:

# re: Clever use of ding font in form display

Left by Scott Cate at 11/3/2006 1:14 PM
Gravatar
What a great idea. I love this. Thanks for passing it fwd.

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«February»
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910