Search found 268 matches

by DavJans
Tue Jul 11, 2017 11:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Advancing from field to field
Replies: 6
Views: 3365

Re: Advancing from field to field

In a standalone windows environment the script is ignored most of the time and it just advances to the next field like the script wasnt there at all. from field1 to field2 and from field2 to field3 and so on. This code works better, but not what I want because it makes it harder to change the value ...
by DavJans
Fri Jul 07, 2017 6:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Advancing from field to field
Replies: 6
Views: 3365

Advancing from field to field

When filling out fields with "Tab on Return" turned on as you hit Enter or Tab for that matter the cursor advances to the next field. Great :) I am trying to manipulate this to work a little bit different like so, on closeField if fld "field2" is empty then focus on fld "field2" else if fld "field3"...
by DavJans
Mon Jun 12, 2017 7:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem moving files wile windows is locked
Replies: 2
Views: 1943

Re: Problem moving files wile windows is locked

It is a thing in windows, Im sure mac had it too. the computer is not asleep, its just requires your password to get back in again.
by DavJans
Mon Jun 12, 2017 6:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem moving files wile windows is locked
Replies: 2
Views: 1943

Problem moving files wile windows is locked

I have writen a small app that looks for wiles in a folder, when it finds files it will do some stuff with the data then move that file into another folder. This all works great untill the computer that it is running on is locked, either by the user or by the screen save. Im asuming while the comput...
by DavJans
Thu Mar 30, 2017 6:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Double click field, to unlock text and edit
Replies: 14
Views: 8987

Re: Double click field, to unlock text and edit

I don't think i understand your question The ID of the material is only used the one time, the rest of the time they put in their employee number. If it is loaded automatically during openField, what if the the camber field opens but they haven't checked it yet. so now wouldn't they have to remove t...
by DavJans
Thu Mar 30, 2017 5:18 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Double click field, to unlock text and edit
Replies: 14
Views: 8987

Re: Double click field, to unlock text and edit

the script does need to be cleaned up its one of the first things I wrote when I first started learning how to code :) OK, lets see, we manufacture steel for sky scrapers, to the user is our quality control people that check the steel. Each piece of steel has an ID. The card has 24 fields the first ...
by DavJans
Wed Mar 29, 2017 10:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Double click field, to unlock text and edit
Replies: 14
Views: 8987

Re: Double click field, to unlock text and edit

We have a button that does this for them but I guess its not convenient enough :) on mouseUp put the number of the selectedField into currentField put fld "user" into qQC put qQC into the selection Send closeField to fld currentField select the text of fld (currentField + 1) end mouseUp
by DavJans
Wed Mar 29, 2017 10:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Double click field, to unlock text and edit
Replies: 14
Views: 8987

Re: Double click field, to unlock text and edit

Well I'm just making myself look really smart. Here is my actual script in the fields on my card, they are all almost the same. In this example we would want something like a doubleMouseUp to put their user number in the field and then over on to the next field. global gConnectionID global currentBa...
by DavJans
Wed Mar 29, 2017 7:57 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Double click field, to unlock text and edit
Replies: 14
Views: 8987

Re: Double click field, to unlock text and edit

I suppose I can elaborate on what I currently have and what I want to add. right now I have the on openField handler to gather any information that is already in the field. on openField put fld "Field" into "oldData" end openField and then when the field is closed it saves to a log file. on closeFie...
by DavJans
Wed Mar 29, 2017 5:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Double click field, to unlock text and edit
Replies: 14
Views: 8987

Re: Double click field, to unlock text and edit

I have encountered a similar issue, mine involving on openField. My problem is that with on openField, doubleMouseUp doesn't work. I tried this as suggested on openField wait 20 if the mouseClick then doDoubleClickStuff end if do openFieldStuff end openField My problem that is causing this not to wo...
by DavJans
Wed Mar 22, 2017 5:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Moving lines in a datagrid
Replies: 4
Views: 2829

Re: Moving lines in a datagrid

Thank you Klaus, you are the best :)
by DavJans
Tue Mar 21, 2017 7:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Moving lines in a datagrid
Replies: 4
Views: 2829

Re: Moving lines in a datagrid

To move Down I got this. global sortLineNumber global totalNumOfLines on mouseUp if sortLineNumber < totalNumOfLines then put sortLineNumber + 1 into otherLineNumber put the dgDataOfLine[sortLineNumber] of group "DataGridLotList" into tLineData put the dgDataOfLine[otherLineNumber] of group "DataGri...
by DavJans
Tue Mar 21, 2017 6:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Moving lines in a datagrid
Replies: 4
Views: 2829

Re: Moving lines in a datagrid

this works :) on mouseUp put the dgDataOfLine[3] of group "DataGridLotList" into tLineData put the dgDataOfLine[2] of group "DataGridLotList" into tOtherLineData set the dgDataOfLine[2] of group "DataGridLotList" to tLineData set the dgDataOfLine[3] of group "DataGridLotList" to tOtherLineData end m...
by DavJans
Tue Mar 21, 2017 6:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Moving lines in a datagrid
Replies: 4
Views: 2829

Moving lines in a datagrid

I would like to reorder data in a Data Grid. It it possible, ideally for me, to select for example line 4 and then push a button to move it up to line 3 and have line 3 move down to line 4? (or click and drag? I'm not too worried about this and am probably just dreaming). I would like to do this so ...
by DavJans
Thu Mar 09, 2017 10:36 pm
Forum: Databases
Topic: Storing sort order in mySQL
Replies: 2
Views: 3779

Storing sort order in mySQL

I have done some research into this, and settled on 2 options, maybe someone here has a better 3rd option for me. pretend we have a table like this Priority | Itemnumber 100000 | Item 1 200000 | Item 2 300000 | Item 3 Now we want to move Item 3 between item 1 and 2 Option 1 This option is limited to...

Go to advanced search