Re: Problems creating a field in LC8 DP16

2016-03-19 Thread Richard Gaskin
William Prothero wrote: ... > set the fontStyle of fld tName to bold Been spending too much time with CSS lately? :) I think that should be: set the textStyle of fld tName to bold -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the We

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
I got it working better by increasing the settings of the margins and setting the textHeight to 0. Bill > On Mar 17, 2016, at 6:58 PM, William Prothero wrote: > > Folks: > My plot routines use fields as labels. Fields are created on the fly, the > plot image is captured, and the fields are de

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread Earthednet-wp
Monte, Tnx, but I've solved that one. What's screwing me up is that the formattedHeight and formattedWidth don't give the correct answers. I don't know if it's a bug or something that's changed with the updated field code. I can fix it by adding to the margins. I just hate to do a workaround tha

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
>> to return dimensions of a rect that will show all of the text in a field? > > Sorry? The (modified) function works here as it should, I wrote "works fine > here". > I think that simply the fixedTextHeight isn't set to true any more by > default. >

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread Earthednet-wp
ame to bold > * set the rect of fld tName to "0,0,"& \ >(the formattedWidth of fld tName) &","&\ > (the formattedHeight of fld tName) > * return the rect of fld tName > end iml_makeField >> == > > &

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread Monte Goulding
> On 18 Mar 2016, at 4:39 PM, Earthednet-wp wrote: > > So, I guess we can't count on the formattedHeight and formattedWidth to > return dimensions of a rect that will show all of the text in a field? I > would like to keep the rect of the field as small as possible. I also use it > to make a

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread Dave Kilroy
90% of the time, and the last 10% takes the other 90% of the time." Peter M. Brigham -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-creating-a-field-in-LC8-DP16-tp4702326p4702339.html Sent from the Revolution - User mailing list archiv

Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
Folks: My plot routines use fields as labels. Fields are created on the fly, the plot image is captured, and the fields are deleted. In LC8 DP16, I find that the field heights are messed up. I create the field and put text in it using the following function: I know that fields work differently

Re: Problems creating a field in LC8 DP16

2016-03-19 Thread William Prothero
Trevor: Thanks. I reported it, with a sample stack. Best, Bill William Prothero, Ph.D. University of California, Santa Barbara, Emeritus proth...@earthednet.org > On Mar 18, 2016, at 3:08 PM, Trevor DeVore wrote: > > On Thu, Mar 17, 2016 at 9:58 PM, William Prothero > wrote: > >> Folks: >>

Re: Problems creating a field in LC8 DP16

2016-03-18 Thread -hh
he rect of fld tName to "0,0,"& \ (the formattedWidth of fld tName) &","&\ (the formattedHeight of fld tName) * return the rect of fld tName end iml_makeField > == -- View this message in context: http://runtime-revolution.278305.n4.nabb

Re: Problems creating a field in LC8 DP16

2016-03-18 Thread -hh
dTextHeight isn't set to true any more by default. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-creating-a-field-in-LC8-DP16-tp4702326p4702332.html Sent from the Revolution - User mailing list archive at Nabble.com. _

Re: Problems creating a field in LC8 DP16

2016-03-18 Thread -hh
Height and formattedWidth show the > text? I’m content to use my margins adjustment, but hope it doesn’t need > to be revisited in the future. If so, it’s a small thing, but... -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problems-creating-a-field-i

Re: Problems creating a field in LC8 DP16

2016-03-18 Thread Richard Gaskin
William Prothero wrote: Is this a bug? Shouldn’t the formattedHeight and formattedWidth show the text? I’m content to use my margins adjustment, but hope it doesn’t need to be revisited in the future. If so, it’s a small thing, but... The code looks like it should work, and here formattedWid

Re: Problems creating a field in LC8 DP16

2016-03-18 Thread Trevor DeVore
On Thu, Mar 17, 2016 at 9:58 PM, William Prothero wrote: > Folks: > My plot routines use fields as labels. Fields are created on the fly, the > plot image is captured, and the fields are deleted. In LC8 DP16, I find > that the field heights are messed up. I create the field and put text in it > u