Thanks Thierry,
This is just the help I needed, I'll post again when I have completed some experiments.
Thanks
Search found 843 matches
- Mon Jan 16, 2017 7:59 am
- Forum: Mac OS
- Topic: How do you write file tags to OSX files?
- Replies: 2
- Views: 2957
- Thu Jan 12, 2017 9:47 pm
- Forum: Mac OS
- Topic: How do you write file tags to OSX files?
- Replies: 2
- Views: 2957
How do you write file tags to OSX files?
Hi, I would like to add the ability to write key word tags to files in Mac OS X. I have found details in the LC dictionary of how to access the resource fork (OS9?) but not how to write to the extended attributes of Mac OSX files. Googling suggests I need to use the OS command "xattr" and process so...
- Thu Jan 12, 2017 12:18 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Drag and Drop a single line of text
- Replies: 14
- Views: 11605
Drag and Drop a single line of text
Hi, I have spent the last few hours experimenting with drag and drop. While I have written code that works it feels a clumsy and over complicated so I would appreciate any comments. The code below is in a behavior button used by two list fields. The aim is to allow the user to select complete lines/...
- Sat Apr 09, 2016 4:00 pm
- Forum: Talking LiveCode
- Topic: Datagrid - strange behavior
- Replies: 8
- Views: 5605
Re: Datagrid - strange behavior
Hi again, I have discovered a repeatable method of putting a datagrid into a state where modifying the code in the row behavior button fails to restore correct operation. In summary if the line exit to top is used things break. However, if the line is removed the datagrid remains broken until Liveco...
- Sat Apr 09, 2016 12:13 am
- Forum: Talking LiveCode
- Topic: Datagrid - strange behavior
- Replies: 8
- Views: 5605
Re: Datagrid - strange behavior
Thanks for your comments. I have LC 8 DP16 and will look for a log file. Quailcreek your set up is the same as mine, when you say you use Dgs often are you customising them with additional controls and editing/adding behavior buttons? I think that I shall have to investigate further but I am wonderi...
- Fri Apr 08, 2016 2:05 pm
- Forum: Talking LiveCode
- Topic: Datagrid - strange behavior
- Replies: 8
- Views: 5605
Datagrid - strange behavior
Hi, I have just started to use Livecode (7.1.3) after break and am refreshing my knowledge (ha!) on the working of Datagrids. I have created a simple stack that imports a list of names and addressed and I am displaying this list in two datagrids on the same card. I have no specific problem of the “h...
- Fri Feb 06, 2015 11:35 am
- Forum: Android Deployment
- Topic: Does the mobileLockIdleTimer command work
- Replies: 6
- Views: 3799
Re: Does the mobileLockIdleTimer command work
Thanks - I will have a look if I am able to locate my old code.
Simon
Simon
- Mon Jan 12, 2015 1:58 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid - adding line under variable height records
- Replies: 2
- Views: 1843
Re: Datagrid - adding line under variable height records
I have a sort of answer: first do not alter the values in the string passed as pControlRect as it may cause problems. Second it seems to me that a line causes a problem because the datagrid does not allow a line to increase the height of a line in a form. My line has item 2 = item 4 in its rect whic...
- Sun Jan 04, 2015 6:28 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid - Detecting Return in Field
- Replies: 5
- Views: 3291
Re: Datagrid - Detecting Return in Field
I wonder if you can save the name of the current field in a global (which is updated on closeField, say), and use it with the key information gleaned separately. Thanks it works : I added a custom property to the datagrid group and populate it with the name of the field in the row behavior handler ...
- Sun Jan 04, 2015 6:11 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid - Detecting Return in Field
- Replies: 5
- Views: 3291
Re: Datagrid - Detecting Return in Field
The code snip was in a button behavior used as the CustomFieldEditor. I have tried of the target and of me and both return the field name as "DataGridFieldEditor".
- Sat Jan 03, 2015 10:19 am
- Forum: Talking LiveCode
- Topic: Datagrid cell restrictions
- Replies: 7
- Views: 4329
Re: Datagrid cell restrictions
Bump 3 years...... have passed,
Was an answer found ? I am trying to do similar with a datagrid.
Simon K
Was an answer found ? I am trying to do similar with a datagrid.
Simon K
- Sat Jan 03, 2015 9:56 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid - Detecting Return in Field
- Replies: 5
- Views: 3291
Re: Datagrid - Detecting Return in Field
Hi Craig, Yes, depending on where I put the code I can get either the name of the field but no detection of keydown or I get the keydown but the field is reported as the ghost fieldeditor field. I am trying to emulate an outline app where in return in the title adds a new row/record and a return in ...
- Fri Jan 02, 2015 11:37 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid - Detecting Return in Field
- Replies: 5
- Views: 3291
Datagrid - Detecting Return in Field
Hi, I would like my code to react to the return key being pressed in one of the two fields on my datagrid form. I have trapped the key press in both a custom field editor script and the script of the datagrid group but I am unable to determine which field is being edited. on returnInField put the sh...
- Fri Jan 02, 2015 11:29 pm
- Forum: Talking LiveCode
- Topic: Working with Styled text - a few questions
- Replies: 9
- Views: 5004
Re: Working with Styled text - a few questions
Hi Richard, Thanks for both your replies and I apologise for not seeing them earlier. I am creating a simple (ha) note taking application for my own use. I'm doing it partly to replace an OmniOutliner File plus Applescripts that is creaking a bit and partly to have a go both with styled text and dat...
- Fri Jan 02, 2015 10:55 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Datagrid - failure of dgHilitedLine / dgHilitedIndex
- Replies: 2
- Views: 1810
Re: Datagrid - failure of dgHilitedLine / dgHilitedIndex
Sri,
Thanks for spotting my silly mistake!
best wishes
Simon K
Thanks for spotting my silly mistake!
best wishes
Simon K