Search found 285 matches

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: 1470

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 Requests
Topic: Auto Complete or Intelli Sense in Field's names typing
Replies: 20
Views: 6360

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: 2391

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 Requests
Topic: Textured Backdrops
Replies: 15
Views: 4695

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: 30454

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: 30454

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: 30454

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: 30454

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...
by bwmilby
Wed Jun 28, 2017 1:53 pm
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 30454

Re: Dictionary rewrite - thoughts, please

If you add the below code to the mtfOpen handler just below the repeat loop that builds the global array, it will add duplicate dictionary entries for all of the synonyms. Not quite as clean as LC 7 since the "Synonym of" shows in the Keyword column of the table but it does allow searching for synon...
by bwmilby
Sat Jun 24, 2017 4:59 am
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 30454

Re: Dictionary rewrite - thoughts, please

The second idea only displayed the first entry after the tab key was pressed to leave the search field. My thought was that at that point you see the term you want defined and if it is the first one it requires two additional key presses to get. I'm very new to LC though, so maybe I'm missing someth...
by bwmilby
Sat Jun 24, 2017 3:36 am
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 30454

Re: Dictionary rewrite - thoughts, please

Works great if there is a single result. If there is more than one result, then you have to arrow down and back up to see the first item though.
by bwmilby
Fri Jun 23, 2017 3:23 am
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 30454

Re: Dictionary rewrite - thoughts, please

After a little thought, I think this may be a better approach: on tabKey focus on field "fData" of group "modTableField 1" if the hilitedline of field "fData" of group "modTableField 1" is 1 then send "arrowKeyChanged" to field "fData" of group "modTableField 1" in 0 milliseconds end if end tabKey I...
by bwmilby
Thu Jun 22, 2017 5:49 am
Forum: IDE Contributors
Topic: Dictionary rewrite - thoughts, please
Replies: 111
Views: 30454

Re: Dictionary rewrite - thoughts, please

Not sure how appropriate it is to post to an old thread, but I have a suggestion for tinyDictionary. If you perform a search and there is only a single result, the only way to view the dictionary entry is to click on the result. My suggestion is to add the following handler to the field "fData" code...
by bwmilby
Sun Jun 11, 2017 5:20 am
Forum: Announcements
Topic: [ANN] Remote DB Lib
Replies: 3
Views: 2337

Re: [ANN] Remote DB Lib

Looks very interesting. I'll need to set up a MySQL DB on one of my servers and take it for a spin. I've got a VPS, but would try it out from the perspective of someone with just an account on the server. If anyone needs to do a case sensitive search, the dbLike function can be pretty easily modifie...
by bwmilby
Wed Jun 07, 2017 5:45 am
Forum: Off-Topic
Topic: Does a workbench stack exist for open source projects?
Replies: 9
Views: 4048

Re: Does a workbench stack exist for open source projects?

When I installed LiveCode, I got a "My LiveCode" folder under My Documents (WIN10). I just had to create a "Plugins" folder under that.

Go to advanced search