Search found 22 matches

by dntknwjck
Thu Mar 05, 2020 5:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to include stack1 in another stack
Replies: 12
Views: 920

Re: Best way to include stack1 in another stack

Thanks to all.
The information from AxWald was the final piece to make this work.
After I get things cleaned up I will post the code. It may be helpful to others.

I forgot how much fun it is to be a "Newbe"

Terry


DtPicker.zip posted 3/10/2020
by dntknwjck
Tue Mar 03, 2020 3:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to include stack1 in another stack
Replies: 12
Views: 920

Re: Best way to include stack1 in another stack

Thanks Bogs, that was exactly what I was looking for.
by dntknwjck
Tue Mar 03, 2020 12:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to include stack1 in another stack
Replies: 12
Views: 920

Re: Best way to include stack1 in another stack

Hi Used two stacks to develop the calendar and interface. From previous platforms I have used I have been able to import things like this and assumed that to be the case with LiveCode. Appears I was wrong. Can something like this be put in a library and be reused? If so can you point me to some plac...
by dntknwjck
Mon Mar 02, 2020 10:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to include stack1 in another stack
Replies: 12
Views: 920

Re: Best way to include stack1 in another stack

Craig Thanks for the example. That is not exactly what I am trying to do. I guess my original question was not clear. I have built a calendar using a DataGrid to use as a date picker. At this time I have a main stack and a subStack with the calendar on the subStack. I know I could rename this and co...
by dntknwjck
Sat Feb 22, 2020 7:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: rawKeyUp pKeyCode &rawKeypDown pKeyCode
Replies: 3
Views: 426

rawKeyUp pKeyCode &rawKeypDown pKeyCode

Hi
Just wondering if there is a list somewhere of the value for pKeyCode values returned in the rawKey handlers.

Thanks
by dntknwjck
Fri Feb 21, 2020 6:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Best way to include stack1 in another stack
Replies: 12
Views: 920

Best way to include stack1 in another stack

Hello Need some help with including separate stacks and cards in a new stack. For example I have a stack that creates a calendar that picks the day that was clicked on, (in a data grid). That I want to use in another stack as a picker. Tried "start using stack" but could not make that work also trie...
by dntknwjck
Tue Feb 11, 2020 1:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MatchChunk is true but positionVarsList is empty
Replies: 2
Views: 514

Re: MatchChunk is true but positionVarsList is empty

Thierry,
Thanks for the example I see the mistake I made.

Sure would be nice if the dictionary had examples like this.
by dntknwjck
Mon Feb 10, 2020 5:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: MatchChunk is true but positionVarsList is empty
Replies: 2
Views: 514

MatchChunk is true but positionVarsList is empty

Hello Another day of frustration the trying to follow the Dictionary and not getting the expected results. I have the following code in a mouseUp event and get the expected results with matchText, but matchChunk returns true with the positionVariable empty. However offset using the variable from mat...
by dntknwjck
Thu Nov 14, 2019 10:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: answer file with type
Replies: 4
Views: 370

Re: answer file with type

A little more effort and I find that prompt and titled are mutually exclusive.
by dntknwjck
Thu Nov 14, 2019 8:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: answer file with type
Replies: 4
Views: 370

Re: answer file with type

Thanks Klaus
That works except that on my Linux the prompt doesn't show but the title does. On windows the prompt shows, but the title does not show.
Will explore that a little further sometime.
by dntknwjck
Thu Nov 14, 2019 7:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: answer file with type
Replies: 4
Views: 370

answer file with type

Good Morning Have been fighting this for several hours: File1.QFX does not show up in the Linux dialog Using LC 9.5 running on LinuxMint 18.3 and Win10 version 1903 this code produces the following scrren shots(2 attachments). answer file prompt with specialFolderPath("resources") with type "QFX|qfx...
by dntknwjck
Sat Aug 31, 2019 5:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: read from file (field "Datafile") at -100 for charsToRead
Replies: 8
Views: 717

Re: read from file (field "Datafile") at -100 for charsToRead

jacque,

Thanks for the insight about "read from file (field "Datafile") at -100 for charsToRead" in the dictionary.
Not sure I would ever have figured that out, but it does make sense.
Your example should be put in the dictionary as it is much clearer than what it currently there.
by dntknwjck
Thu Aug 29, 2019 4:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: read from file (field "Datafile") at -100 for charsToRead
Replies: 8
Views: 717

Re: read from file (field "Datafile") at -100 for charsToRead

Thanks to all for the thoughts about this. I have two things in mind: 1- The dictionary shows an example of reading from a field as if the field was a file. I think tat is an interesting concept and have tried to make it work, but have not been successful with that. 2- I am trying to determine the b...
by dntknwjck
Tue Aug 27, 2019 8:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: read from file (field "Datafile") at -100 for charsToRead
Replies: 8
Views: 717

read from file (field "Datafile") at -100 for charsToRead

Hello - Just trying to get this example from the dictionary to work: read from file (field "Datafile") at -100 for charsToRead my code is: open file (fld "txtTwo") for read answer the result = "can't open that file" read from file (field "txtTwo") at -101 for 400 answer the result = "file is not ope...
by dntknwjck
Sun Jul 07, 2019 11:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Tree View building the array
Replies: 0
Views: 755

Tree View building the array

The attached zip file contains the stacks necessary to run this example program TreeView-Folders. Which does what the name implies, for Windows and Linux. This is something I put together to figure out how Tree View and Arrays work. My question is about the command populateArray in folders.livecodes...

Go to advanced search