[MSEide-MSEgui-talk] datamodule
Hi how to use datamodule ?, i create one and fill it with (tsqlite3connection , tmsesqltransaction , tmsesqlquery , tmsedatasource) , in the main form i create tdbstringgrid , and i setup every things . in design time the data is visible in tdbstringgrid , but in runtime its empty . do i need to create datamodule object inside main.pas ? -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] datamodule
On Thursday 26 March 2015 12:19:38 misu kun wrote: > Hi > how to use datamodule ?, i create one and fill it with > (tsqlite3connection , tmsesqltransaction , tmsesqlquery , > tmsedatasource) , in the main form i create tdbstringgrid , and i > setup every things . > in design time the data is visible in tdbstringgrid , but in runtime its > empty . do i need to create datamodule object inside main.pas ? > Better in main program, 'Project'-'Source', application.createdatamodule(...) before creating the main form. Martin -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] Skin center
Continue work. Link http://almin-soft.ru/data/files/tmp/skins.tar.bz2 Yours, A.M. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] datamodule
error dbtest.pas(11,37) Error: Incompatible type for arg no. 1: Got "tdatamo", expected "msecomponentclassty" createdatamodule function defined like this : function createdatamodule(instanceclass: msecomponentclassty; var reference): tmsecomponent; -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] datamodule
On Thursday 26 March 2015 18:08:01 misu kun wrote: > error > > dbtest.pas(11,37) Error: Incompatible type for arg no. 1: Got > "tdatamo", expected "msecomponentclassty" > How is tdatamo defined? Martin -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] datamodule
type tdatamo = class(tmsedatamodule) tsqlite3connection1: tsqlite3connection; tmsesqltransaction1: tmsesqltransaction; tmsesqlquery1: tmsesqlquery; tmsedatasource1: tmsedatasource; end; var datamo: tdatamo; 2015-03-26 18:30 UTC+01:00, Martin Schreiber : > On Thursday 26 March 2015 18:08:01 misu kun wrote: >> error >> >> dbtest.pas(11,37) Error: Incompatible type for arg no. 1: Got >> "tdatamo", expected "msecomponentclassty" >> > How is tdatamo defined? > > Martin > > -- > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > ___ > mseide-msegui-talk mailing list > mseide-msegui-talk@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk > -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] datamodule
On Thursday 26 March 2015 18:31:24 misu kun wrote: > type > tdatamo = class(tmsedatamodule) >tsqlite3connection1: tsqlite3connection; >tmsesqltransaction1: tmsesqltransaction; >tmsesqlquery1: tmsesqlquery; >tmsedatasource1: tmsedatasource; > end; > var > datamo: tdatamo; > Looks normal. Can you send the project? Martin -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] datamodule
dbtest.7z Description: Binary data -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] datamodule
Not application.createdatamodule(datamo); But application.createdatamodule(tdatamo, datamo); A.M. -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk