Search found 162 matches

by Zryip TheSlug
Thu Feb 20, 2014 11:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: dispatch "FindIndex" Question
Replies: 6
Views: 3725

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

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

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

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

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...
by Zryip TheSlug
Tue Feb 18, 2014 8:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: viewing selected lines in data grid
Replies: 9
Views: 4386

Re: viewing selected lines in data grid

Hi Keram, No datagrid expert here. In your "View selections" button you are starting your counter by 0, so the index for the first array item is 0. set the dgData of group "DataGrid 1" to empty put 1 into Counter -- the error was here repeat for each line i in gAllLines if item 1 of i is among the i...
by Zryip TheSlug
Mon Feb 17, 2014 11:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Datagrid problem [SOLVED]
Replies: 8
Views: 4538

Re: Datagrid problem

Hi MaxV,

What are the columns name of your DataGrid and how are you populating it?



Best,
by Zryip TheSlug
Mon Feb 17, 2014 11:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: populate data grid and keep the hilite state of checkboxes
Replies: 4
Views: 3274

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

Hi Keram, When you are preparing the data for populating the datagrid, you are omitting the second column of your group named "data". Your code should be: repeat for each line i in AllLines if item 3 of i is among items of gMyCategories then put item 1 of i &tab& item 2 of i & tab & \ item 3 of i &t...
by Zryip TheSlug
Mon Feb 17, 2014 11:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Performing calculations in Data Grids
Replies: 6
Views: 3237

Re: Performing calculations in Data Grids

Hi Monkey,

You can download 2 example stacks for doing sum with datagrid by following this link:

http://www.aslugontheroad.com/download/category/4-lab



Best,
by Zryip TheSlug
Sun Feb 16, 2014 11:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Strange wrapping behaviour of lines in data grid
Replies: 2
Views: 2111

Re: Strange wrapping behaviour of lines in data grid

Hi Keram, This is not a LiveCode bug. When you are changing the dontWrap property of the fld "Label" of grp "Row Template 0001", you are changing only one field control in the datagrid. When we are scrolling the datagrid, this field is pushed regularly on the top of the datagrid, that's the reason y...
by Zryip TheSlug
Mon Jan 13, 2014 10:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Form Datagrid Problems
Replies: 8
Views: 4620

Re: Form Datagrid Problems

Larry, Your LayoutControl handler seems correct. But did your try to comment it for a quick try? Keep only the line for resizing the background graphic. The datagrid should keep the fields as they have been placed in the row template. on LayoutControl pControlRect set the rect of graphic "Background...
by Zryip TheSlug
Sun Jan 12, 2014 11:38 pm
Forum: Talking LiveCode
Topic: dispatch mouseup to dgDataControlOfIndex error
Replies: 2
Views: 2095

Re: dispatch mouseup to dgDataControlOfIndex error

Hi Martin, When cache is turned to off, a row as only an existence in a datagrid if the row is displayed, so it is not possible to refer to the row controls. For scrolling to the row and have it displayed in the datagrid you can use: ScrollIndexIntoView tTheIndex where tTheIndex is the row index. Bu...
by Zryip TheSlug
Sun Jan 12, 2014 11:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Form Datagrid Problems
Replies: 8
Views: 4620

Re: Form Datagrid Problems

Hi Larry, What is your row behavior script for the datagrid form? You can open this script by clicking on the "Row behavior" button located in the first tab of the inspector. In this behavior you need to change the FillInData handler by binding each fields in the row template with each array keys. A...
by Zryip TheSlug
Sun Jan 12, 2014 10:47 pm
Forum: Announcements
Topic: [ANN] Excel Library Released
Replies: 0
Views: 2920

[ANN] Excel Library Released

Dear LiveCode Community, Our Excel Library is released in 2 versions: 1. An Open source version: http://www.aslugontheroad.com/download/category/5-open-sources 2. A Commercial version: Available in the LiveCode Store: http://livecode.com/store/marketplace/excel-library Or in our website: http://www....
by Zryip TheSlug
Wed Jan 08, 2014 8:26 pm
Forum: MergEXT
Topic: Setting up DataGrid Scroller
Replies: 6
Views: 10186

Re: Setting up DataGrid Scroller

Hi Will, It was a long time I'm not had a look to the forum... Inside DGH we have ready to use scripts for adding an iOS scroller to a datagrid and for managing native fields when editing the datagrid cells. (auto-capitalization, auto-correction, selection point magnification are supported) In DGH, ...

Go to advanced search