Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Dynamic TGrids
Mon, Sep 10 2012 3:36 PMPermanent Link

Mark Brooks

Slikware

Avatar

Tim,

Can I ask if there's anything special that I need to consider when creating a TGrid instance at runtime? I am designing a very basic component that I create when needed at runtime. The component descends from a TPanel and creates its own TGrid (which it "owns") to display information. I am seeing some very strange exceptions in respect of "attaching events". Do you have any sample code?

Thanks
Mark

PS. Release one of our product (Castrum Spaces) has gone down exceptionally well with "warm clients". Will roll out to more shortly. EWB continues to impress.
Tue, Sep 11 2012 2:52 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mark,

<< Can I ask if there's anything special that I need to consider when
creating a TGrid instance at runtime? I am designing a very basic component
that I create when needed at runtime. The component descends from a TPanel
and creates its own TGrid (which it "owns") to display information. I am
seeing some very strange exceptions in respect of "attaching events". Do you
have any sample code? >>

There isn't any difference in the framework between creating a grid at
design-time vs. run-time.  At run-time, everything is essentially created
dynamically, even the controls that are placed on a form at design-time.
The only difference is whether you write the code or the compiler emits the
code for you.  You do need to set some basic properties such as
height/width/parent, but that's about it.

What exceptions/problems are you seeing ?

<< PS. Release one of our product (Castrum Spaces) has gone down
exceptionally well with "warm clients". Will roll out to more shortly. EWB
continues to impress. >>

Fantastic.  You'll have to post some screen shots, if possible. Smile

Thanks,

If you have any other questions, please let me know.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Sep 12 2012 3:23 PMPermanent Link

Mark Brooks

Slikware

Avatar

<<What exceptions/problems are you seeing ?>>

Sorry Tim. I've got around this in a slightly different manner now, due to time constraints. However, I'll try and look back at it over the next week or so. It was definitely an issue with "unable to attach event" or something similar. Sorry to be so vague.

<<Fantastic.  You'll have to post some screen shots, if possible. Smile>

I'll do better. We have a public beta out shortly and I'll drop a login up on the forum.

Thanks again - Mark
Thu, Sep 13 2012 1:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mark,

<< Sorry Tim. I've got around this in a slightly different manner now, due
to time constraints. However, I'll try and look back at it over the next
week or so. It was definitely an issue with "unable to attach event" or
something similar. Sorry to be so vague. >>

No problem.

<< I'll do better. We have a public beta out shortly and I'll drop a login
up on the forum. >>

Cool, thanks.  I love seeing these finished products. Smile

Tim Young
Elevate Software
www.elevatesoft.com
Image