Search found 90 matches

by PBH
Fri Feb 09, 2018 2:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stack to copy tabbed text and paste as a table in Word
Replies: 1
Views: 586

Stack to copy tabbed text and paste as a table in Word

Posted in answer to a request on the LC user list… The attached stack is to demonstrate copying some tabbed text from a field in LiveCode and then pasting it into a word type document where it should result in a table being pasted. The script of the Copy button relies heavily on the custom propertie...
by PBH
Sat Jan 27, 2018 3:31 am
Forum: Using Externals and Plugins
Topic: LC IDE Menu Shortcuts - Update
Replies: 0
Views: 1861

LC IDE Menu Shortcuts - Update

Just a heads up for anybody that has downloaded and is using the plug-in LC Menu Shortcuts from the LiveCode Share (or Sample Stacks in LC). There is a revised version available now, updates are: Updated to work better with LC 9.0.0(dpX). Added more shortcuts including some for the Development menu....
by PBH
Sat Dec 02, 2017 5:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: locate language app
Replies: 9
Views: 1734

Re: locate language app

I had a little time to spare this afternoon, so I ran a couple of simple tests on my iPhone 5s: mobileCurrentLocale() will return a single line depending on the Settings > General > Language & Region iPhone Language choice, in the format "en_US" for English - USA or "fr_CA" for French - Canada mobil...
by PBH
Mon Sep 04, 2017 4:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Does Browser widget make a good browser?
Replies: 24
Views: 3899

Re: Does Browser widget make a good browser?

That is good news, well done. :D

Thank you for posting support's response.

Paul
by PBH
Sun Sep 03, 2017 5:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Does Browser widget make a good browser?
Replies: 24
Views: 3899

Re: Does Browser widget make a good browser?

Bug 17928 http://quality.livecode.com/show_bug.cgi?id=17928 reported by me on June 30th 2016. Bug 18955 http://quality.livecode.com/show_bug.cgi?id=18955 reported by hh on Dec 2nd 2016. The Browser Widget was introduced in LC8 (dp8) in Nov 2015. The crash is caused by a simple HTML command, it has n...
by PBH
Sun Sep 03, 2017 3:14 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Does Browser widget make a good browser?
Replies: 24
Views: 3899

Re: Does Browser widget make a good browser?

Again, I'm speaking from ignorance here, so forgive me PBH, but couldn't you just use built in commands to do that? uploading to ftp has been around forever, and I remember recently reading something about using dropbox libraries as well (not from the browser widget, or maybe it was ?) elsewhere on...
by PBH
Sat Sep 02, 2017 5:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Does Browser widget make a good browser?
Replies: 24
Views: 3899

Re: Does Browser widget make a good browser?

You should also check the LiveCode QCC and search for "Browser Widget", you'll find a list of the current problems with the Browser Widget. The show stopper for me was not being able to use it to upload a file to a website, e.g. Dropbox or anything similar, I reported Bug 17928 http://quality.liveco...
by PBH
Sun Jul 16, 2017 3:23 pm
Forum: Talking LiveCode
Topic: Select text on text field
Replies: 20
Views: 3423

Re: Select text on text field

Please post the bug number, it will be interesting to see what the LiveCode team's view on this is.

I also found this works, in the IDE at least;

Code: Select all

on openField -- when clicking in the field, select all its text
   wait 1 with messages
   select text of the target
end openField
Paul
by PBH
Sun Jul 16, 2017 3:10 am
Forum: Talking LiveCode
Topic: Select text on text field
Replies: 20
Views: 3423

Re: Select text on text field

I'm not sure this would be classed as a bug, because it looks to me like the engine is controlling "normal" behaviour. i.e. Normally when you click in a field the insertion point is placed at the point where you click with the cursor, so this is cancelling the select text script immediately after th...
by PBH
Wed Jun 21, 2017 11:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How showing the current font in a popup menu SOLVED
Replies: 12
Views: 2998

Re: How showing the current font in a popup menu ?

works fine with menumode = option, not with menumode = PopUp Unfortunately the menuHistory only works with the Option Menu, I can't find a way to make it work with the Pop-Up menu. There maybe a way by using a stack as the pop-up, but unfortunately I don't have enough spare time to experiment this ...
by PBH
Wed Jun 21, 2017 5:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How showing the current font in a popup menu SOLVED
Replies: 12
Views: 2998

Re: How showing the current font in a popup menu ?

Jean-Marc, Your English is good, no worries there. :) After another look at this I found the script I posted earlier will change the font to (Default) if the selection contains multiple fonts, so adding a condition improves the result. This happens because setting the menuHistory triggers the menuPi...
by PBH
Wed Jun 21, 2017 2:49 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How showing the current font in a popup menu SOLVED
Replies: 12
Views: 2998

Re: How showing the current font in a popup menu ?

If I understand correctly, you'll need to set the menuHistory of the menu to the correct number. I tried an example and this works for me... Field Script on selectionChanged put the text of btn "fontMenu" into tFontList -- Grabs the font list put the textFont of the selectedText into tSelectedTextFo...
by PBH
Wed Apr 19, 2017 2:54 am
Forum: Talking LiveCode
Topic: Print designated area doesn't work in LC8
Replies: 2
Views: 837

Re: Print designated area doesn't work in LC8

It appears you are probably working on Windows (10)? This does work OK on Mac, I've no idea if it works on Linux. This topic came up on the user list recently and has just been reported to the QC system, bug #19599; http://quality.livecode.com/show_bug.cgi?id=19599 If you could add your findings and...
by PBH
Sat Apr 15, 2017 1:44 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Handlers for Scrolling List Field
Replies: 3
Views: 1268

Re: Handlers for Scrolling List Field

You should find that selectionChanged will do what you need.

e.g. Field Script:

Code: Select all

on selectionChanged
   put the selectedLine into fld "myChoiceField"
end selectionChanged
Paul
by PBH
Mon Feb 13, 2017 12:10 am
Forum: Talking LiveCode
Topic: Print to PDF not rendering correctly
Replies: 15
Views: 3721

Re: Print to PDF not rendering correctly

After a few more tests, the most consistent results seem to be achieved by setting both the threeD and opaque properties of a field control to false. This may not be the best setting if you want the field to be a different colour to the card background. I tested making PDFs both from the LC print to...

Go to advanced search