Search found 221 matches
- Mon May 07, 2018 5:00 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: User Interface Question
- Replies: 24
- Views: 14622
User Interface Question
I have a card with about a half dozen fields. This will be a modal (sheet) substack. The user will tab from field to field entering data. In a few of those fields, there are some limited choices based upon what the user has provided by entering data in earlier fields. As an example: Field 1 - The us...
- Sun Apr 08, 2018 5:55 pm
- Forum: Talking LiveCode
- Topic: Global vars needed for modals I create?
- Replies: 2
- Views: 2338
Re: Global vars needed for modals I create?
There are many ways to get data in and out of dialogs, and globals can be a good one. In fact, there's one global built into the language for this purpose: see the Dictionary for DialogData. Ahh! "DialogData" will do it and will, as the dictionary states, permit me to simplify my code. Many thanks!...
- Sun Apr 08, 2018 5:39 pm
- Forum: Talking LiveCode
- Topic: Global vars needed for modals I create?
- Replies: 2
- Views: 2338
Global vars needed for modals I create?
In the past I've called the "ask" dialog to request info from the user and, if the "OK" button was pressed, the requested info was now in "it". No problems. Now, however, I am requesting the user provide much more detailed information that needs to remain structured so I've created a substack with f...
- Mon Apr 02, 2018 7:05 pm
- Forum: Talking LiveCode
- Topic: Chaining multiple revPrintField's into one PDF
- Replies: 8
- Views: 5014
Re: Chaining multiple revPrintField's into one PDF
But I get the idea now, basically stuff all the different fields per page type thing, and your worried about them running together being in one container. I wonder if it wouldn't be possible to just print one card after the other, just like in that nifty tool from ye olden IDE days. Hmmm. revPrintF...
- Mon Apr 02, 2018 5:07 am
- Forum: Talking LiveCode
- Topic: Chaining multiple revPrintField's into one PDF
- Replies: 8
- Views: 5014
Re: Chaining multiple revPrintField's into one PDF
Well, I'm not sure I got it totally, and my pardon if I'm completely off base, but if I wanted to take a bunch of fields and combine then print them, I'd stuff them into a variable or custom property or even an invisible field in order using the after statement. Something like on mouseUp put empty ...
- Sun Apr 01, 2018 8:21 pm
- Forum: Talking LiveCode
- Topic: Chaining multiple revPrintField's into one PDF
- Replies: 8
- Views: 5014
Chaining multiple revPrintField's into one PDF
The subject may be clear enough but, in case it's clear only to me, I'll explain. I have a number of cards with a background field (and I'm probably thinking of HyperCard here so forgive me). Each card has that field filled with different data. I'd like to cycle through those cards issuing a "revPri...
- Wed Mar 28, 2018 10:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Linux printing with revPrintField - um...nope
- Replies: 1
- Views: 1839
Re: Linux printing with revPrintField - um...nope
I'll note that using "search for inclusions" creates nothing extra in the build folder. When I manually select inclusions (every one that shows a penguin), I do get a bunch of extras in the build folder. However, the same issue occurs: There's an initial answer dialog I present (which happens) but, ...
- Wed Mar 28, 2018 8:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: doMenu not finding the menu
- Replies: 22
- Views: 11278
Re: doMenu not finding the menu
But in all cases they're buttons in a group at the top of a card which respond to a menuPick message. So I was curious how they work as expected in one place but not another. Possibly because a one card stack is scanned for all objects but a shared group needs to be specified because LC won't scan ...
- Wed Mar 28, 2018 5:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: doMenu not finding the menu
- Replies: 22
- Views: 11278
Re: doMenu not finding the menu
Hi friends, "doMenu" is SOOOOO 90s and should not be used anymore in favour of a modern programming concept! :D Instead of having something like this in your menu(s): on meupick tPickedItem switch tItem case "Backup" do this... do that... get that... set that one over there... etc. etc... break cas...
- Wed Mar 28, 2018 3:52 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: doMenu not finding the menu
- Replies: 22
- Views: 11278
Re: doMenu not finding the menu
How do they differ? Well, I was talking about the results. Calling the LC IDE menu seems to work. Calling my menu does not. Tried this: send "menuPick" && "Backup" to btn "Maintenance" of stack "List Management" ...but nothing happened. No errors and, when I called it from the multi-line message bo...
- Wed Mar 28, 2018 3:44 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Linux printing with revPrintField - um...nope
- Replies: 1
- Views: 1839
Linux printing with revPrintField - um...nope
Well, I've made sure that all the usual inclusions are there (like "printing", etc.) yet calling "revPrintField" from my menu results in nothing when run in my Linux app. In the Mac version (exactly the same stack; only the app launcher is different due to how LC gloms in the appropriate runtime), i...
- Wed Mar 28, 2018 1:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: doMenu not finding the menu
- Replies: 22
- Views: 11278
Re: doMenu not finding the menu
Craig, I am wondering whether we are referring to slightly different things. Your example (which I tested and works as expected) is calling a menu item in the Livecode IDE . My example (which I tested and does not work) is calling a menu item in a menubar I created for my stack using the menu builde...
- Tue Mar 27, 2018 10:52 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: doMenu not finding the menu
- Replies: 22
- Views: 11278
Re: doMenu not finding the menu
I've moved the Backup handler to be a stack script so the menu item "Backup" simply calls that handler. From the File menu item (Quit) that needs to call the Backup procedure before quitting, I just used the handler name rather than calling the Backup menu item (with the process failing) and it work...
- Tue Mar 27, 2018 10:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: doMenu not finding the menu
- Replies: 22
- Views: 11278
Re: doMenu not finding the menu
Tried this: send "menuPick" && "Backup" to btn "Maintenance" of stack "List Management" ...but nothing happened. No errors and, when I called it from the multi-line message box along with "put the result", there was no result. I checked using this: put there is an item "Backup" of btn "Maintenance" ...
- Tue Mar 27, 2018 9:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: doMenu not finding the menu
- Replies: 22
- Views: 11278
Re: doMenu not finding the menu
So how would one call a menu item?
Or should I take that menu item's handler and put it into the stack? Then wherever that handler is called (from any other menu item or a button or whatever in that stack) it should work?
Thanks!
Or should I take that menu item's handler and put it into the stack? Then wherever that handler is called (from any other menu item or a button or whatever in that stack) it should work?
Thanks!