Thread View: borland.public.delphi.opentoolsapi
2 messages
2 total messages
Started by Linces
Mon, 24 Mar 2008 04:07
Creating forms using OTA, 3 questions..
Author: Linces
Date: Mon, 24 Mar 2008 04:07
Date: Mon, 24 Mar 2008 04:07
15 lines
1360 bytes
1360 bytes
Hello, I�m using OTA to create forms automatically, i can nominate, and i can insert labels in this form. I�m using Delphi 7 on Windows XP. I have 3 questions: 1 - How i can modify the caption on labels? 2 - How i can insert MainMenu in this form, and menu items on this MainMenu? 3 - How i can modify propertis like "color" in TLabels and in TEdits? If need the code that i use the example i sent. Thank�s
Re: Creating forms using OTA, 3 questions..
Author: Erik Berry
Date: Thu, 29 May 2008 07:36
Date: Thu, 29 May 2008 07:36
16 lines
1393 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads