At 11:54 AM +1200 5/7/02, you wrote: > >>> How can I set the color�s line of a field text member with >>>> hexadecimal representation or RGB values ? > >>> Try setting the 'color', as opposed to the 'foreColor'. It >>> should accept rgb triplets and hex values. >>> member(pmember).line[2].color = rgb(0,0,0) > >> unfortunately, this syntax generates 'Property Not Found' for me. > >... and the property not found is #color > >My mistake, a thousand apologies. I'm always confused when a poster states >"field text member" - as to whether they mean "field member" or "text >member" - and should have prompted for clarification before responding. > >As the poster originally noted, it seems the only way to colourise >individual lines of a field member is by setting its foreColor, which limits >the range to (paletteIndex) 0 - 255. And beyond that, it seems to only work >by reverting to verbose syntax: >-- set the forecolor of line 4 of member "testField" to 4
btw: #color DOES work on #field members, but not chunks of them. & I agree the need to revert to verbose syntax is a particularity bonus. -Buzz > >-Sean. > >[To remove yourself from this list, or to change to digest mode, go >to http://www.penworks.com/lingo-l.cgi To post messages to the >list, email [EMAIL PROTECTED] (Problems, email >[EMAIL PROTECTED]). Lingo-L is for learning and helping with >programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
