Dear NZ Group,

If I set the helpkey string at run time, and immeadiately showmessage it. its 
there ok.

     thisCOntrol :=  thisForm.Controls[countCntrls ] ;

   if  (thisCOntrol.HelpKeyword = '') and fileexists(pancommonvars.panProgPath 
+ 'html\'+buildKYWRD + '.html') then
                       begin
                         thisCOntrol.HelpKeyword := buildKYWRD ;
                           thisControl.HelpType := htKeyword;
                 
                   //   *** both the following (equiv) work and show the string 
in buildKYWRD 

                             showMessage(thisForm.Controls[countCntrls 
].HelpKeyword  );
                             showMessage(thisCOntrol.HelpKeyword )
                       end;

However when I later access it in the same sesion of the application - (with no 
code that removes it in the project at all) - its blank.


     // this comes out blank!
         showmessage((screen.ActiveControl as tcontrol).HelpKeyword);


Can this property be set at runtime?  
Should it persist for the current sesion of the application?

I'm using D2005 PRO UPDATE 3

Paul
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to