Search found 144 matches

by Zryip TheSlug
Thu Jul 17, 2014 1:41 pm
Forum: Talking LiveCode
Topic: Color space conversion
Replies: 12
Views: 1979

Re: Color space conversion

Another solution which is not requiring to use a "real button" is to use the template button keyword: function _ColorNameToRGBValue pTheColorName local tTheResult if (pTheColorName is not among the lines of the colorNames) then put 255,255,255 into tTheResult else set the backColor of templateButton...
by Zryip TheSlug
Wed Jul 16, 2014 1:06 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrids won't show correctly unicode text
Replies: 2
Views: 819

Re: Datagrids won't show correctly unicode text

Andrea, I done a test with the Unicode stuff built in the DGH plugin some years ago and I can't replicate the issue with 6.6.2 May I suggest you to download DGH and see if it fixes your problem? The open source DGH trial version can run for free in the LiveCode Community or Commercial version. http:...
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: 545

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

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

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

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

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

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

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

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

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

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

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

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

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 ...

Go to advanced search