Re: Cover the complete dual screen desktop with a stack?

2015-02-13 Thread Phil Davis
And screens can be different sizes. That's the setup I have - my main one is 2560x1440, the other is 1680x1050. They display a single continuous desktop space. When I get "the screenRects" I find that the top and bottom of the smaller display are NOT 0 and 1050! They are 246 and 1296 - it is ce

Re: Cover the complete dual screen desktop with a stack?

2015-02-13 Thread Trevor DeVore
On Fri, Feb 13, 2015 at 7:51 PM, Paul Dupuis wrote: > On 2/13/2015 7:37 PM, Matthias Rebbe | M-R-D wrote: > > > > I am looking for a way to cover the whole dual screen desktop with a > stack. Setting the fullscreen mode only works on the „active“ screen. The > screen where the stack is placed aft

Re: Menu Buttons and the text property

2015-02-13 Thread Randy Hengst
I'm not at my computer so this idea might just be worthless. Can the first line of your industry list be empty and when you trap for delete go to line 1? > On Feb 13, 2015, at 6:43 PM, Bob Sneidar wrote: > > Thanks for the reply. Let me explain what I am trying to accomplish. > > I have a com

Re: Cover the complete dual screen desktop with a stack?

2015-02-13 Thread Paul Dupuis
On 2/13/2015 7:37 PM, Matthias Rebbe | M-R-D wrote: > Hi. > > please excuse, if this post should arrive twice in your inbox But i sent this > message already about 6 hrs ago to this list and it did not arrive here or in > the online list archive. > > So i am trying again. > > > I am looking for a

Re: Cover the complete dual screen desktop with a stack?

2015-02-13 Thread Bob Sneidar
I bet that would play holy hell with the new graphics engine. Bob S > On Feb 13, 2015, at 16:37 , Matthias Rebbe | M-R-D > wrote: > > Hi. > > please excuse, if this post should arrive twice in your inbox But i sent this > message already about 6 hrs ago to this list and it did not arrive h

Re: Menu Buttons and the text property

2015-02-13 Thread Bob Sneidar
Thanks for the reply. Let me explain what I am trying to accomplish. I have a combo box with a property containing a list of Industry Names. Things like Retail Services, Auto Repair and such. As the user types, I want to autofill the text with the first choice in that list that matches what the

Cover the complete dual screen desktop with a stack?

2015-02-13 Thread Matthias Rebbe | M-R-D
Hi. please excuse, if this post should arrive twice in your inbox But i sent this message already about 6 hrs ago to this list and it did not arrive here or in the online list archive. So i am trying again. I am looking for a way to cover the whole dual screen desktop with a stack. Setting t

Re: Menu Buttons and the text property

2015-02-13 Thread Randy Hengst
Sounds like menuHistory might be helpful. > On Feb 13, 2015, at 5:37 PM, Bob Sneidar wrote: > > Hi all. > > If I set the text of a Combo Menu to a return delimited list, not only does > it change the menu options (as it should) but it also sets the Label to the > first line of the menu opti

Re: Menu Buttons and the text property

2015-02-13 Thread Bob Sneidar
Trying to come up with a workaround. Turns out that in a combo box the selectedChunk does NOT return the insertion point. Instead it returns the description of the first line of the text of it. For example, I have 5 characters in the combo box, the insertion point is at the end of that text. I

Re: Reverse a list

2015-02-13 Thread Bob Sneidar
Oh thanks. That would have screwed me up if I had tried to use “memory”. Bob S On Feb 13, 2015, at 15:34 , Peter Haworth mailto:p...@lcsql.com>> wrote: We both used in memory databases. The filename is ";memory:" ___ use-livecode mailing list use-l

Menu Buttons and the text property

2015-02-13 Thread Bob Sneidar
Hi all. If I set the text of a Combo Menu to a return delimited list, not only does it change the menu options (as it should) but it also sets the Label to the first line of the menu options! That is undesirable for me. Not sure if this is the intended behavior or not. Presently it is shootin

Re: Reverse a list

2015-02-13 Thread Peter Haworth
We both used in memory databases. The filename is ";memory:" On Fri Feb 13 2015 at 2:46:45 PM Bob Sneidar wrote: > He may also have been using a memory resident database. That is what I > suggested at the first. To do this, use “memory” as the file name. > > Bob S > > > On Feb 13, 2015, at 12:4

