Re: Class Inherits
- From: johan.svallbring@xxxxxxxxx
- Date: Thu, 3 Jan 2008 00:00:11 -0800 (PST)
Thanks for your response.
The data I wanna draw is a number of probes that are connected to the
a set of routers that are connected to a set of servers. The
information regarding what I wanna draw is stored in a database, among
with other properties(i.e, IP, interface, etc)
To explain what I wanna do a bit further. I want make a sort of a list
with objects from a class, for the diffrent types of nodes. That is
one list with all the probes, one for the routers and one for the
servers. But since some of the properties of all theese nodes are
common for everyone I would like to make a base class that other
classes can Inherit. The usual OOP thinking.
So no, I don't want to drop the same shape, I want to drop the same
shape for every Probe, same for every router etc. But ofcourse add the
diffrent properties(IP, Interface etc) to each shape as text beside it
Hope this clears my thaughts a bit
Thanks
Mark Nelson [MS] skrev:
It's not clear what your intent is here. Do you want to drop the same shape.
every time and have it dynamically take on the right look based on your
data? That is a multi-shape, which you can learn more about here:
http://blogs.msdn.com/visio/archive/2006/07/21/673305.aspx
--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation
This posting is provided "AS IS" with no warranties, and confers no rights.
<johan.svallbring@xxxxxxxxx> wrote in message
news:b0159c94-33a6-4edd-900b-371933d7cb97@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Im new to VBA programming and I have a question.
My plan is to read information from a database(ADODB Connection). This
has been sorted allready.
I want to take this information and draw diffrent Symbols and populate
them with diffrent properties.
My question is then if I can make heritage with my classes, and if so
how do I define them
I want one base class that is a general figure, then 3 other that
inherits from this.
- Follow-Ups:
- Re: Class Inherits
- From: John Marshall, MVP
- Re: Class Inherits
- References:
- Class Inherits
- From: johan . svallbring
- Re: Class Inherits
- From: Mark Nelson [MS]
- Class Inherits
- Prev by Date: Re: Class Inherits
- Next by Date: Re: Class Inherits
- Previous by thread: Re: Class Inherits
- Next by thread: Re: Class Inherits
- Index(es):
Relevant Pages
|