Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.04.01;
Download: [xml.tar.bz2];

Down

How to cycle through all forms of a project in Design-Time? Find similar branches


deleon   (2002-03-21 12:29) [0]

How to cycle through all forms of a project in Design-Time?



Song   (2002-03-21 12:48) [1]

For example, so
With ListBox1.Items Do Begin Clear; Do For t: = 0 to ComponentCount-1 Do IF Pos ("Form", Components [t] .Name)> 0 then Add (Components [t] .Name); End;

However, if the standard names have been redefined, then you can search by the TForm class.



deleon   (2002-03-21 12:52) [2]

No, it's in runtime!
And how exactly in design-time?
When I press the right key on my component, I want to scan all forms of the project to create a description of the project in the ini-file!



deleon   (2002-03-21 14:00) [3]

Or how to get their list though?
Yes .. it seems that on this forum you can only ask questions like:
"How will PChar get out of line?"



Юрий Зотов   (2002-03-21 14:19) [4]

Search for the Toolservices string in the VCL source code (\ Source \ ToolsAPI \ ToolIntf.pas). There are detailed comments, read them and understand with OTAPI. After that, it will remain to write a fairly simple IDE expert.




deleon   (2002-03-21 15:04) [5]

Thank you!



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.04.01;
Download: [xml.tar.bz2];

Top





Memory: 0.56 MB
Time: 0.018 c
3-29
Anatoly
2002-03-07 07:51
2002.04.01
Writing data to the database via IBX components


3-2
Yakudza
2002-03-05 13:27
2002.04.01
Invalid blob handle in record buffer


14-293
Prog_SKV1
2002-02-15 09:04
2002.04.01
For starters conversation!


3-6
Malder
2002-03-05 19:23
2002.04.01
How to cancel a transaction in a trigger?


4-345
Di_wind
2002-01-30 20:20
2002.04.01
Terminateproccess





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic Indonesian Irish italian Japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Spanish swahili Swedish Thai turkish Ukrainian urdu Vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada Khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish