Search found 164 matches

by gagsoft
Mon Sep 23, 2019 9:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Annotating Video
Replies: 1
Views: 130

Annotating Video

Hi Guys I was wondering if it is possible to create an app in Livecode to Annotate video, While working through tutorial videos in the App academy, I often find the need to make notes of a specific place on the timeline of the video. Such as noting the minutes and seconds followed by a note. ( 02:32...
by gagsoft
Wed Sep 18, 2019 8:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting values from Selected Datagrid row
Replies: 7
Views: 387

Re: Getting values from Selected Datagrid row

Thank you guys
voila.. It works like a charm.
Klaus my apologies about the typo☺...will not happen again.

Many thanks 👌
by gagsoft
Wed Sep 18, 2019 7:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting values from Selected Datagrid row
Replies: 7
Views: 387

Re: Getting values from Selected Datagrid row

Hi guys I tested this: on selectionChanged put the DGhilitedline of me into tLine -- This works Answer Tline put the dgDataOfLine[tLine] of me into theDataA //The following does not yield anything put theDataA["id"] into field "id" put theDataA["client"] into field "client" end selectionChanged Am I...
by gagsoft
Tue Sep 17, 2019 2:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting values from Selected Datagrid row
Replies: 7
Views: 387

Re: Getting values from Selected Datagrid row

Hi Klause
Many thanks
Much appreciated :D
by gagsoft
Tue Sep 17, 2019 2:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting values from Selected Datagrid row
Replies: 7
Views: 387

Getting values from Selected Datagrid row

Hi guys I get "group "MyGrid": execution error at line n/a (Object: object does not have this property)" from the datagrid. The goal is to edit a record. Here is the code: on selectionChanged put the hilitedline of me into tLine // put the dgline of me into tLine Answer tLine put item 1 of line tLin...
by gagsoft
Tue Sep 17, 2019 11:33 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Selecting cells in Table Fields
Replies: 5
Views: 1206

Re: Selecting cells in Table Fields

Hi guys I get "group "MyGrid": execution error at line n/a (Object: object does not have this property)" from the datagrid. The goal is to edit a record. Here is the code on selectionChanged put the hilitedline of me into tLine // put the dgline of me into tLine Answer tLine put item 1 of line tLine...
by gagsoft
Wed Sep 11, 2019 4:12 pm
Forum: Converting to LiveCode
Topic: IDE In LC Ver 9
Replies: 15
Views: 1465

Re: IDE In LC Ver 9

Tnak you Jacque

Much appreciated.
Thanks
Peter G
by gagsoft
Wed Sep 11, 2019 3:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Get value of Row Column in Datagrid
Replies: 9
Views: 308

Re: Get value of Row Column in Datagrid

Thanks all for comming to my rescue :D
In my defence, I had about 2 hours sleep last night. :lol:

You guys are so funny.
Many thanks
Peter G
by gagsoft
Wed Sep 11, 2019 12:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Get value of Row Column in Datagrid
Replies: 9
Views: 308

Re: Get value of Row Column in Datagrid

Hi Klaus
Many thanks
It is a data grid of type Table
I Get "Compilation error at line 2 (Expression: Bad factor), Char 2"
Here is my script:
on mouseUp
itemdel to TAB
put item 41 of line 1 of the dgtext of grp "MyGrid" into tZAR
end mouseUp
by gagsoft
Wed Sep 11, 2019 11:57 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Get value of Row Column in Datagrid
Replies: 9
Views: 308

Get value of Row Column in Datagrid

I want to get the value of a row column of a datagrid. The value I will want to get will always be at the same Row Column of the datagrid "European Currency Conversion table" Row 1 Column 41 for The ZAR SA Rand currency. I can only find references to mouse Datagrid click behaviours. Does anybody kno...
by gagsoft
Sun Sep 08, 2019 1:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Populating Datagrid From SQL Cursor
Replies: 3
Views: 244

Re: Populating Datagrid From SQL Cursor

Hi Bankok
My Apologies.....Had a typo and fixed it.
Works perfectly.

MAny Thanks
by gagsoft
Sun Sep 08, 2019 1:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Populating Datagrid From SQL Cursor
Replies: 3
Views: 244

Re: Populating Datagrid From SQL Cursor

Thanks you Bankok
Got it to populate the datagrid now.
But it does only the first 7 Columns Although it managed to create all the column headers from the selected table.
This this seems to be a bit weird because both are based on the same query result. :)
by gagsoft
Sun Sep 08, 2019 10:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Populating Datagrid From SQL Cursor
Replies: 3
Views: 244

Populating Datagrid From SQL Cursor

I Want to add column headers dynamically into the datagrid and then populate it with an SQL Cursor. The code connects to the database and creates the headers but does not populate the grid or generate any errors. I must be missing something here. Here is my code global conID -- connection ID global ...
by gagsoft
Wed Aug 07, 2019 8:10 pm
Forum: Converting to LiveCode
Topic: IDE In LC Ver 9
Replies: 15
Views: 1465

Re: IDE In LC Ver 9

Hi guys
I still have issues with the LC 9.5 script editor on the Windows 10 box.
It crashes out of the editor when pressing the ENTER key.
Removed plugins that was left with the same result.
by gagsoft
Thu Aug 01, 2019 8:06 pm
Forum: Converting to LiveCode
Topic: IDE In LC Ver 9
Replies: 15
Views: 1465

Re: IDE In LC Ver 9

Hi Dunbarx
My apologies for only responding now. The livecode Stack browser can be found here: http://www.lcsql.com
I found actually it to be a usefull tool.

Go to advanced search