[Gambas-user] Why is this code running twice?

Charlie charlie at ...2793...
Wed Aug 2 16:56:19 CEST 2017


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.




More information about the User mailing list