Fernando Cabral wrote > I am trying to create a sundial faceplate. I took the analogic clock, > discarded what I did not need and thought I was ready to work on the > calculations and drawing of the hour angles. > > Nevertheless, I am mystified by two things I can't understand: > a) The code produces a loop I can't see why (I am not referring to the FOR > loop) > b) I can't modify the drawing area dimensions ( dwgArea.width = 800 does > not work) > > Besides, I have a question: when a drawing area is created, it (0,0) > supposed to be the central point?
Have a look at the excellent program 'Painting' which is on the Farm under Example. ----- Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Why-is-this-code-running-twice-tp59978p59985.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user