RES: RES: JvInspector without variable

"cassab" <[email protected]> Fri, 5 Aug 2005 14:12:56 -0300
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <[email protected]>
An other question ...
 
I want to do this :
 
A inspector with 3 collums.
+------------------------+
| Id   |   150   |  ... |
+------------------------+
 
Where :
 
Id = field's name
150 = field's value, read only
... = a button, when i click it, open some Form.
 
PS.: Do you know where can i find some documentation about JcInspector ? The
examples are not well documented.

   _____  

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=12hsvm4ve/M=362335.6886445.7839731.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123273297/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In low income neighborhoods, 84% do not own computers. At Network for Good, help bridge the Digital Divide!</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/