Re: PROP_STD_TEXT_ALIGNMENT



Le Thu, Apr 17, 2003, à 02:25:57PM -0400, ashalper cox net a écrit:
I have some text in an object that I would always like to be ALIGN_LEFT.  I don't want the text alignment 
to be configurable in the object's property dialog, but I do want the other text properties such as 
PROP_STD_TEXT_FONT, PROP_STD_TEXT_HEIGHT, and PROP_STD_TEXT_COLOUR to be configurable in the object's 
property dialog.  How would I do that?

you would define a property just like PROP_STD_ALIGN, except that you'd flag
it as non-visible (see the definition of PROP_STD_ALIGN). 

You'll have to rename the property if you don't want people to circumvent
the invisibility of the property through grouping, though.

        -- Cyrille

-- 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]