Search found 24 matches

by 2hup
Mon Dec 07, 2015 8:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Control Container?
Replies: 11
Views: 6572

Re: Control Container?

Sorry Craig - I didn't mean LC stacks and cards. I meant conceptually, I could stack these items like cards - kind of the rolodex concept you pitched.
by 2hup
Fri Dec 04, 2015 5:24 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Control Container?
Replies: 11
Views: 6572

Re: Control Container?

Have you thought of a "rolodex" style of interface? Craig So, I am planning to use tags to help organize these items, so I was thinking I could create stacks of items, by tag. Say I queried on tag A, I might have stacks of items that also contain Tag E, Tag Y and Other (3 stacks). Could help me lim...
by 2hup
Fri Dec 04, 2015 5:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Control Container?
Replies: 11
Views: 6572

Re: Control Container?

OMG - let's try to stay on topic guys :D
Now I feel really stupid!
by 2hup
Thu Dec 03, 2015 10:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Control Container?
Replies: 11
Views: 6572

Re: Control Container?

Craig - you are so smart. Yes, the data will be multi-line text. I want this to look/feel a bit like note cards. The number could become large and I will tackle how I will page through the data once I get through the interface. I could, I suppose, have a fixed number of visible cards and give the ef...
by 2hup
Thu Dec 03, 2015 9:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Control Container?
Replies: 11
Views: 6572

Control Container?

Hello LiveCoders! I have a new problem I hope you can guide me in solving. I have an image below to illustrate. I need to be able to query a database, and have text from matching records displayed in controls. I am using scrolling fields in the illustration. There is a scrollbar (which I haven't use...
by 2hup
Thu Dec 03, 2015 8:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: handlers not firing
Replies: 7
Views: 4062

Re: handlers not firing

Thank you Jacque - that looks like a good solution.

Brad
by 2hup
Thu Dec 03, 2015 8:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: enum equivalent?
Replies: 7
Views: 4342

Re: enum equivalent?

Sorry for the delay in this response - I have been working on other projects for a bit. I hope this is not insulting. I am a c# developer, so here is a reference link, in case you are not familiar with this concept. http://www.dotnetperls.com/enum I use this data type for a lot of different things, ...
by 2hup
Thu Nov 19, 2015 9:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: handlers not firing
Replies: 7
Views: 4062

Re: handlers not firing

Thanks Craig!
I was using startup, which shows up in the dictionary - maybe it is deprecated? I never could see the message in the message watcher.
so far openStack is working fine. Thanks!
by 2hup
Thu Nov 19, 2015 9:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Multi-line Data
Replies: 12
Views: 7480

Re: Multi-line Data

If you want the 3 lines to be in 1 row the CRs need to be replaced with numToChar(11). I replaced the "return" with the numToChar(11) like you suggested. You are right, it displays it as one line in the grid. Problem is, it displays that way in all controls. I need this text to be multi-line in a c...
by 2hup
Thu Nov 19, 2015 4:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: handlers not firing
Replies: 7
Views: 4062

handlers not firing

Hello LiveCoders! In my application I have some of handlers that were to be working until yesterday, but now the code never gets executed. I have gone through every part of LiveCode I can find, but I cannot figure out how to fix this. In particular, I have a startup handler in the script for my main...
by 2hup
Thu Nov 19, 2015 2:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Multi-line Data
Replies: 12
Views: 7480

Re: Multi-line Data

The data wasn't created with code - it was from another source.
by 2hup
Thu Nov 19, 2015 12:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Multi-line Data
Replies: 12
Views: 7480

Re: Multi-line Data

The screen shots show the issue. However, we will need to see your code in order to diagnose the problem and provide a solution. Try replacing the cr with numToChar(11), it's a soft return that keeps the line together. 11 is the ascii char Look up numToChar() in the dictionary. I have attached the ...
by 2hup
Wed Nov 18, 2015 9:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Multi-line Data
Replies: 12
Views: 7480

Re: Multi-line Data

If you store a field that has CRs into the database it will show in the table on one line eventhough the CRs are still there. When you pull that data into the dataGrid the CRs come along too. Thanks Tom, Yes, I do want all the data, CR's and all. I just want to be able to select one row representin...
by 2hup
Wed Nov 18, 2015 9:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Multi-line Data
Replies: 12
Views: 7480

Re: Multi-line Data

Here is the data in sqllite browser...
Screen Shot 2015-11-18 at 1.38.03 PM.png
Screen Shot 2015-11-18 at 1.38.03 PM.png (20.13 KiB) Viewed 7434 times
by 2hup
Wed Nov 18, 2015 9:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Multi-line Data
Replies: 12
Views: 7480

Re: Multi-line Data

Here is how it is shown in the datagrid. The last 3 lines should be 1 row from the database.
Screen Shot 2015-11-18 at 1.20.11 PM.png