Initialise an object inside of VE [message #607203] |
Thu, 21 April 2005 07:09 |
Elena Demeter Messages: 152 Registered: July 2009 |
Senior Member |
|
|
Hello,
when the application on my job will be started an object "properties" will
be created that sets some properties for the application. All the visual
components must have access to this object (e.g. the labels can have text
in different languages on it, for this reason the labels get text strings
from this object).
The important thing is that the object "properties" must be created before
the visual components are created. If I drop components from the palette I
get an exception because my object is not initialized.
I would like to initial my object inside of VE in order that all my
components have access to this object.
Thus the first and the best option would be to initial an object inside of
VE for all objects. The second one would be to initial an object for each
component (may be in edit part or somewhere else).
The thing is it is not reasonable to initial an object in the code for
each component itself. Because later when the application is started there
would be thousands of such objects.
I know it is maybe not easy to understand my intention. If not everything
is clear, please ask :-)
I would be glad to get any hint or help :-)
Thank you very-very much
Elena
|
|
|
Powered by
FUDForum. Page generated in 0.18986 seconds