|
-
Jun 22nd, 2006, 10:44 PM
#1
Thread Starter
Fanatic Member
Draw Override function in Visio
i'm using Visio that comes with VS.NET 2003..(Visio Enterprise Architect SR1? if i'm not wrong)
want to ask how to make an Override Function?
since i'm able to make an Abstract Class that if i do Generate Code (VB), it
would have
ex: Public MustInherit Class ClassA
public MustOverride Function MethodA
public MustOverride Function MethodB
but i'm not able to figure it out how the Derived Class from ClassA can have
Public Overrides Function MethodA
Public Overrides Function MethodB -> if i choose Generate Code
hope u understand what i mean
PS: not sure if i post in right forum..
thx,
erick
-
Jun 22nd, 2006, 10:52 PM
#2
Re: Draw Override function in Visio
If you want an overrides function then you need to declare the signature as "Public Overridable".
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jun 23rd, 2006, 12:13 AM
#3
Thread Starter
Fanatic Member
Re: Draw Override function in Visio
thx Rb
If you want an overrides function then you need to declare the signature as "Public Overridable".
that's true for Polymorphism so i need to check the IsPolymorphism in Operations Tab in UML Class Properties..but not for Abstract Class/Function
from what i read
if u got MustOverride Function in Base Class u must declare Overrides Function in Derived Class
(it is an Abstract Function in the Abstract Class(the Base Class))
just curious how to that in Visio..been 2 days now try to figure it out.I begin to think that Visio can't do that..but why it can have Abstract (MustOverride) Function then :confuse:
Last edited by erickwidya; Jun 23rd, 2006 at 12:18 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|