Hi Kristian That is brilliant ! In fact it has a lot in common with what I am trying to do in Visual FoxPro. My problem is that I can't see what I need to do in VFP in order to reference SVGDocument() when all I have at the moment is the SVG file on disk. It is getting to this starting point that is a hurdle I have yet to clear
kristianpalm wrote: > > Hi > > I have a site that does i little of what you want to do. > > http://www.mapper.se/minegenkarta/main.asp?lang=langEN > <http://www.mapper.se/minegenkarta/main.asp?lang=langEN> > > If you make a map there and then view the source in the left frame > you will se the scripts that i use to change colors in the map. > > Regards Kristian > > --- In [email protected] > <mailto:svg-developers%40yahoogroups.com>, Paul Newton <[EMAIL PROTECTED]> > 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 [email protected] > <mailto:svg-developers%40yahoogroups.com> > > > <mailto:svg-developers%40yahoogroups.com>, "foxpertise" <paul@> > 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] > > > > > ------------------------------------------------------------------------ > > 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] ----- 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/

