Search found 191 matches

by cogier
Friday 28th October 2016 11:59am
Forum: General
Topic: Gridview scrollbars
Replies: 2
Views: 601

Re: Gridview scrollbars

Thanks for this. You have pointed me in the right direction. By using the amount of Rows and multiplying by the height of the Row the Form height required can be calculated.

A sample program is attached.
take1.tar
(500.5 KiB) Downloaded 53 times
by cogier
Thursday 27th October 2016 3:35pm
Forum: General
Topic: Gridview scrollbars
Replies: 2
Views: 601

Gridview scrollbars

I want to know if the scrollbars of a GridView are being displayed. Unfortunately the GridView.Scrollbar only reports the setting and not if it is being displayed.

The idea is that if the vertical schrollbar bar is showing I could increase the height of the form until the Scrollbar disappears.
by cogier
Friday 14th October 2016 3:17pm
Forum: Lounge
Topic: Raspberry Pi update
Replies: 9
Views: 1700

Re: Raspberry Pi update

If this is the one in the Gambas Farm

Image

Then it crashes here

Image
by cogier
Tuesday 11th October 2016 3:47pm
Forum: General
Topic: FileChooser
Replies: 1
Views: 537

FileChooser

With a FileChooser Is there a way to set the value of the 'icon size control' using software?

Image

The setting (32/&H20) goes from 0 to 256. The default is 32 as in both images here.

Image
by cogier
Monday 03rd October 2016 3:19pm
Forum: Lounge
Topic: Raspberry Pi update
Replies: 9
Views: 1700

Raspberry Pi update

There is a new Desktop for the Raspberry Pi. Check out the 'PIXEL' desktop https://www.raspberrypi.org/blog/introducing-pixel/
by cogier
Friday 30th September 2016 3:41pm
Forum: General
Topic: Interesting pieces of code
Replies: 3
Views: 810

Re: Interesting pieces of code

This is another piece of code I liked. I had a database stored in a .csv file but I wanted to display the contents in a particular order. This code is not exactly as used but simplified to show the principle. Public Sub Form_Open() Dim sInputString As String[] = ["One ", "Three ", "Zero ", "Five", "...
by cogier
Monday 26th September 2016 5:59pm
Forum: General
Topic: Interesting pieces of code
Replies: 3
Views: 810

Re: Interesting pieces of code

Well I was pleased with this: - Public Sub Form_Open() Dim sTemp As String = "This is a very badly spaced string" Dim sCheck As String Repeat sCheck = sTemp Print sTemp sTemp = Replace(sTemp, " ", " ") Until sCheck = sTemp sTemp = Replace(sTemp, " is", " WAS") Print "\n" & sTemp End
by cogier
Monday 26th September 2016 4:50pm
Forum: Lounge
Topic: You are welcome
Replies: 13
Views: 2222

Re: You are welcome

Thanks to all of you for joining. The more the merrier! :D
by cogier
Monday 26th September 2016 4:41pm
Forum: General
Topic: Normally distributed curve formula
Replies: 8
Views: 1888

Re: Normally distributed curve formula

I have tried your solution but it seems very complicated. Have a look at the attached for a different solution, but still using the Bell Curve principle.
take1.tar
(30.5 KiB) Downloaded 63 times
by cogier
Sunday 25th September 2016 4:55pm
Forum: General
Topic: Normally distributed curve formula
Replies: 8
Views: 1888

Re: Normally distributed curve formula

Regarding the lines, see the attached. I'll have a go at the circles later.
take1.tar
(27 KiB) Downloaded 75 times