Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Jesus Guardon
Are you sure meridians go from -90 to 90? Ore are they parallels? So, correct me if I am wrong, Parallels go from south to north, and Meridians from east to west (or vice-versa). Oooops, yes, of course it was my mistake!. May be English isn't my native language... LOL Now I think I've got it.

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Jesus Guardon
Or are you starting with those distorted maps where Greenland is the size of the United States on a flat map? -Lee Yes, I'm using UTM Maps, because they are regularly spaced. I am not an expert in Map Projections, but it works for me. Cheers Jesus Guardon -- View this message in context:

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Lee McPherson
Forgive me for not following the whole thread, but are you trying to convert a spherical lat and long to a planar x,y coordinate system? Or are you starting with those distorted maps where Greenland is the size of the United States on a flat map? Because if you want to use real world maps and

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Doriano Blengino
Jesus Guardon ha scritto: > Hi Doriano and list > > First of all, many thanks for your input. > > Yes, you are right about geographic coordinates; in real world the > intersection between Ecuatorial line and Greenwich meridian is the > coordinate 0;0. Meridians above increase up to 90 degrees to

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Jesus Guardon
Hi Doriano and list First of all, many thanks for your input. Yes, you are right about geographic coordinates; in real world the intersection between Ecuatorial line and Greenwich meridian is the coordinate 0;0. Meridians above increase up to 90 degrees to North and below to -90 South. By the

[Gambas-user] error calling external function but not when debugging

2008-12-15 Thread je ber lo
hello, I'm using gambas 2.8 on debian and I'm getting different result when debugging code ( the result is a md5 hash string (32 characters)) but no when executing in a normal way. The error is Failed to set text from markup due to error parsing markup: Error on line 1 char 10: Invalid UTF-8 encod

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-15 Thread M0E Lnx
I've tried the Show event, but I get the same results. The forms.Show or Open events are not getting called. They're just getting Raised So, How do I run code in the forms Show or Open event? On Mon, Dec 15, 2008 at 10:56 AM, Steven Lobbezoo wrote: > I think you need to use the form's show even

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-15 Thread Steven Lobbezoo
I think you need to use the form's show event, not the open event. Steven Le lundi 15 décembre 2008 à 09:36 -0600, M0E Lnx a écrit : > BTW, the functions that populate my content are called in each form's > _Open() event > > > On Mon, Dec 15, 2008 at 9:34 AM, M0E Lnx wrote: > > After testing

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-15 Thread M0E Lnx
BTW, the functions that populate my content are called in each form's _Open() event On Mon, Dec 15, 2008 at 9:34 AM, M0E Lnx wrote: > After testing this, I do have a question though. > > My forms have objects like treeviews, listboxes, etc which get > populated by running external functions. > S

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-15 Thread M0E Lnx
After testing this, I do have a question though. My forms have objects like treeviews, listboxes, etc which get populated by running external functions. So, when I implement your example into my project, the navigation works perfectly, My forms however do not. My content shows up only when I'm go

Re: [Gambas-user] import mysql dump

2008-12-15 Thread Werner
wig wrote: > Although I can create table by table from within Gambas with > hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a > mysql dump file, so that I can create the tables with data (in one > command). > > Untill now I allways used phpMyAdmin dump/export and import for cr

Re: [Gambas-user] Emulating wizard Back/Next navigation

2008-12-15 Thread M0E Lnx
Yes!... this is exactly how I need it to work. Thank you On Sat, Dec 13, 2008 at 2:23 AM, Fabien Bodard wrote: > it better to have a demo ... and it work fine ... > > take it and tell me if that is what you want. > > -- >

[Gambas-user] import mysql dump

2008-12-15 Thread wig
Although I can create table by table from within Gambas with hCon.Databases.Add(sDbName), I wondered if there is a way to "import" a mysql dump file, so that I can create the tables with data (in one command). Untill now I allways used phpMyAdmin dump/export and import for creating the database st

Re: [Gambas-user] Coordinate system in Gambas Graphics

2008-12-15 Thread Doriano Blengino
Jesus Guardon ha scritto: Doriano Blengino wrote: simple linear transformation is possible by using draw.translate() and draw.scale(); draw.reset() will reset the transformation matrix. Draw.push() and draw.pop() exist to save and restore the matrix. Hi all Well, I'm totally lost w