Search found 94 matches

by redfield
Tue May 31, 2022 6:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

Ah sorry I changed my post already, please see above :)
by redfield
Tue May 31, 2022 6:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

So it seems to me that I haven't been able to describe well enough what I want to achieve, although it's so simple :oops: . I was going to attach two screenshots, but it makes no sense, because they look the same (cause that's the aim). After resizing the window everything should look completely the...
by redfield
Sat May 28, 2022 1:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

In the Stack Inspector I have defined the MIN to 900 (Width) and 470 (Height) and the MAX to 1200 and 770 (which are also the initial values).
by redfield
Sat May 28, 2022 11:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

Yes my aim is to resize the window and with it all the elements. Also the elements need to be relocated relative to the new window size, so that they don't disappear when shrinking the window. I have two different screens, one with high resolution and one with lower resolution. The stack is good eno...
by redfield
Fri May 27, 2022 7:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

Okay cool. I have attached my very simple (and horrible) UI :D .
by redfield
Thu May 26, 2022 8:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

I have started playing with the GM - one card, one field. Is it a bug or a feature that it is not possible to scale AND position the element? In the GM, in scale mode I create a link (red bar) to the right edge and the bottom edge. When I then switch to position mode and create the same links, the l...
by redfield
Tue May 24, 2022 10:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

Thanks guys, I will look into the GM. I was a little naive about how big a job this will be :)
by redfield
Sun May 22, 2022 7:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

Re: How to "re-resize" Stack (elements)

This has helped me in so far as I realize that the resizeStack handler has four parameters and not only two. However I'm not really making progress and it looks like I will produce hundreds of lines of code for the resizing. Is there a common way in Livecode to adjust windows (and their contents) of...
by redfield
Sat May 21, 2022 8:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to "re-resize" Stack (elements)
Replies: 37
Views: 11250

How to "re-resize" Stack (elements)

Hi guys, not sure if the subject makes sense, I would like to resize the Stack and all the elements (fields, etc.) on its Card. I have set maximum and minimum width and height values in the property inspector. So let's say I decrease the window size, the size of all elements needs to be decreased to...
by redfield
Sat May 14, 2022 4:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] How to overwrite text in text file
Replies: 7
Views: 2195

Re: How to overwrite text in text file

1. Only use IT when neccessary and as little as possible, IT wil change when you least expect IT! :-) Put IT immediately into a variable and work with that variable! Okay will try to remember. 2. "repeat for each..." is READ-ONLY! Wow... good to know! Your itemDelimiter needs to be what separates t...
by redfield
Mon May 09, 2022 8:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] How to overwrite text in text file
Replies: 7
Views: 2195

Re: How to overwrite text in text file

Thanks Craig, for trying to understand my issue. The text file is actually created and filled by a Python script. The delimiter between the two "columns" are four spaces. The code now looks like this: put specialFolderPath("resources") & "/" & "test.txt" into vPath open file vPath for update read fr...
by redfield
Mon May 09, 2022 6:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] How to overwrite text in text file
Replies: 7
Views: 2195

[SOLVED] How to overwrite text in text file

Hi guys, can't get this to work. What I have is a text file, containing data like this: 2021-06-01 10 82.83 2021-07-01 10 84.45 What I want is to replace the number values (second column) with new ones, e. g. 82.83 with 79.98. But what I get is: 2021-06-01 10 82.83 2021-07-01 10 84.45 2021-07-01 10 ...
by redfield
Sat Apr 23, 2022 12:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unwanted linebreaks in result of database query
Replies: 2
Views: 1176

Re: Unwanted linebreaks in result of database query

Well thanks a lot Klaus. I did not know that
revDataFromQuery(, ,
is equal to
revDataFromQuery(TAB,CR,
and also linedelimiter is new to me. Up to now I have only played with itemdelimiter :oops: .
by redfield
Sat Apr 23, 2022 10:39 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unwanted linebreaks in result of database query
Replies: 2
Views: 1176

Unwanted linebreaks in result of database query

Hi Guys, after a loooong time I have begun to play with Livecode again. So here is my question :) : The result of put "SELECT * FROM table1" into resultTable put revDataFromQuery(, , gConID, resultTable) into tmpResult comes with linebreaks in tmpResult, which split each record of the table into two...

Go to advanced search