Set Text to the Vertical Center of the field
hh at livecode.org
Sun Apr 3 02:47:15 EDT 2016
J. Landman Gay wrote
> On 4/2/2016 11:05 PM, Richard Gaskin wrote:
>> put the EFFECTIVE formattedheight of \
>> char 1 to -1 of pObj into tFheight
>> There it is! "EFFECTIVE"!
> Would be nice if that were documented. Hmph. Need user notes.
It is documented. The 'effective keyword' includes all properties
(incl. the inherited from the owner) regardless of whether the
object itself has that property set. This is good for computing
*** the effective vertical center of text in a field *** ;-)
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Set-Text-to-the-Vertical-Center-of-the-field-tp4702965p4703030.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the Use-livecode