Search found 292 matches

by bwmilby
Thu Oct 19, 2017 5:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lock a table field
Replies: 44
Views: 5516

Re: Lock a table field

This should work though:
Capture.JPG
Capture.JPG (20.71 KiB) Viewed 2053 times
@bogs... the property set exists, but in 6.x it is just hidden from normal person access :)
by bwmilby
Thu Oct 19, 2017 6:11 am
Forum: Talking LiveCode
Topic: Single field object class?
Replies: 10
Views: 1843

Re: Single field object class?

The "cellEdit" key in the cRevTable property set is what is read by the front script. In 9DP9 you can manually edit the key or use the setting in the PI on the table tab. In the revTableLibrary (front script), there is a handler for mouseUp that kicks off the field creation. (I just read the library...
by bwmilby
Thu Oct 19, 2017 6:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Lock a table field
Replies: 44
Views: 5516

Re: Lock a table field

If the table is never going to be edited by the user, you could also manually change the value in the Property Inspector. Select the "cRevTable" custom property set and change the "cellEdit" key to "false". I just checked in 9DP9 and when making that change, the phantom field is not created. Probabl...
by bwmilby
Thu Oct 19, 2017 3:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Abysmal documentation for "Answer File" command
Replies: 12
Views: 1712

Re: Abysmal documentation for "Answer File" command

Just a few comments: There is an "answer file with type" entry in the dictionary Anyone can now contribute to the dictionary via GitHub. I'll see if I can put this together as a suggestion for the "with type" entry (unless someone beats me to it). It will take me a bit of time to test it out on Mac/...
by bwmilby
Sat Sep 30, 2017 12:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [HELP] revCopyFile in standalone
Replies: 9
Views: 1247

Re: [HELP] revCopyFile in standalone

The Common library is included with every standalone automatically. It's always there. What version of LC are you using and what platform are you building for? I have a project where revMail is crashing for one user on a new Android phone. It isn't repeatable and only happens for this one user so f...
by bwmilby
Fri Sep 29, 2017 1:02 am
Forum: Android Deployment
Topic: Android app localization
Replies: 9
Views: 3602

Re: Android app localization

I know this is a very old post, but I think I've found a way to get profiles to work on mobile. I've tested the attached stack on iOS and am able to successfully switch between 2 profiles. First, I had to do a hack and edit revSaveAsStandalone(.livecodescript)... I just did it in the IDE knowing it ...
by bwmilby
Thu Sep 28, 2017 2:57 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stack resize in Android/IOS
Replies: 5
Views: 1573

Re: Stack resize in Android/IOS

I know this is an old thread, but I've discovered why the geometry manager wasn't working on mobile. (Well, I only actually verified on iOS, but am guessing it is the same for Android). I've attached a test stack that I built on my system. Screen Shot 2017-09-27 at 8.47.34 PM.png The Grow/Shrink but...
by bwmilby
Sun Sep 17, 2017 10:35 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: formattedwidth seems ignore return char in btn label: fixed
Replies: 9
Views: 1631

Re: formattedwidth seems ignore return char in btn label

Put together a test stack to check this out on a variety of LiveCode versions. Every one I tested on Mac exhibited the error. 9.0DP8 on Windows that gave the "expected" results. put "M" into tLabel set the label of me to tLabel set the label of me to tLabel & tLabel set the label of me to tLabel & t...
by bwmilby
Fri Sep 01, 2017 12:54 am
Forum: Feature Proposals
Topic: Auto Complete or Intelli Sense in Field's names typing
Replies: 20
Views: 6829

Re: Auto Complete or Intelli Sense in Field's names typing

When you hover over the bar, it should indicate that either "Using LiveCode Script Editor" or "Using GLX2 Tools". Click on the "GLX2" on the right end of the bar to switch. It actually will switch out the default editor that is opened to edit scripts. The color changes as well. It goes from the colo...
by bwmilby
Wed Aug 09, 2017 2:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using the Switch and Case control structure? - Solved
Replies: 14
Views: 2701

Re: Using the Switch and Case control structure? - Solved

This would do the same thing in this case (since the value of pNum isn't used after the test): on moveBtn pNum switch case pNum is not in "13" case pNum = 1 move btn "animate" relative -10,0 break ... Here's a way to get the effect of the switchAll: repeat if conditionA then actionA end if if condit...
by bwmilby
Sat Jul 22, 2017 6:42 pm
Forum: Feature Proposals
Topic: Textured Backdrops
Replies: 15
Views: 5130

Re: Textured Backdrops

You could get quick access to the backdrop setting using Devolution. Should be pretty easy to use one of the custom buttons on the palette for this (just need to be sure the stack with the image is loaded into memory I guess). Also, not sure the demo works as expected. The image seems to be 8x8 whic...
by bwmilby
Tue Jul 18, 2017 4:16 am
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 35259

Re: Dictionary rewrite - thoughts, please

Thanks Bernd! I've been working with the built in dictionary a bit over the past several weeks trying to see if I could tackle the white space issue. As pointed out earlier, it isn't a simple tweak of some CSS or HTML. It turns out that the page was using fixed widths for each column, so it took mor...
by bwmilby
Thu Jul 06, 2017 11:03 pm
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 35259

Re: Dictionary rewrite - thoughts, please

Looks like 9.0 DP8 will include the synonyms. In order to have TinyDict work for old and new versions, I suggest the following additions: -- build Global Array -- get the whole array of all dictionary entries of all dictionaries local tSynonymsNeeded put true into tSynonymsNeeded dispatch function "...
by bwmilby
Thu Jun 29, 2017 3:58 pm
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 35259

Re: Dictionary rewrite - thoughts, please

I see what you mean about glossary entries. For those, I think the "synonym" definition is not quite the same as for the rest of the dictionary. Maybe we should have the code check to see if it is a glossary entry and not add the "(Synonym of" for those. Change this line: put aValue & " (Synonym of ...
by bwmilby
Thu Jun 29, 2017 3:49 am
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 35259

Re: Dictionary rewrite - thoughts, please

Thanks Bernd! Some good stuff for me to think about. (I initially tried to put it at the end of your loop, but you call next repeat so it wouldn't work there. Wasn't sure if anything you did would have been important to copy, so I just added another loop. If not, it could have gone at the top of the...

Go to advanced search