Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-21 Thread Brian Schott
I think I created a verb to create box characters. I discovered that jhtextarea and jhtml expect different new lines. I also discovered that only Courier New compared to Courier and Monaco fonts connects the vertical bars. Thanks, Eric and Bob. z =: 9484 9516 9488 9500 9532 9508 9492 9524 9496 9

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-20 Thread Eric Iverson
You are correct that there is another problem. Normal display from J uses special chars (values less than 32) for the box draw chars. JHS converts these values to the box draw utf8 (2 byte) values to get the proper char displayed. This is not done within a jhtml display so you will have to do it.

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-20 Thread Brian Schott
Eric, I think there is some other problem, because not only am I already using CSS for font family, and I am using "Monaco" and have experimented with "Courier New" and others. I have done another test as follows. Before reading on, please note that no error occurs below if instead of just < in

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-20 Thread Eric Iverson
Box draw should work in JHS html written to the log. But you need a font that supports them and it sounds as if your default font does not have those characters. You can use css to select the font to use. On Sat, Mar 19, 2016 at 10:15 AM, Brian Schott wrote: > I elected to use the CSS for tables

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-19 Thread robert therriault
Glad it was partially useful Brian :-) The reason that the radio button CSS is not working is that CSS does not create attributes, it only allows you to style the ones that exist. I don't think radio buttons have color, bg-color or fill attributes. [0] I did find this article that shows you ho

[Jprogramming] JHS button entry application for contract bridge scoring

2016-03-19 Thread Brian Schott
I recently put a simple application on the jwiki and created a screen cast of its usage. http://code.jsoftware.com/wiki/User:Brian_Schott/code/BridgeScoring https://youtu.be/H-cE3l4JT3Y I am indebted (again) to Henry Rich, who really developed the processing component of this application, which a

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-19 Thread Brian Schott
Bob, Thanks. Your vts.ijs gives me encouragement and your "{fill:gold}" looks great, and when I use jhh1 to produce a header and then the following CSS, that works great. h1 {background:gold;} And your comment: "I found that converting over to jqt was pretty easy as long as I displayed the resu

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-19 Thread Brian Schott
I elected to use the CSS for tables based on the following link. http://www.w3schools.com/html/html_tables.asp The new CSS looks like the following. table {background: lightgray; border:8px double red; border-collapse: collapse;} td {border:4px single red; border-style: none solid none solid;

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-18 Thread robert therriault
Hi Brian, It has been awhile since I have done the deep dive with CSS, but I did use it pretty extensively in the Enhanced Display. I was using svg as a framework and creating the svg based on the type and shape of the input, but if you look at the noun sh defined in http://code.jsoftware.com

Re: [Jprogramming] JHS button entry application for contract bridge scoring

2016-03-18 Thread Brian Schott
Bob, Your comment that radio buttons have no such attributes must be the main point. I guess I must look into using or or