Hi Paul, Check out https://meapplicationdevelopers.dev.java.net/phoneme_ui_labs.html. This site has a lot of simple SVG tutorials and demos, along with code. There are some examples that do what you want, change colors and other attributes using the DOM APIs. Though meant for mobile devices, the DOM manipulation code is the same as for desktop apps. -Venky
Paul Newton wrote: > > Hi Samuel > > Perhaps if I expplain what I am trying to do it might help you and other > to help me ! > > The SVG file on disk is a map of African countries (each country has an > ID in the SVG document which is the name of the country). I want to > display this drawing on a form in a VFP application and enable the > application to change the fill colors of various countries according to > data kept in a VFP table. So I need to know what I need to do/need to > have in order to manipulate the drawing elements from VFP (or VB for > that matter). > > Cheers > > Paul > > Samuel Dagan wrote: > > > > Hi Paul, > > > > As far as I understand, you have a SVG file. SVG is open source, so > > you can open it with any editor and look at his content. The changes > > you want to make can be done in different ways: by hand, by > > scripting, etc. Why do you need a Microsoft tool, while MS does not > > support SVG? > > Cheers, Samy > > > > --- In svg-developers@ yahoogroups. com > <mailto:svg-developers%40yahoogroups.com> > > <mailto:svg- developers% 40yahoogroups. com>, "foxpertise" > <[EMAIL PROTECTED]> wrote: > > > > > > I am new to SVG and although my needs are fairly simple I can't seem > > > to get started. I have an SVG file on disk (it's a map of countries > > > in Africa). I need to change the fill colors of some > > shapes/countries > > > from a VFP application (don't worry if you are not familiar with > > > Foxpro - a solution that will work with VB can be adapted for FP). > > > > > > So, presumably, I need to load the document from disk, get a > > reference > > > to the SVG Document object and manipulate the shapes using the > > > properties and methods of the DOM. Is that right ? > > > > > > OK, so how do I go about this ? What SVG software/tools etc do I > > need > > > to get started ? > > > > > > I hope somebody can give me some ideas because I have been really > > > struggling with this > > > > > > Thanks. > > > > > > > > > ------------ --------- --------- --------- --------- --------- - > > > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.5.472 / Virus Database: 269.8.13/843 - Release Date: > 10/06/2007 13:39 > > > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

