Search found 476 matches

by lohill
Tue May 30, 2017 12:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create Data Grid under program control
Replies: 6
Views: 4509

Re: Create Data Grid under program control

Craig Here is my resulting stack. (It is attached and has no substack for templates.) Does it work for you? The button at the top left is used to connect to any SQLite database and to populate the datagrid at the left with the database's tables and views. If you double click on any one of the result...
by lohill
Mon May 29, 2017 11:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create Data Grid under program control
Replies: 6
Views: 4509

Re: Create Data Grid under program control

I just tried copying two datagrids and a couple of buttons along with all the scripts to another new stack. I tested the new stack and it seemed to work properly I saved that new stack. Then I quit Livecode and opened just the new stack and it still seems to work even though it has no Data Grid Temp...
by lohill
Mon May 29, 2017 11:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create Data Grid under program control
Replies: 6
Views: 4509

Re: Create Data Grid under program control

Craig, It has been years since I tried to 'copy' a data grid and paste the copy in a new place. This was because I always seemed to end up messing up something and I ultimately ended up blaming it on the datagrid construct itself. Are you saying that I should be able to create a DG on a card of one ...
by lohill
Sun May 28, 2017 10:58 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Create Data Grid under program control
Replies: 6
Views: 4509

Create Data Grid under program control

I would like to have a button with a script that will create a new stack (or Sub Stack) and place a Data Grid on it. Is that possible? If so which commands in the dictionary would be the most helpful.

Thanks,
Larry
by lohill
Mon Mar 13, 2017 9:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Find rows in a datagrid
Replies: 5
Views: 4111

Re: Find rows in a datagrid

Thanks Klaus,
That is one I never knew.
Larry
by lohill
Mon Mar 13, 2017 8:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Find rows in a datagrid
Replies: 5
Views: 4111

Re: Find rows in a datagrid

The "dgh" is not what is giving me the problem and it is very efficient at getting the initial list of the ones I want to keep. It is getting rid of the others where my problem occurs. Here is a bit of the code that I have tried: dgh_FindIndexes the long id of group tGrid, tField, tCondition, tValue...
by lohill
Mon Mar 13, 2017 6:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Find rows in a datagrid
Replies: 5
Views: 4111

Find rows in a datagrid

I am using dgh_FindIndexes to find the comma delimited list of indices of rows in a datagrid that match a certain set of criteria. That is working just fine and I could set the dgHilitedIndexes to identify them. Rather than do that, I would like to delete all the rows that are not in the list of ind...
by lohill
Mon Dec 19, 2016 12:16 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Directory Confusion
Replies: 4
Views: 3408

Re: Directory Confusion

That might work for me alone but if I compile this stack and give it to someone else they won't have a directory that looks like that. I actually want to know the directory they are in so I can set the directory to that.

Larry
by lohill
Sun Dec 18, 2016 8:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Directory Confusion
Replies: 4
Views: 3408

Directory Confusion

There seems to be a difference between versions 7.1.3 and 8.1.1 in how it handles 'directory' or 'folder'. This can easily be tested by putting a button on a new stack with the following code: on mouseUp put the directory into tDirectory answer tDirectory end mouseUp In 7.1.3 i get "/Users/lohill/Ap...
by lohill
Sat Dec 10, 2016 6:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: LiveCode 8 datagrid
Replies: 3
Views: 2932

Re: LiveCode 8 datagrid

Thanks Klaus,

I assume that could just be done one time per datagrid from the message box and all would be taken care of. I have been going back to version 7 to do it and then have come back to version 8 to continue work.

Larry
by lohill
Thu Dec 08, 2016 6:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: LiveCode 8 datagrid
Replies: 3
Views: 2932

LiveCode 8 datagrid

In LiveCode 8 while in the Inspector for a datagrid I cannot seem to find "Text" like I could in LiveCode 7. Where is it that I can set the font and font size for the text in a datagrid?

Thanks,
Larry
by lohill
Wed Nov 30, 2016 12:49 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Set Clipboarddata
Replies: 4
Views: 3121

Set Clipboarddata

Is there a work-around for 'set clipboarddata' when using LC 8.1.1 on a Windows PC? I have tried fullclipboarddata too and it doesn't work. You can test this easily by just making a button with the following script: on mouseUp set the clipboarddata to "Hello World!" end mouseUp This will run success...
by lohill
Tue Nov 15, 2016 11:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Long URLs on a PC
Replies: 12
Views: 13658

Re: Long URLs on a PC

Mark and Richard, I owe you both apologies. In preparing a simple stack to demonstrate the problem for Panos, I embarrassingly discovered that in my program I had commented out the statement with revBrowserOpenCEF and replaced it with revBrowserOpen. I changed it back to revBrowserOpenCEF and the lo...
by lohill
Sun Nov 13, 2016 2:47 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Long URLs on a PC
Replies: 12
Views: 13658

Re: Long URLs on a PC

Yes.
Which leads me to a question. If my application needs to run on both a Mac and a PC is it necessary to include both the Browser and the Browser (CEF) libraries when making a standalone?

Larry
by lohill
Sat Nov 12, 2016 3:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Long URLs on a PC
Replies: 12
Views: 13658

Re: Long URLs on a PC

Mark, Explorer is not part of this question. I have known for years that it had limitations with long URLs. That is undoubtedly one of the reasons why LC incorporated Chrome in their browser libraries. Richard, Have you tried to run one of those long URLs in the Chrome browser (or FireFox for that m...

Go to advanced search