Search found 389 matches

by CAsba
Fri Apr 12, 2024 9:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: get name of flashdrive.
Replies: 20
Views: 1588

get name of flashdrive.

Hi all,
Is it possible to get the name of the USB stick that a livecode stack is on and put it into a field within the stack ?
by CAsba
Fri Mar 22, 2024 1:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: DataGrid problem
Replies: 7
Views: 820

Re: DataGrid problem

Hi Klaus, I tried your suggestions without success, but (in case you're interested) I made the following workaround.. on selectionChanged pHilitedIndexes, pPreviouslyHilitedIndexes if fld "indicator" is 0 then send "mouseup" to btn "extract" of cd "manage products"#gets data into fields send "mouseu...
by CAsba
Fri Mar 22, 2024 1:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: DataGrid problem
Replies: 7
Views: 820

Re: DataGrid problem

Hi Klaus,
Many thanks. I think I wasted your time, though, as, experimenting further, I discovered that the two commands before the code were reponsible for the failure; by commenting them out, the code worked as expected.
Good to know you're still there !
by CAsba
Fri Mar 22, 2024 11:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: DataGrid problem
Replies: 7
Views: 820

DataGrid problem

Hi, I'm troubleshooting a problem, updating the stock column in DG3, and to make it simple I've 'condensed' it into the following code, activated when the user selects a line (row). on selectionChanged pHilitedIndexes, pPreviouslyHilitedIndexes send "mouseup" to btn "extract" of cd "manage products"...
by CAsba
Sun Feb 18, 2024 7:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where did the Quick Search button in the Script Editor Go?
Replies: 10
Views: 1221

Re: Where did the Quick Search button in the Script Editor Go?

Craig,
Yes, I mean the Find, Next and Previous buttons are not showing..
by CAsba
Fri Feb 16, 2024 12:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where did the Quick Search button in the Script Editor Go?
Replies: 10
Views: 1221

Where did the Quick Search button in the Script Editor Go?

Hi all,
I had it but now it's not there. Looked in Edit > Preferences > Script Editor but nothing about quick search.
by CAsba
Thu Feb 15, 2024 4:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem copying from DG1 to DG5
Replies: 3
Views: 606

Re: Problem copying from DG1 to DG5

Hi Klaus,
Thank you so much !
I took a look at the dictionary, but without knowing that there is a 'AddData' command, I don't know how I could have found it.
Anyway, I'm back on track, thanks to your much appreciated assistance.
by CAsba
Thu Feb 15, 2024 12:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem copying from DG1 to DG5
Replies: 3
Views: 606

Problem copying from DG1 to DG5

Hi all, I'm using the following code but without success. Any ideas why ? put the dgNumberOfLines of grp "datagrid 1" into tLines set the dgHilitedLines of grp "datagrid 1" to tLines put the dgHilitedLines of group "datagrid 1" into theLine#hilite the last line put the dgDataOfLine[theLine] of group...
by CAsba
Tue Feb 13, 2024 12:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with datagrid
Replies: 10
Views: 1227

Re: Problem with datagrid

Hi all, Thought I'd better let you know that I resolved the problem, it was in the following code: if fld "ftype" is "cms" then answer"5555" #####################################################################################code,desc,quan, disc,Price,cost,type,stock,dcost,mpq, pun, dim1, dim2, dim...
by CAsba
Mon Feb 12, 2024 11:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with datagrid
Replies: 10
Views: 1227

Re: Problem with datagrid

There is something fundamentally wrong. In Project Browser I selected to put the objects into alphabetical order some weeks ago, which it did, but with a lot of duplicates,; some of the dups had suffixes 0001, 0002, etc., others without suffixes. Some objects do not have duplicates at all. I have be...
by CAsba
Sun Feb 11, 2024 1:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with datagrid
Replies: 10
Views: 1227

Re: Problem with datagrid

No worries, I got it to install version 9.6.9, completeb with new desktop shortcut. Still got the text-visibility-out though.
by CAsba
Sun Feb 11, 2024 1:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with datagrid
Replies: 10
Views: 1227

Re: Problem with datagrid

The visibility-out of the dgtext just happened again, but this time on the first product processing (=first line of invoice), where previously it had occurred on the second. Btw, I'm working in a D: usb, not the C: drive. I decided to download from LC again in case something had got corrupted, but t...
by CAsba
Fri Feb 09, 2024 11:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with datagrid
Replies: 10
Views: 1227

Re: Problem with datagrid

Hi Stam, No. This is what happens, as far as I can see... The DG is a list of products, with 35 columns. A product may have a property of being able to be sold as a cut part of it, for example, a roll of fabric, or not, for example a length of timber where the customer must buy a whole length, even ...
by CAsba
Thu Feb 08, 2024 12:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with datagrid
Replies: 10
Views: 1227

Re: Problem with datagrid

Hi all, Just found a working resolution; I had forgotten that I had built into the project a datagrid back-up file, to which the dg data is sent prior to processing an invoice (, so that if the invoice is abandoned by the user, the stock is re-adjusted from the back-up file to what it was before the...

Go to advanced search