Search found 3217 matches

by bn
Wed Nov 07, 2018 8:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to Display Time
Replies: 2
Views: 111

Re: How to Display Time

Hi lemodizon, put this into your button local sRunning = false on mouseUp put the long time into field "timeField" put the system date into field "dateField" if sRunning <> true then put true into sRunning send "doTime" to me in 1 second else put false into sRunning end if end mouseUp on doTime if s...
by bn
Wed Nov 07, 2018 12:01 am
Forum: Talking LiveCode
Topic: Table keywords missing from Dictionary?
Replies: 7
Views: 175

Re: Table keywords missing from Dictionary?

Hi Keith, a tableField is "just" a tab delimited text. Say you want to address cell 2 of column 2 that would be two tab delimited items in line 2 of your tableField on mouseUp set the itemDelimiter to tab -- don't forget this put 2 into item 2 of line 2 of tText put tText into field "yourTableField"...
by bn
Tue Nov 06, 2018 5:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Table Field not updating correctly
Replies: 27
Views: 880

Re: Table Field not updating correctly

Pull-request

https://github.com/livecode/livecode-ide/pull/2010

the pull-request is against develop 9.0 which means that it should/could be included in 9.0.2 rc1 if the pull-request is accepted in its current form.

Kind regards
Bernd
by bn
Mon Nov 05, 2018 8:48 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Table Field not updating correctly
Replies: 27
Views: 880

Re: Table Field not updating correctly

Thanks for testing.
The only difference, is the stack with the "revWriteCellField" is actually named "revTableLibrary"
Some day I will do a post without goofing it up, promised.... :)

Will correct it in the post.

KInd regards
Bernd
by bn
Mon Nov 05, 2018 8:45 pm
Forum: Converting to LiveCode
Topic: Docs for Table Field?
Replies: 6
Views: 1391

Re: Docs for Table Field?

also have a look at my remark

http://forums.livecode.com/viewtopic.ph ... 20#p172920

Kind regards
Bernd
by bn
Mon Nov 05, 2018 8:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Table Field not updating correctly
Replies: 27
Views: 880

Re: Table Field not updating correctly

After I saw a reference to this thread I had a look at the problems of manually inserting data into a table field via "cell edit" bogs wrote I did find this bug report https://quality.livecode.com/show_bug.cgi?id=18983, but aint sure if it is the same thing or not. reported dec 2016. Indeed that is ...
by bn
Thu Oct 25, 2018 5:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: cancel browser widget navigation - possible?
Replies: 27
Views: 678

Re: cancel browser widget navigation - possible?

No, I probably did not think at all. Actually it did not work and I thought the punctuation mark was the end of a word. But it turned out that it did not work because there was like "http://2108.co.uk/" and similar and that messed up "word" - boundaries. And yes, "2108.co.uk" is one word as long as ...
by bn
Thu Oct 25, 2018 2:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: cancel browser widget navigation - possible?
Replies: 27
Views: 678

Re: cancel browser widget navigation - possible?

Hi Andy, if "2108.co.uk" is not among the words of pUrl then this does not work because "2108.co.uk" is 3 words. And you could only test one word with "is among the words". but still even with if not (pURL contains "2108.co.uk") then it does not work, i.e. is does not prevent going to e.g. Twitter f...
by bn
Mon Oct 22, 2018 3:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Code Tidiness
Replies: 17
Views: 676

Re: Code Tidiness

No reserved name starts with a "t".
OK, that was not correct, make that

No reserved name starts with a "t" except those that start with a "t". :)

Kind regards
Bernd
by bn
Mon Oct 22, 2018 2:50 pm
Forum: Community Projects
Topic: [Hacktoberfest] Improving Hi-DPI support on Windows as a Community
Replies: 8
Views: 454

Re: [Hacktoberfest] Improving Hi-DPI support on Windows as a Community

I don't know if this is related:

https://github.com/livecode/livecode/pull/6753

however if you want to see the code GitHub throws an error. At least Alex is doing something to Windows HiRes problem.

Kind regards

Bernd

Alex is working on bug
https://quality.livecode.com/show_bug.cgi?id=19704
by bn
Mon Oct 22, 2018 1:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Code Tidiness
Replies: 17
Views: 676

Re: Code Tidiness

Hi A1, have a look at this very instructive introduction to scripting style conventions by Richard Gaskin http://www.fourthworld.com/embassy/articles/scriptstyle.html It will make your life easier if you follow those suggestions. E.g. prepend your variables depending on scope. You use global variabl...
by bn
Mon Oct 15, 2018 11:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Code Tidiness
Replies: 17
Views: 676

Re: Interacting with Groups

Hi A1, the reason why the groups you addressed did not work is the that when you delete an entry you delete all the fields of the group but do not delete the group itself. This leads to a lot of groups with the same name. When 2 controls have the same name and you address that control by name it wil...
by bn
Mon Oct 15, 2018 10:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Code Tidiness
Replies: 17
Views: 676

Re: Interacting with Groups

Hi A1, I made a little stack that lets you explore a grouped field when moving the group, setting the rect of the group, lockLoc - ing the group etc. Also it lets you set the textSize of a group which will only affect the field if it has not set a textSize set of its own. Only then it inherits the t...
by bn
Sun Oct 14, 2018 9:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Code Tidiness
Replies: 17
Views: 676

Re: Interacting with Groups

I don't quite understand what exactly you are trying to do but an unlocked group will always fit the content of the group (+ margins of the group) If you want to cut off some of the group's content then set the lockLoc of the group to true. If you just change the top the group will move down/up so y...

Go to advanced search