Re: Relational Layouts (was: Re: nuther new newbie nuisance)

2011-06-15 Thread Bob Sneidar
I think someone did this already. They built a geometry manager (which is what Livecode calls what you want to do). Bob On Jun 15, 2011, at 10:02 AM, Nonsanity wrote: > As a side note, I designed the UI XML system used for Oblivion and Fallout 3 > (I don't know if Bethesda is still using it f

RE: nuther new newbie nuisance

2011-06-15 Thread FlexibleLearning
Importing images and/or using imageSource will make a very big stack! It is often better to set the fileName of an image to an externally stored jpg, gif or png... eg: set the filename of image 1 to "bird1.jpg" If you have a lot of images, you could keep them in a folder then use a relative pat

Re: nuther new newbie nuisance

2011-06-15 Thread Nonsanity
Well, it takes code to flip images with buttons, and the scrolling field needs none. But if you want to write some code anyway, you can also script the field to randomize the order of the images. As for cutting them off, that is true... You will get partial images at the top and bottom while scrol

Re: nuther new newbie nuisance

2011-06-15 Thread J. Landman Gay
On 6/15/11 11:09 AM, Timothy Miller wrote: I think maybe the way to do it is to make a scrolling group of several empty picture placeholders -- "image areas" is the correct terminology, I guess. For each card, I'll store a list of locations of desired images in a field. (The locations will be on

Relational Layouts (was: Re: nuther new newbie nuisance)

2011-06-15 Thread Nonsanity
As a side note, I designed the UI XML system used for Oblivion and Fallout 3 (I don't know if Bethesda is still using it for Skyrim), and it used an active version of this sort of relational layout. You could set the left of an image, for example, to always be the right of another image plus 10. Th

RE: nuther new newbie nuisance

2011-06-15 Thread Slava Paperno
011 12:48 PM > To: How to use LiveCode > Subject: Re: nuther new newbie nuisance > > If you want to stick with what you are familiar with, just to get the project done, > try looking up "imageSource" in the dictionary. With that, you can change a > character in a text fi

Re: nuther new newbie nuisance

2011-06-15 Thread Klaus on-rev
Hi Roger, Am 15.06.2011 um 18:47 schrieb Roger Eller: > On Wed, Jun 15, 2011 at 12:43 PM, Klaus on-rev wrote: > >> Hi Richmond, >> >> Am 15.06.2011 um 18:34 schrieb Richmond Mathewson: >> >>> So; I wrote this to Timothy Miller:- ... end mouseUp >>> >>> "find out the language equival

Re: nuther new newbie nuisance

2011-06-15 Thread Roger Eller
On Wed, Jun 15, 2011 at 12:47 PM, Roger Eller wrote: > > In addition to left/top/right/bottom, there is also loc. > > ~Roger > > and width and height (probably others too). ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: nuther new newbie nuisance

2011-06-15 Thread Nonsanity
If you want to stick with what you are familiar with, just to get the project done, try looking up "imageSource" in the dictionary. With that, you can change a character in a text field to be an image. So make a background field with fixedLineheight turned off, centered text, and a single characte

Re: nuther new newbie nuisance

2011-06-15 Thread Roger Eller
On Wed, Jun 15, 2011 at 12:43 PM, Klaus on-rev wrote: > Hi Richmond, > > Am 15.06.2011 um 18:34 schrieb Richmond Mathewson: > > > So; I wrote this to Timothy Miller:- > >> ... > >> end mouseUp > > > > "find out the language equivalents of > > the alignment commands in the Obj. Inspector" > > set t

Re: nuther new newbie nuisance

2011-06-15 Thread Devin Asay
On Jun 15, 2011, at 10:34 AM, Richmond Mathewson wrote: > So; I wrote this to Timothy Miller:- >> >> on mouseUp >> clone card "TWEETY" >> set the name of card "TWEETY" to "TWEETY2" >> --obviously this is a bit daft, you could have a field that counts the >> cards and assigns them numbers as the

Re: nuther new newbie nuisance

2011-06-15 Thread Klaus on-rev
Hi Richmond, Am 15.06.2011 um 18:34 schrieb Richmond Mathewson: > So; I wrote this to Timothy Miller:- >> ... >> end mouseUp > > "find out the language equivalents of > the alignment commands in the Obj. Inspector" set the left/top/right/bottom of YYY to the left/top/right/bottom of XXX Where

Re: nuther new newbie nuisance

2011-06-15 Thread Richmond Mathewson
So; I wrote this to Timothy Miller:- on mouseUp clone card "TWEETY" set the name of card "TWEETY" to "TWEETY2" --obviously this is a bit daft, you could have a field that counts the cards and assigns them numbers as they are cloned--- {this is where you can have your import routine} select

Re: nuther new newbie nuisance

2011-06-15 Thread Timothy Miller
Thanks, Keith, Slava and Richmond, Hmm... Tricky... The database suggestion is reasonable, but I never learned how to use a database with LC. As a pathetic hyperCard retread, I tend to think of LC as a database! I want to be able to see multiple photos of the same bird at the same time, to ge

Re: nuther new newbie nuisance

2011-06-15 Thread Richmond Mathewson
On 06/15/2011 09:13 AM, Timothy Miller wrote: Greetings, I thought I knew how to do this, but it isn't working out. I'm making a stack that will help me practice identifying birds. One card per species. Images and songs, mostly, plus a few fields for habitat, seasonality and so on. Some field

Re: nuther new newbie nuisance

2011-06-14 Thread Keith Clarke
Tim, Perhaps have a set of 'view' cards, together with an 'input' card (or substack) for data entry that traps the various videos and field data, This input card could have a 'save' button script to create the new 'view' card, copy the images and data to specific locations and add them to the ap

RE: nuther new newbie nuisance

2011-06-14 Thread Slava Paperno
> -Original Message- > From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode- > boun...@lists.runrev.com] On Behalf Of Timothy Miller > Sent: Wednesday, June 15, 2011 2:13 AM > To: How to use LiveCode > Subject: nuther new newbie nuisance > > Greetings, >

nuther new newbie nuisance

2011-06-14 Thread Timothy Miller
Greetings, I thought I knew how to do this, but it isn't working out. I'm making a stack that will help me practice identifying birds. One card per species. Images and songs, mostly, plus a few fields for habitat, seasonality and so on. Some fields and buttons will be common to all cards, but m