Search found 3 matches
- Sat Jan 09, 2010 7:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detecting and Setting Insertion Point in a field
- Replies: 4
- Views: 3765
Re: Detecting and Setting Insertion Point in a field
Never mind! I figured it out. I need to put the "pass returninfield" into an else statement. on returninfield if the controlKey is down then put the seconds into dater convert dater to dateitems put item 2 of dater & "/" & item 3 of dater & "/" & item 1 of dater & " " & item 4 of dater & ":" & item ...
- Sat Jan 09, 2010 7:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detecting and Setting Insertion Point in a field
- Replies: 4
- Views: 3765
Re: Detecting and Setting Insertion Point in a field
Okay, that helps some, The first part works; The date and time are inserted at the proper place. Now the focus is set to the next field. Apparently under normal conditions [Cntrl - Enter] tabs to the next field. Is there another handler that I need to intercept to prevent this from happening? I want...
- Sat Jan 09, 2010 4:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Detecting and Setting Insertion Point in a field
- Replies: 4
- Views: 3765
Detecting and Setting Insertion Point in a field
I am writing a script for a text field which will be completely editable, ie. a Journal Entry. I want to insert a Date-Time Stamp where ever the current insert point might be. It may not be at the end of the field, so "Put the date & " " & the time after field 1" will not always work Here is how I a...