Thread View: news.software.readers
3 messages
3 total messages
Started by Alain GUERIN
Tue, 10 Jun 2003 20:39
[Dialog]
Author: Alain GUERIN
Date: Tue, 10 Jun 2003 20:39
Date: Tue, 10 Jun 2003 20:39
31 lines
2165 bytes
2165 bytes
Hello,
I do my best to build script in Dialog, but there are many things that are
not self explained ( at least not enought for me ;-/ ) nor in the
documentation.
For example : when using Forms, Application is available.
I supposed that Application has more or less the same properties and methods
than Delphi Application component has.
So I was happy to find componentcount. But components is not recognised by
the compiler. So with
FOR Index := 0 TO Application.componentCount-1 DO
WriteLn(Application.Components.[Index].Name)
compilation stops with the message:
Failed when compiling
[Error] : Unknown identifier 'COMPONENTS'
Exception while compiling
Is there a place where I can find a more complete documentation than in the
help file scripting page ?
Thanks.
--
A.G.
Re: [Dialog]
Author: Juergen Haible
Date: Tue, 10 Jun 2003 21:35
Date: Tue, 10 Jun 2003 21:35
18 lines
1646 bytes
1646 bytes
Alain GUERIN: > FOR Index := 0 TO Application.componentCount-1 DO > WriteLn(Application.Components.[Index].Name) > > compilation stops with the message: The reason why I've said that its not that easy. ;-) > Is there a place where I can find a more complete documentation than in the > help file scripting page ? As you are familiar with Delphi, get the sources for "IFPS3" at www.carlo-kok.com. But Delphi internals like Components[] or Screen will have to be "linked" to the script engine by Marcus. -jh-
Re: [Dialog]
Author: Alain GUERIN
Date: Wed, 11 Jun 2003 05:16
Date: Wed, 11 Jun 2003 05:16
15 lines
1868 bytes
1868 bytes
On Tue, 10 Jun 2003 23:35:09 +0200, Juergen Haible wrote: >> Is there a place where I can find a more complete documentation than in the >> help file scripting page ? > As you are familiar with Delphi, get the sources for "IFPS3" at > www.carlo-kok.com. But Delphi internals like Components[] or Screen will > have to be "linked" to the script engine by Marcus. Thanks. As usual, there are many doors behind the door one opens ;-) -- A.G.
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