Search found 183 matches

by stevedee
Friday 17th January 2020 9:12am
Forum: Component
Topic: Does anyone understand the gb.Map component?
Replies: 6
Views: 63

Re: Does anyone understand the gb.Map component?

vuott wrote:
Thursday 16th January 2020 11:20pm
...from Wiki of italian Gambas Forum...
Many thanks vuott, that looks like a great resource.

This image shows an English translation of topics:-

Map_Italian.png
Map_Italian.png (74.95 KiB) Viewed 16 times
by stevedee
Thursday 16th January 2020 10:28pm
Forum: Project showcase
Topic: Plotting GPS tracks with gb.Map
Replies: 1
Views: 23

Plotting GPS tracks with gb.Map

This project is primarily to demonstrate the use of gb.Map.

It will open GPX files from GPS devices (such as the Garmin eTrex) and display recorded tracks on a map.
Map_GPS.png
Map_GPS.png (244.79 KiB) Viewed 23 times
There are 2 sample GPX files included in the project attachment.
GPS_SD.tar.gz
(51.91 KiB) Downloaded 3 times
by stevedee
Thursday 16th January 2020 9:56pm
Forum: Component
Topic: Does anyone understand the gb.Map component?
Replies: 6
Views: 63

Re: Does anyone understand the gb.Map component?

Ok, I now have a much better idea of how to use the Map component. Here is a simplified example, which uses the MapView graphical component as a drawing area. The first step is to select a map. I'm using a free "Hike & Bike" OpenStreetMap, and the terms & conditions require me to display a copyright...
by stevedee
Thursday 16th January 2020 9:53am
Forum: Component
Topic: Does anyone understand the gb.Map component?
Replies: 6
Views: 63

Re: Does anyone understand the gb.Map component?

The exclamation point (! or 'bang') looks like a dictionary access operator... You are spot-on Steve. Generally, there are 3 collection types in computer science; array, set & dictionary In Gambas (& VB) a Collection is basically a Dictionary , and we can use the "!" as follows:- Dim Cars As New Co...
by stevedee
Wednesday 15th January 2020 10:16am
Forum: General
Topic: Addressing several objects on a form in 1 line of code
Replies: 4
Views: 54

Re: Addressing several objects on a form in 1 line of code

...Is there a way to call all the objects on the form with the same name but a different number? Yes, you probably need to use a Control Group. Take a look at Quin's answer in this thread:- https://forum.gambas.one/viewtopic.php?t=664 Edit: I just tried this code based on Quin's:- Public Sub Button...
by stevedee
Wednesday 15th January 2020 9:55am
Forum: Component
Topic: Does anyone understand the gb.Map component?
Replies: 6
Views: 63

Re: Does anyone understand the gb.Map component?

...The exclamation point (! or 'bang') looks like a dictionary access operator... Thanks Steve, that's another clue. I'm familiar with "!" being using to access fields in a database, like this extract from one of my old Gambas projects:- 'use most recent (latest) times in me-tv schedule If (tvRecor...
by stevedee
Wednesday 15th January 2020 9:27am
Forum: Lounge
Topic: Ton-up!
Replies: 2
Views: 27

Ton-up!

I just noticed that membership of this forum has now reached 100, so congratulations to cogier and jornmo.

Gambas is not a wildly popular programming language, so I think this English language forum is doing well, and has managed to remain a pleasant, friendly place to hang out.
by stevedee
Tuesday 14th January 2020 8:02pm
Forum: Component
Topic: Does anyone understand the gb.Map component?
Replies: 6
Views: 63

Does anyone understand the gb.Map component?

I've spent a few hours this rainy afternoon taking my first look as this Map component. I often struggle with Gambas documentation because I'm really thick, so I'm looking for advice. I started with a new project and just dragged a MapView onto the main form. The first bit of code is quite easy:- Pu...
by stevedee
Monday 13th January 2020 8:05pm
Forum: Project showcase
Topic: Is the ISS overhead?
Replies: 1
Views: 37

Is the ISS overhead?

Following on from Cogiers Nasa project, this one basically lists the date & time of future passes of the International Space Station over the entered location co-ordinates (latitude & longitude). ISSpass.png It will also list the names of the people currently "in space", ...just because this was an ...
by stevedee
Thursday 09th January 2020 8:50am
Forum: Project showcase
Topic: Fruit machine
Replies: 5
Views: 79

Re: Fruit machine

This is just a bit of fun... "Good game, good game!" (...google "Bruce Forsyth" if you are not a Brit) My only suggestion would be to add a jack-pot win for one combination of, say, 100 credits. I guess you could also get players to enter their names and have a high-score leaders board. Charlie, I ...