RES: RES: JvInspector without variable

"cassab" <[email protected]> Fri, 5 Aug 2005 13:53:20 -0300
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <[email protected]>
OK, thanks !!!!

   _____  

De: [email protected] [mailto:[email protected]] Em nome
de Marcel Bestebroer
Enviada em: sexta-feira, 5 de agosto de 2005 13:31
Para: [email protected]
Assunto: Re: RES: [Delphi-JEDI] JvInspector without variable


> Now, i whant to do this:
> +--------------------------------+
> | MyName | GUSTAVO |
> +--------------------------------+
>  
> Only show the value "Gustavo"... the user will not edit it.

     So basically you want to show a constant in the inspector? That's 
not gonna work. The inspector expects either a variable or a property 
(or an ini file entry). But, you can make individual items read-only:

var
   myNameHolder: string;

procedure TForm1.MyMethod;
begin
   myNameHolder := 'GUSTAVO';
   TJvInspectorVarData.New(confPlugins, 'My Name', TypeInfo(string), 
myNameHolder).ReadOnly := True;
end;

-- 
Marcel Bestebroer (Team JEDI) HYPERLINK
"http://delphi-jedi.org"http://delphi-jedi.org
Project JEDI Help coordinator
JEDI.NET team coordinator


   _____  

YAHOO! GROUPS LINKS 


	
*	 Visit your group "HYPERLINK
"http://groups.yahoo.com/group/Delphi-JEDI"Delphi-JEDI" on the web.
  

*	 To unsubscribe from this group, send an email to:
 HYPERLINK
"mailto:[email protected]?subject=Unsubscribe"Delphi-J
[email protected]
  

*	 Your use of Yahoo! Groups is subject to the HYPERLINK
"http://docs.yahoo.com/info/terms/"Yahoo! Terms of Service. 


   _____  



--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 8/6/2005



-- 
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.6.6 - Release Date: 8/6/2005
 


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hdkjrd4/M=362329.6886308.7839368.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123268455/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Delphi-JEDI/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/