Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ver 5.3.4 Arrowheads (Read 2461 times)
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
ver 5.3.4 Arrowheads
Apr 14th, 2010 at 4:18am
Print Post  
Stoyan

In previous release I made use of the arrowhead value for storing links in a database for retrieval and use at a later date.

I realise the new version changes the basis of the arrowheads and I have made changes to accommodate this by using the arrowheads .id field with no problems.

However the arrowheads.none.id has no value in it e.g none

Doug Smiley
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ver 5.3.4 Arrowheads
Reply #1 - Apr 14th, 2010 at 5:36am
Print Post  
Hi Doug,

ArrowHeads.None is set to null / Nothing. You can assign an empty Shape instance to it, with Id set to "None", to avoid checking for null when dealing with arrowheads.

If you won't be using custom arrowheads, you could also store the standard shapes inside an array and use the array indices as database values. Thus you could continue using your existing DB schema.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
BidMaestro
Junior Member
**
Offline


to learn is to live

Posts: 74
Location: Australia
Joined: Apr 20th, 2008
Re: ver 5.3.4 Arrowheads
Reply #2 - Apr 14th, 2010 at 5:41am
Print Post  
Stoyan

Thank you; I had worked around the issue and thought that I should point it out in case anyone incurred the same.

Doug  Smiley
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint