Search found 142 matches

by Zryip TheSlug
Tue Jul 15, 2014 10:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: DataGrid: Scripting mouse click in a cell
Replies: 2
Views: 521

Re: DataGrid: Scripting mouse click in a cell

Sri, A possible solution is to add a mouseUp handler in the datagrid group script: on mouseUp if (the dgColumn of the dgDataControl of the target is "Notes") then doSomething end if end mouseUp doSomething will only be executed if one clickes on a cell into the "Notes" column. Be sure to have data i...
by Zryip TheSlug
Wed Jul 09, 2014 10:25 pm
Forum: Data Grid Helper
Topic: iOS scroller script from DG Helper
Replies: 6
Views: 2988

Re: iOS scroller script from DG Helper

Hi Tom, The iOS scroller created by DGH is calculated to be egal to the formattedHeight of the datagrid. When the number of rows changed (so when you are populating the datagrid), you need to refresh the scroller by sending the "DGHiOS_DefineScroller" message to the datagrid group. Example: set the ...
by Zryip TheSlug
Sun May 25, 2014 6:46 pm
Forum: Data Grid Helper
Topic: DGH 2.0.0 released
Replies: 0
Views: 1300

DGH 2.0.0 released

DGH is now available under the AGPL license with an optional commercial license available. DGH engine improved : - DGH is now using improved codes for building properties topics, help topics and for generating ready to use scripts. - The editors for managing properties topics, help topics and for ge...
by Zryip TheSlug
Mon Mar 24, 2014 10:13 pm
Forum: Data Grid Helper
Topic: Data Grid sort with accented characters
Replies: 4
Views: 2770

Re: Data Grid sort with accented characters

Hi Joao, Thanks a lot for the help. But behaviour was kept. I.e., the problem remains and it is not a sort problem. There must be something really wrong with my grid. I reckon that I must go to another forum. Can you please point me to the correct forum? The best places are probably the beginner or ...
by Zryip TheSlug
Tue Mar 18, 2014 11:58 pm
Forum: Data Grid Helper
Topic: Data Grid sort with accented characters
Replies: 4
Views: 2770

Re: Data Grid sort with accented characters

Hi jlspereira,

Note this forum is relative to the Data Grid Helper plugin which is a plugin for interfacing LiveCode Datagrids. But I can help you anyway.

In the inspector, go to the column tab, then select the "international" value for the "type" option.



Best Regards,
by Zryip TheSlug
Wed Mar 12, 2014 8:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Applescript and iTunes
Replies: 4
Views: 322

Re: Applescript and iTunes

Hi Mag,
I get a compiler error :(
The script is working here.

Could we check the result inside the applescript editor before to execute it with LC?

Open the Applescript script editor and copy paste the script, then run it by clicking the green button. What is the result?



Best Regards,
by Zryip TheSlug
Wed Mar 12, 2014 12:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Applescript and iTunes
Replies: 4
Views: 322

Re: Applescript and iTunes

Hi Mag,

Did you try?

Code: Select all

tell application "iTunes"
	get name of playlists whose special kind is none
end tell


Best,
by Zryip TheSlug
Sat Mar 08, 2014 11:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: check box selection in data grid is wrong
Replies: 6
Views: 545

Re: check box selection in data grid is wrong

Hi Keram, Where is the fault in the code? As far I have understood your code, going back after a search is the only case you not refreshing the data in the datagrid. Remark about the toggle selection: In my opinion refreshing all the datagrid for changing the state of only one check box is not total...
by Zryip TheSlug
Sat Mar 08, 2014 12:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: dgHilitedIndexes and dgHilitedLines in data grids
Replies: 3
Views: 421

Re: dgHilitedIndexes and dgHilitedLines in data grids

Hi, I need to clarify this question: When a data grid is populated with let's say 100 lines each line gets an Index number which is dgHilitedIndexes when it's highlighted (suppose it's 17). Then if I sort out some of the lines and the remaining lines will populate the same data grid, will the same ...
by Zryip TheSlug
Fri Mar 07, 2014 11:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: check box selection in data grid is wrong
Replies: 6
Views: 545

Re: check box selection in data grid is wrong

Hi Keram, So it's clear that the index numbers and line numbers are messed up in My Categories view, but NOT in All Lines and My Selection views, which is very strange since the code in the Row Behavior of the data grid and the code in the Line field of Row Template is the same for all views. The sa...
by Zryip TheSlug
Thu Feb 20, 2014 11:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: dispatch "FindIndex" Question
Replies: 6
Views: 837

Re: dispatch "FindIndex" Question

Hi Larry, If that is the case then how would you find a second or third occurrence of 'hi' if they were to exist? It was my hope that someone would say you would get a comma delimited list of all such occurrences but that was not what I was seeing. This then begs the question 'if it finds the first ...
by Zryip TheSlug
Thu Feb 20, 2014 12:32 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: dispatch "FindIndex" Question
Replies: 6
Views: 837

Re: dispatch "FindIndex" Question

Hi Larry and Klaus,
I have no idea but would exspect the FIRST found index with "hi" in column "message".
That is correct.
by Zryip TheSlug
Thu Feb 20, 2014 12:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: viewing selected lines in data grid
Replies: 9
Views: 524

Re: viewing selected lines in data grid

Hi Keram, and you are an expert in dg (!) because only and expert could have created Data Grid Helper Okay, I have probably to assume to be close of this "dg expert state", but most of all I'm always happy to help with datagrids when I can. ;) Some time when I get the LC Commercial version I'll get ...
by Zryip TheSlug
Wed Feb 19, 2014 8:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid problem [SOLVED]
Replies: 8
Views: 794

Re: Datagrid problem

Hi MaxV, I explored the datagrid template of your datagrid. For columns "Livello" and "Domanda" you have a custom template. You have probably clicked on the + button at the right of the "column behavior" button in the "columns" tab of the inspector. When a column has a custom behavior, the datagrid ...
by Zryip TheSlug
Tue Feb 18, 2014 8:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: populate data grid and keep the hilite state of checkboxes
Replies: 4
Views: 516

Re: populate data grid and keep the hilite state of checkbox

Now I have increased the number of lines to over 600. Is there any way to make the refreshing of the view and the toggling of the wrapping of the grid more speedy? I done a quick test, and drawing the datagrid is just immediate for me. However you can try this: - adding a "lock screen" before to ch...

Go to advanced search