I'm using delphi 5 for a uni assignment I need to implement a path object which contains an array of points, the colour of the line and the width of the line. I also need to write the methods for accessing the colour and witdh and array of points and also methods to set the values of each.<br><br>I'm new to delphi but have muddle my way through some basics this week but i am really stuck with creating a class with properties and accessing those properties, i've been using the var section to hold the above variables and can write methods to access them but when trying to tie it all into the class declaration it all falls apart and i get access violation errors when i click on the form (it compiles fine though).<br><br>I'd really appreciate any help i can get on this as my deadline is getting close and i seem to be going round in circles and not going anywhere as all the literature i read is based on existing components not user created objects