🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.opentoolsapi
Article #53

Re: Creating forms using OTA, 3 questions..

#53
From: Erik Berry
Date: Thu, 29 May 2008 07:36
16 lines
1393 bytes
Linces wrote:
> 1 - How i can modify the caption on labels?

IOTAComponent.SetPropByName is one method.

> 2 - How i can insert MainMenu in this form

IOTAFormEditor.CreateComponent

> 3 - How i can modify propertis like "color" in TLabels and in TEdits?

IOTAComponent.SetPropByName (if you want to use the OTA).  You can also do 
things like cast IOTAComponent.GetComponentHandle to a TEdit and just set 
"MyEdit.Color := clBlack;" directly;

Erik
Technical Details
Message-ID: <483e5d04$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47e7290e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c3df,cd731f35913e544
X-Google-Attributes: gid10c3df,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 29 May 2008 02:36:31 -0500
From: Erik Berry <eb@techie.zzzcom>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.opentoolsapi
Subject: Re: Creating forms using OTA, 3 questions..
References: <47e7290e$1@newsgroups.borland.com>
In-Reply-To: <47e7290e$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.154.119.7
Message-ID: <483e5d04$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1212046596 69.154.119.7 (29 May 2008 00:36:36 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail