Search found 1113 matches

by cogier
Sunday 17th March 2019 11:05am
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 7297

Re: Useful Links Code

When did the array.Max turn up or has it always been there ? It's been around for some time, it is just the same as .Count -1 Continue jumps to Next, try this: - Public Sub Form_Open() For iCount As Integer = 1 To 10 If Odd(iCount) Then Continue Print iCount Next 'Result = 2, 4, 6, 8, 10 End The 'A...
by cogier
Saturday 16th March 2019 4:22pm
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 7297

Re: Useful Links Code

Hi Quin,

Matt and I have looked at your code and made a few changes. Does this help?
Test1.tar.gz
(12.61 KiB) Downloaded 403 times
by cogier
Friday 15th March 2019 11:56am
Forum: General
Topic: Useful Links Code
Replies: 6
Views: 7297

Re: Useful Links Code

I get an error: -

Unknown identifier: Tmpint in FMain.class:25
by cogier
Wednesday 13th March 2019 3:50pm
Forum: General
Topic: DateTime Error
Replies: 17
Views: 18053

Re: DateTime Error

It works OK for me.

Image

You can change line 10 to: -
d.Value = "01/01/2019"
Same result.
by cogier
Wednesday 13th March 2019 11:45am
Forum: General
Topic: DateTime Error
Replies: 17
Views: 18053

Re: DateTime Error

@Cedron .Move() does what you four lines did in one
I did not need either the following worked fine: -
Public Sub Form_Open()
Dim d As DateBox

d = New DateBox(Me)
d.Value = CDate("01/01/2019")
Print d.Value

End
by cogier
Wednesday 13th March 2019 11:41am
Forum: General
Topic: DateTime Error
Replies: 17
Views: 18053

Re: DateTime Error

I tried this and it works as expected. Is this a language problem?

I am using en_GB.UTF-8 (British)
Stevedee en_GB.UTF-8 (British) - I presume
Quincunxian en_AU.UTF-8 (Austrailia)
Cedron en_US.UTF-8 (USA) - I presume
Sholzy en_US.UTF-8 (USA) - I presume

Just a thought!
by cogier
Friday 8th March 2019 4:00pm
Forum: Lounge
Topic: Hi everybody!
Replies: 6
Views: 10278

Re: Hi everybody!

Hi Shordi from Spain and welcome to our happy little forum.

What is a 'padawan'?
by cogier
Thursday 7th March 2019 3:26pm
Forum: General
Topic: What about Inc, Dec?
Replies: 10
Views: 12964

Re: What about Inc, Dec?

"...you can check-out anytime you like, but you can never leave..." {the Brexit song by Jean-Claude Juncker}
Very good Steve. You had me laughing this morning with this.

Inc myPostCount
by cogier
Saturday 23rd February 2019 12:49pm
Forum: General
Topic: Buttons access like an array
Replies: 16
Views: 18934

Re: Buttons access like an array

OK I suggest Linux Mint 64bit with the Cinnamon desktop or Ubuntu 18.04 LTS or if you want KDE get Kubuntu 18.04.

However, here is the same code with no 'Springs'.
Tiles2.tar.gz
(46.02 KiB) Downloaded 384 times
by cogier
Saturday 23rd February 2019 10:50am
Forum: General
Topic: Reading groups of RadioButtons
Replies: 4
Views: 5815

Re: Reading groups of RadioButtons

If you change the name of the RadioButtons to: - RadioButton0 RadioButton1 RadioButton2 RadioButton3 Add a group name to all the RadioButtons e.g AllRadioButtons then add the following code: - Public Sub AllRadioButtons_Click() Settings["System/Header/Main"] = Right(Last.name) Settings.Sav...