Search found 16 matches

by pusherman
Saturday 13th April 2024 1:19pm
Forum: Beginners
Topic: Background colours in TextEditor
Replies: 3
Views: 2559

Re: Background colours in TextEditor

Thank you!
by pusherman
Saturday 13th April 2024 11:16am
Forum: Beginners
Topic: Background colours in TextEditor
Replies: 3
Views: 2559

Background colours in TextEditor

Hi all, I'm using a TextEditor control but I'm having difficulty in working out how to set the background colour. I've looked through the online documentation where it talks about styles and themes but, unless I'm missing something, I can't find anything to answer my question. I'm looking for the eq...
by pusherman
Sunday 17th March 2024 12:39pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 4902

Re: Using CsvFile.Fields

:) Yes, the update works fine for me.

Thanks for your help, guys.
by pusherman
Saturday 16th March 2024 12:18pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 4902

Re: Using CsvFile.Fields

Thanks for looking, I'm on the latest version.

I have a work-around that's okay for me. I'm reading the first line of the file with a simple Line Input and substituting what I've read with what .Fields gives me.

Thanks, again.
by pusherman
Friday 15th March 2024 9:18pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 4902

Re: Using CsvFile.Fields

Thanks, but at the risk of sounding dumb I can't figure out what format KeepNames takes.

If I say myCSVfile.KeepNames=True then myCSVfile.Fields just returns #0

What am I missing, here?
by pusherman
Friday 15th March 2024 7:13pm
Forum: Beginners
Topic: Using CsvFile.Fields
Replies: 10
Views: 4902

Using CsvFile.Fields

Hi all, I'm using CsvFile to read some quite large CSV files and all is okay apart from CsvFile.Fields. I notice in the documentation that field names are set to lower case, why is this? In the files I am using all the field names are capitalised, some are all capitals (acronyms for example), so to ...
by pusherman
Wednesday 10th January 2024 8:42am
Forum: Beginners
Topic: How to check if two files are identical
Replies: 4
Views: 2341

Re: How to check if two files are identical

Both options work, I'll toss a coin to decide which one to use :D

Thanks for your time.

Pusherman
by pusherman
Tuesday 9th January 2024 7:08am
Forum: Beginners
Topic: How to check if two files are identical
Replies: 4
Views: 2341

How to check if two files are identical

Hi all

Is there a way to check if two files are identical?

I notice that there is a gb.Hash class where you can get a hash value of some specified text, but this doesn't give the hash value of a specified file.

I want to be able to say;
a=hash(file1)
b=hash(file2)

does a=b?

Thanks for looking
by pusherman
Friday 17th November 2023 3:03pm
Forum: Beginners
Topic: Dropping a file onto TextArea
Replies: 3
Views: 3626

Re: Dropping a file onto TextArea

Thank you :D

Made the changes you suggested and it works fine.
by pusherman
Friday 17th November 2023 9:44am
Forum: Beginners
Topic: Dropping a file onto TextArea
Replies: 3
Views: 3626

Dropping a file onto TextArea

Hello all, I am having a problem with a drop event that I hope someone can help with. I have simplified the problem to the following... I have a form that contains only two controls; a TableView and a TextArea. The text area is set to allow drop by default. When I drag a file off my desktop into the...