Control Properties

JesseW

Active Member
Licensed User
Upon writing my very first app, I was dismayed to see the absence of many standard desktop properties, such as .fontName and .fontBold (or .fontWeight) missing from B4P. Also missing, unless I missed it, is the ability to right justify the text in a Table Cell. I was coding a Table, and I needed my cell data to line up, and I was unable to specify a monospaced font. Luckily, I was using only 4 and 5 digit text numbers and at least the numeric digits are the same size, which is the same as two spaces, so I was able to use spaces to push the digits to line up on the right.
 

Erel

Administrator
Staff member
Licensed User
Check the FormLib library. It allows you to change the font and text alignment.
 

Erel

Administrator
Staff member
Licensed User
You can also use this module.
You will need to add a reference to the Regex library.
It includes:
Left, Right, Trim, StartsWith and EndsWith
 

Attachments

JesseW

Active Member
Licensed User
sweet! thanx for answering! maybe i should become more familiar with this bedore i post anymore here >blush<
 
Top