Re: Reverse a list

2015-02-13 Thread Bob Sneidar
He may also have been using a memory resident database. That is what I suggested at the first. To do this, use “memory” as the file name. Bob S On Feb 13, 2015, at 12:40 , Mike Kerner mailto:mikeker...@roadrunner.com>> wrote: I must have missed a thread, somewhere. That would be the thread o

Re: Reverse a list

2015-02-13 Thread Peter Haworth
Right,that's a common technique to avoid the timing problmem when you need a numeric index for some reason. My stack is 100,000 lines Mike, actually 99,913. You're probably getting mixed up with the stack name which includes "1" because I started testing that way then increased it to 100, 000

Re: Reverse a list

2015-02-13 Thread Mike Kerner
NO! SORRY! My mixup in the last post - the REPEAT FOR is faster (repeat for each line...) On Fri, Feb 13, 2015 at 4:02 PM, Mike Kerner wrote: > No, no, it isn't 100,000 lines, it's only 10,000 lines. 0.129 vs 39.0. > > So then, just for the heck of it, because if we do the "repeat for", we >

Re: Reverse a list

2015-02-13 Thread Mike Kerner
No, no, it isn't 100,000 lines, it's only 10,000 lines. 0.129 vs 39.0. So then, just for the heck of it, because if we do the "repeat for", we gain some additional information (the line number we're on), I added "put 0 into i" before the loop and then "add 1 to i" inside the loop, at the top. We

Re: iPhone Simulate increase size of objects?

2015-02-13 Thread Brahmanathaswami
J. Landman Gay wrote: on startup set the fullscreenmode of this stack to "exactFit" end startup Wow.. that was easy... it worked "right out of the box." Well almost... squashed in iPad view... ___ use-livecode mailing list use-livecode@lis

Re: Reverse a list

2015-02-13 Thread Peter Haworth
Hi Mike, Glad you figured out the reason for the speed difference. Not sure if there's a single thread anywhere that talks about repeat loops but "repeat with" can be orders of magnitude faster than "repeat for" as you've discovered. In this case there were about 100k lines in the data and I thin

Re: Reverse a list

2015-02-13 Thread Mike Kerner
I must have missed a thread, somewhere. That would be the thread on how LC handles loops. To recap, doing this sort using an sqlite database (insert the values into a table, then sort the table), was taking me almost 40 seconds. Then Pete chimed in and had it working in a couple hundred millisec

Re: iPhone Simulate increase size of objects?

2015-02-13 Thread J. Landman Gay
On 2/12/2015 11:13 PM, Brahmanathaswami wrote: My image appears at it's original size (huge!) in the simulator.. .as if the downsize I had effected by just dragging the end points of the image rect to fit on the screen and then setting the loc location to. are not "accepted" in the simulator??

Re: Stream Video in LC Player

2015-02-13 Thread Brahmanathaswami
Well sometimes it helps to be "ignorant" as then you continue to hack away madly hoping something will work... I did see those forum posts, but it lookeda bit fragile to me and the time out problem is an issue, since some of these links might want to be "evergreen, archive" content. Also, me

Re: More Unicode STuff

2015-02-13 Thread Bob Sneidar
Always a good policy. For one it can’t hurt, and for another… well I don’t have another. Bob S On Feb 13, 2015, at 10:23 , Peter Haworth mailto:p...@lcsql.com>> wrote: My brain is too fried to figure out why this should be so my plan is to just always encode/decode stuff when importing/displa

Re: More Unicode STuff

2015-02-13 Thread Peter Haworth
Thanks Kay. I tried looking at the db with the Firefox SQLite Manager plugin and sure enough it doesn't display correctly. In this case, the accented characters simply aren't there. I went back and imported the data again, this time encoding the data as UTF8. Now it displays correctly in both SQ

Re: Stream Video in LC Player

2015-02-13 Thread Jim Lambert
> Brahmanathaswami wrote: > > Video/YouTube > > From all that I have read, it appears that the only option for YouTube > is to use a browser instance with their embed code. ergo, user must be > online. Today, reading YouTube terms of service, it explicitly states > that only sanctioned playe