TPN WebApp

Today I finally figured out how to increase the size of the lines in the nutritional assessment grid.

I was following Microsoft’s example code to a “T”
How to Set Pen Width and Alignment

But, as is usually the case, the devil is in the details. No one ever gives you the complete story. They give you just enough information to frustrate you. By trial and error I found out why it wasn’t working. I was declaring the Pen object inside the DrawGrid subroutine. For some silly reason, it has to be declared globally. I never would have guessed that.

Anyway, the grid looks much better now:
Nutritional assessment grid

Comments are closed.