Search found 8 matches

by pentilisea
Friday 13th October 2023 5:57pm
Forum: Beginners
Topic: embeded pictures px area
Replies: 3
Views: 3255

Re: embeded pictures px area

Thanks guys, will report when I looked at your suggestions. May take some time.
The italien code appears to be promissing.
For the other code regarding labels I need to switch to my linux box.

So, many thenks
Klaus
by pentilisea
Friday 13th October 2023 8:59am
Forum: Beginners
Topic: embeded pictures px area
Replies: 3
Views: 3255

embeded pictures px area

Hi there, I wonder, if there are methods to define a px area on/in an immage and assign it to an action. For example, if a picture shows a colored square and the user ckicks on it something should hapen - a value would be assigned or raised or being stored in variables or treated in a procedure ... ...
by pentilisea
Thursday 17th March 2022 9:35am
Forum: Beginners
Topic: FOR/NEXT loop with variables/ solved!
Replies: 4
Views: 2308

Re: FOR/NEXT loop with variables

Dear Cogler,
as always thanks so much for the spot on help. Often I'm spinning around the correct solution and simply not getting the syntax right.
Well, keeing trying and inching foreward .....
by pentilisea
Wednesday 16th March 2022 9:29am
Forum: Beginners
Topic: FOR/NEXT loop with variables/ solved!
Replies: 4
Views: 2308

Re: FOR/NEXT loop with variables

Hi, START and END values are set by user via 2 ValueBoxes. The Count of ListBox1 is displayed and normally between 150 and 250 items in the list. So, the user wants run a test via button TWO-UP say from 100 to 150, so 100 would be entered in Valuebox START und 150 in ValueBox END. Important to know ...
by pentilisea
Tuesday 15th March 2022 5:16pm
Forum: Beginners
Topic: FOR/NEXT loop with variables/ solved!
Replies: 4
Views: 2308

FOR/NEXT loop with variables/ solved!

Dear Friends, as my logic synapses aparently having gone on holidays, I'm stuck with 2 issues. First: With a For/Next loop like For i = ListBox1.count - 1 DownTo ListBox1.count - 180 I want with ValueBoxes labeled START and END to have the user define the ListBox.Count Start-and End-Numbers. I tried...
by pentilisea
Friday 25th February 2022 3:40pm
Forum: Beginners
Topic: loading text file into listbox with a filter (solved)
Replies: 5
Views: 2799

Re: loading text file into listbox with a filter

Thanks to Amour-Wolf I got the solution: 1. Only load digits 2. Eliminate empty lines in ListBox 3. Done SOLUTION Dialog.Filter = ["*.txt", "Text Files", "*", "All Files"] If Dialog.OpenFile() Then Return Dim Originlines As String[] Originlines = Split(File.Lo...
by pentilisea
Thursday 24th February 2022 6:54pm
Forum: Beginners
Topic: loading text file into listbox with a filter (solved)
Replies: 5
Views: 2799

Re: loading text file into listbox with a filter

Hi Wolf, thanks so much, and your suggestion works great. Only thing I'm still fighting with are empty lines and spaces. Loading only numbers (isInteger) has still space befor number, space after number - that how the original text was created and I have problems to display it here. 2 3 4 5 However,...
by pentilisea
Thursday 24th February 2022 12:34pm
Forum: Beginners
Topic: loading text file into listbox with a filter (solved)
Replies: 5
Views: 2799

loading text file into listbox with a filter (solved)

Haya, working with Gambas 3.16.2 and as a beginner, I'm getting around quite good. However in a couple of cases my logic cat does not comply ... I have a simple txt file and load it into a ListBox. __________________________________________________________ Dialog.Filter = ["*.txt", "T...