Board index » delphi » How to use 'non visual components'?
Marinus den Breejen
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
|
Marinus den Breejen
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
How to use 'non visual components'?Hello, I want to use the TTable in a (self made) object, and I don't want to use a When I declare Table as TTable in my object, I get runtime errormessages. Sorry for my english, Marinus |
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'? |
Marinus den Breeje
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'?This generates an 'access violation': function Marinus den Breejen <marin...@harley.nl> wrote in article > I want to use the TTable in a (self made) object, and I don't want to use > When I declare Table as TTable in my object, I get runtime errormessages. > Sorry for my english, > Marinus |
Jan de Visse
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'?Try (top of my head, don't shoot ;-): Var table: TTable; JdV!! QuoteMarinus den Breejen wrote: ======================================================================== Jan de Visser etmjdvi@_aom_.ericsson.se M?/ETX/A/B NMAC Team SAC (Remove underscores) tel. +46 31 74 71890 ECN 865 71890 Vette pech voor de kabouters! ======================================================================== |
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'? |
Jason Wallac
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'? First, don't EVER name a component after it's parent type... (ie. naming Now, why in the world are you creating a TTable at run-time? (Because you However, if you're that deteremined to do it, good luck... You're going -- QuoteMarinus den Breejen wrote in message Quote>Hello, |
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'? |
Jason Wallac
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'? It's also because of the variable... Never name a component after it's -- QuoteJan de Visser wrote in message <34F40144.11595CF6@_aom_.ericsson.se>... |
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'? |
Conor Boy
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'?No offence Jason, but I don't think it's stupid at all. I quite often Also forgive me if I'm wrong, but surely "Table1" is as differently named I don't think luck comes into it. As a developer, I'm quite capable of Regards, -- Jason Wallace <Dark...@SLSoftware.reno.nv.us> wrote in article Quote> First, don't EVER name a component after it's parent type... (ie. |
Jason Wallac
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'?QuoteConor Boyd wrote in message <01bd4299$222dd360$d950dfc2@conors>... then hooking up all the controls... Why? (because you don't want to look at the TTable component on a form? As I said, that's stupid... It stil uses the same resources, so you're only causing more work for yourself...) Quote>Also forgive me if I'm wrong, but surely "Table1" is as differently named etc....) -- That causes problems.... Quote>I don't think luck comes into it. As a developer, I'm quite capable of what's known as 'I think you're wasting your time, but hey... Good luck'. Jason Wallace |
Conor Boy
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Re:How to use 'non visual components'?Hi Jason, Jason Wallace <Dark...@SLSoftware.reno.nv.us> wrote in article Quote
The original poster said: Quote> I want to use the TTable in a (self made) object, and I don't want to use controls up at all. Maybe that's just my interpretation of his English, but I _think_ that he wanted to know how to cleanly instantiate a TTable object without a form, which is what a few people have told him how to do, perfectly validly. Cheers, -- |
1. Problems using TServer/TClinet Components in non visual applications
2. Connecting to SQL Server using non-visual components
3. Displaying visual and non-visual component-icons
4. Visual Component in non-visual application
5. Using DLL's created with Borland under Microsoft Visual C++
6. Printing a Visual Component's Canvas ?
7. Problems creating visual components in DLL's