Thank You...

Am Freitag, den 01.12.2006, 18:11 +0100 schrieb Mattias Gaertner:
> On Fri, 01 Dec 2006 03:46:13 +0100
> tanila <[EMAIL PROTECTED]> wrote:
> 
> > Hi all, 
> > 
> > i played arround with some Run-Time Translation of Conmpnents,
> > because I want to have such a feature in my apps. 
> > I found, that you have done some work on such things. the TCaption
> > properties can be scannde by using RTTI, very nice Smile. 
> > But I as I tried to use this functionality on TActionLists, I found,
> > that the Caption and Hint Properties of TContainedAction are of type
> > String. 
> > As I added some Lines in the ActionList unit: 
> > 
> >                                  Code:
> >                                     
> >                                  type 
> >                                     
> >                      TTranslateString = type String; 
> >                       TCaption = TTranslateString; 
> >                                     
> > 
> > 
> > To Avoid Circular references by with the Controls unit. 
> > After That i changed the String Properties of TContainded action to
> > TCaption. 
> > Now everything is fine for me. 
> > 
> > Now my questions: 
> > 1. Is there a reason why this String-Properties aren't replaced ? 
> > 2. Could my modification or some similar solution added to the units
> > to have the TTranslateString - Feature in Actions ? 
> 
> I moved TTranslateString from controls.pp to lcltype.pp and updated
> Caption and Hint in actnlist.pas.
> 
> 
> Mattias
> 
> 
> > 
> > Thanks for all the work everyone has done here, great job 
> > :)
> > 
> > Tanila
> > 
> > _________________________________________________________________
> >      To unsubscribe: mail [EMAIL PROTECTED] with
> >                 "unsubscribe" as the Subject
> >    archives at http://www.lazarus.freepascal.org/mailarchives
> 
> _________________________________________________________________
>      To unsubscribe: mail [EMAIL PROTECTED] with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to