iOS: Developing a project for others

2011-02-02 Thread JosepM
Hi, I have a question about develop a project for others. I'm enrolled into the Apple program for iOS, so I can upload apps to the App Store, but what happen if I develop a app for others that must upload the app to the App Store? Is posible? At first, I think that I will need their certificat

Re: iOS: Developing a project for others

2011-02-02 Thread Colin Holgate
On Feb 2, 2011, at 4:15 AM, JosepM wrote: > >At first, I think that I will need their certificate to sign the app, isn't? Have them add you as a team member, so you can log in and do the upload for them. Then, on whoever's machine is their primary account contact, export a P12 certificate from

Re: How to : print a A4 stack to an A4 pdf ??

2011-02-02 Thread Robert Mann
Thanks a lot Hugh. Tried, I thought reset formatPrinting to false could have helped.. but does not do the trick over here (mac os x 10.6.5 - liveCode 450 build 1080) - possible to check what version you tried it on?? [i modified my script And tried yours straight from the box] I still get a bla

Re: How to : print a A4 stack to an A4 pdf ??

2011-02-02 Thread Robert Mann
Hi Joseph, could you check which livecode and system version this is running fine for you? thanks. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-to-print-a-A4-stack-to-an-A4-pdf-tp3252755p3253901.html Sent from the Revolution - User mailing list archive at N

Re: No dial command

2011-02-02 Thread Peter Brigham MD
On Feb 1, 2011, at 5:29 PM, dunb...@aol.com wrote: HC sends DTMF tones with the "dial" command through the speaker jack. These can connect to a dialer gadget called a "TurboDialer", which connects to a telephone handset. Nothing like that in LC at all? Never mind the hardware. It is actuall

Re: How to get current text hiliteColor in Linux?

2011-02-02 Thread Richard Gaskin
Warren Samples wrote: This gives a reasonable approximation, certainly much better than the default, but it raises a question for me. Is there a way to set the foreground color of the selection? I don't find it in the dictionary, and the white text doesn't work so well in all cases. Obviously th

Re: How to get current text hiliteColor in Linux?

2011-02-02 Thread Peter Brigham MD
On Feb 2, 2011, at 12:44 AM, Mark Wieder wrote: put line 6 of the effective colors of button x into tHiliteColor The colors property! -- very handy, and not just for Linux. I should spend more time reading the dictionary. (I think I just revealed my essential geekiness.) -- Peter Peter

Re: How to get current text hiliteColor in Linux?

2011-02-02 Thread Warren Samples
On Wed, 2011-02-02 at 05:40 -0800, Richard Gaskin wrote: > Warren Samples wrote: > > > This gives a reasonable approximation, certainly much better than the > > default, but it raises a question for me. Is there a way to set the > > foreground color of the selection? I don't find it in the dictio

How upload..

2011-02-02 Thread bacches...@tin.it
Hi, I developed some small applications that I wanted to publish on the AppStore Mac, I have inscribed me as a developer for the Mac App Store, I created the two certificates and Mac Mac App Installer, I added up Itunesconnect my applications that are now waiting to upload BUT when I try to u

Re: How upload..

2011-02-02 Thread John Craig
Hi, Mario. A few of us got caught out for iOS apps - we had to zip the file first. HTH. On 02/02/2011 14:47, bacches...@tin.it wrote: Hi, I developed some small applications that I wanted to publish on the AppStore Mac, I have inscribed me as a developer for the Mac App Store, I created th

Reminder: Linux poll @ forums

2011-02-02 Thread Richard Gaskin
A couple months ago I posted a poll to see which Linux distros you LiveCode folks are using: So far we've had only 19 responses, but I'm guessing we have more Linux users on this list than that. If you can spare a moment it would be

R: Re: How upload..

2011-02-02 Thread bacches...@tin.it
Messaggio originale Da: j...@splash21.com Data: 2-feb-2011 15.56 A: "How to use LiveCode" Ogg: Re: How upload.. Hi, Mario. A few of us got caught out for iOS apps - we had to zip the file first. HTH. On 02/02/2011 14:47, bacches...@tin.it wrote: > > > Hi, I developed some small ap

Re: How to : print a A4 stack to an A4 pdf ??

2011-02-02 Thread FlexibleLearning
Hi Robert, I just tried Windows XP - 4.5(1080) with supplied revpdfprinter.dll dated Sep 2010 - 4.5.2(1150) with supplied revpdfprinter.dll dated Dec 2010 I also tried Mac OS X 10.6.6 - 4.5.2(1150) with supplied revpdfprinter.dll dated Dec 2010 All prints are as expected with no 2cm print offse

Re: LiveCode for e-book production

2011-02-02 Thread Javier Miranda V.
Thank you very much for your posts regarding this topic. Your feedback will be very helpful, I´m glad you find it interesting, this confirms the great characteristics and features of LiveCode and the great community around it. Saludos, Javier Miranda V. __

Cascading Option Menus

2011-02-02 Thread Peter Haworth
The recent thread on mouseDoubleup and particularly Richard's thought on HIG have made me realise the UI choices I made weren't the best. I'm now thinking of using a cascading option menu. The menuPick dictionary entry says "If the menu item is part of a submenu, the menu item label is followe

Re: Cascading Option Menus

2011-02-02 Thread dunbarx
Pete: There should be no issue here. In a cascade menu put: AA : BB CC DD EE : BB CC DD FF You will want to get the menuHistory in order to distinguish between the redundant choices: on menuPick pItemName put pItemname && the menuhistory of me end menuPick I g

Re: iOS: Show with visual effect

2011-02-02 Thread Dan Friedman
Funny, I didn't even think to try that! Sadly, it did not work. Perhaps we need a new effect? Something like: show group "myGroup" with visual effect none -Dan > Hi Dan, > > > > If you lock the screen and show an object with a visual effect, only the > rect of the object gets refreshed

Re: iOS: Show with visual effect

2011-02-02 Thread Andre Garzia
I am experiencing that after a visual effect the whole UI gets locked and no update to the screen happens... anyone seeing this on iOS? On Wed, Feb 2, 2011 at 4:21 PM, Dan Friedman wrote: > Funny, I didn't even think to try that!  Sadly, it did not work. Perhaps we > need a new effect?  Somethin

Re: How to : print a A4 stack to an A4 pdf ??

2011-02-02 Thread Robert Mann
Solved! I upgraded from 4.5.0 to 4.5.3, with livecode 4.5.3 "open printing to pdf" works fine. The culprit was version 4.5.0 build 1080 on mac os X, though it seemed fine on windows. Upgrading from mac os x 10.6.5 to 10.6.6 did not change anything. Thanks everybody for helping drilling this...

Re: Cascading Option Menus

2011-02-02 Thread Peter Haworth
Thanks, I think I still have problems though. If the submenu items were constant values, the menuhistory would work, but the menu choices will be built dynamically when the user clicks on the option menu button so the menuhistory won't be fixed for any particular submenu item. The menu tagging

Re: Cascading Option Menus

2011-02-02 Thread Richard Gaskin
Peter Haworth wrote: The recent thread on mouseDoubleup and particularly Richard's thought on HIG have made me realise the UI choices I made weren't the best. I'm now thinking of using a cascading option menu. The menuPick dictionary entry says "If the menu item is part of a submenu, the menu i

Re: Cascading Option Menus

2011-02-02 Thread Peter Haworth
I guess on the theory that no news is good news then any news must be bad! Back to the drawing board I guess. I'm thinking I have a couple of choices. I could use an option menu showing what would have been the main menu items in the cascading scenario, and either a second option menu that d

Re: Cascading Option Menus

2011-02-02 Thread Richard Gaskin
Peter Haworth wrote: > I can separate the row specific items from the others with a line > but how does that gel with HIG? IIRC all the HIGs (OS X, Win, Gnome) recommend using separators where appropriate in pulldown and popup menus, and the LC engine supports them well on all three platforms

Re: iOS: Show with visual effect

2011-02-02 Thread Bernard Devlin
Visual effects were very broken, but the report says they have apparently been Fixed in 4.6.0-dp-1 . http://quality.runrev.com/qacenter/show_bug.cgi?id=7358 Bernard On Wed, Feb 2, 2011 at 6:36 PM, Andre Garzia wrote: > I am experiencing that after a visual effect the whole UI gets locked > and

Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Rick Harrison
Hi there, I need to know the best way to get a random subset of records without duplicates in the resulting record set using a Postgresql database query with Livecode on On-Rev. In other words, I don't want to have to get all of the records in the database first just to be able to pick out the 21

Re: iOS: Show with visual effect

2011-02-02 Thread Harald Müller
> I am experiencing that after a visual effect the whole UI gets locked > and no update to the screen happens... anyone seeing this on iOS? Yes, happened here also, but only under certain conditions. I haven't found out yet which these are but I tend to see it in a scroller. Whole software hangs w

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Pierre Sahores
It's a SQL syntax task, not a revDB one and as soon as the query will be OK, revDB will just handle it as expected. Best regards, Le 2 févr. 2011 à 21:29, Ri

ClickLine anomaly?

2011-02-02 Thread dunbarx
In HC, in a locked field with no text, if I write a mouseUp handler: On mouseUp put the clickLine end mouseUP I get the clickLine. In LC, if there is no text in the field, I get empty. With text, no problem, of course. Empty lines above some text, also no problem. Empty lines below some

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Rick Harrison
Hi Pierre, What I'm looking to do is to perform the Random pick from the database, not reorder my results randomly after I've gotten all records. I don't think the code links below help me to do that. I've been down this road already. Thanks anyways! Rick On Feb 2, 2011, at 4:29 PM, Pierre Sa

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Peter Haworth
I'm not a Postgresql user but how about something like this. This assumes you have a numeric primary key in the table you want to access. 1. Use the max() function to get the max value for the primary key of the table 2. Generate 21 random numbers between 1 and the max primary key, ensuirng yo

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Pierre Sahores
Hi Rick, SELECT * FROM table WHERE condition = true ORDER BY hashfloat8(random()) LIMIT 10; Are you sure that the order by + limit clauses used together can't suit exactly your needs ? Best, Pierre Le 2 févr. 2011 à 23:40, Rick Harrison a écrit : > Hi Pierre, > > What I'm looking to do is t

Datagrid question

2011-02-02 Thread Peter Haworth
I want to get hold of a couple of datagrid properties in a script that is not in the datagrid group - the dgColumn, dgColumnLabel, and the dgHeaderControl. Not having any luck. About all I've tried is qualifying the property with the ID of the datagrid group but that doesn't work. Any ideas?

datagrid forms and pre-defined sorting sorting

2011-02-02 Thread Monte Goulding
Hi Let's say I have a datagrid with dgData keys [firstname] and [lastname] and I always want to show the list sorted in alphabetical order so I need to sort by firstname then by lastname. Is the only way to do that: set the dgData of group "datagrid" to mydata SortDataByKey "firstname", "intern

Re: datagrid forms and pre-defined sorting sorting

2011-02-02 Thread Peter Haworth
There's a SortDataGridColumn message that is sent to the datagrid when the user clicks on a column to sort it. I've not used it but I imaging you could grab the data ,sort it however you want it, then put it back into the datagrid within a handler for that message in the datagrid group script.

Re: datagrid forms and pre-defined sorting sorting

2011-02-02 Thread Monte Goulding
> There's a SortDataGridColumn message that is sent to the datagrid when the > user clicks on a column to sort it. I think that's only for tables. > Depending on the source of your data, you could sort it before loading it > into the datagrid. Most of the data in my datagrids comes form SQL

Re: Datagrid question

2011-02-02 Thread Trevor DeVore
On Wed, Feb 2, 2011 at 7:41 PM, Peter Haworth wrote: > I want to get hold of a couple of datagrid properties in a script that is > not in the datagrid group - > the dgColumn, and the dgHeaderControl. These properties are usually used within the context of an event such as a mouseClick. The us

Re: datagrid forms and pre-defined sorting sorting

2011-02-02 Thread Trevor DeVore
On Wed, Feb 2, 2011 at 8:05 PM, Monte Goulding wrote: > Let's say I have a datagrid with dgData keys [firstname] and [lastname] and > I always want to show the list sorted in alphabetical order so I need to > sort by firstname then by lastname. Is the only way to do that: > > set the dgData of gro

Re: datagrid forms and pre-defined sorting sorting

2011-02-02 Thread Monte Goulding
> No, you aren't missing anything. There is already a 'sort by column' > property. I suppose a 'sort by key' synonym could be added and the sorting > logic could be applied to forms. I've added to a list of things to > investigate. It would be great if we could provide an ordered list of sortKeys

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Rick Harrison
Hi Pierre, I tried "ORDER BY random() LIMIT 21" It does work the way I want it to. It was just the way they described it work, that didn't sound correct. It sounded like the code would just select the first 21 records which met my 'true' requirement in the database and then reorder them ra

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Rick Harrison
Hi again Pierre, How do I avoid picking duplicates though? Rick On Feb 2, 2011, at 6:09 PM, Pierre Sahores wrote: > Hi Rick, > > SELECT * > FROM table > WHERE condition = true > ORDER BY hashfloat8(random()) > LIMIT 10; > > Are you sure that the order by + limit clauses used together can't su

Re: ClickLine anomaly?

2011-02-02 Thread J. Landman Gay
On 2/2/11 4:08 PM, dunb...@aol.com wrote: In HC, in a locked field with no text, if I write a mouseUp handler: On mouseUp put the clickLine end mouseUP I get the clickLine. In LC, if there is no text in the field, I get empty. With text, no problem, of course. Empty lines above some text, als

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Rick Harrison
Hi yet again Pierre, Ok, I did a test where I used the limit of 48 out of 49 records. It didn't pick even one duplicate. Hurray!!! The code must advance the record counter randomly so no duplicates occur. Nice, but unexpected. Ok, all is well now. Thanks again, Rick On Feb 2, 2011, at 9:41

Re: ClickLine anomaly?

2011-02-02 Thread dunbarx
Jacques. Easy workaround using the clickLoc and knowledge of the field properties. I load adjacent fields with data all the time, and click on a line to edit (or add) text. Many times data is missing from the bottom line of a field that has corresponding data in that line it its neighbors. So

Re: datagrid forms and pre-defined sorting sorting

2011-02-02 Thread Trevor DeVore
On Wed, Feb 2, 2011 at 9:35 PM, Monte Goulding wrote: > > It would be great if we could provide an ordered list of sortKeys just like > can be done with the sort command in livecode and order by in SQL. > Right. That is what I would do so you could just set the dgProp["sort by key"] to "last name

Re: datagrid forms and pre-defined sorting sorting

2011-02-02 Thread Monte Goulding
>> It would be great if we could provide an ordered list of sortKeys just like >> can be done with the sort command in livecode and order by in SQL. >> > > Right. That is what I would do so you could just set the dgProp["sort by > key"] to "last name" cr & "first name". (There is no rule that say

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Pierre Sahores
You welcome, Rick. PS: PostgreSQL, the amazing diamond of the ACID-SQL db world ;-) Best, Pierre Le 3 févr. 2011 à 03:37, Rick Harrison a écrit : > Hi Pierre, > > I tried "ORDER BY random() LIMIT 21" > > It does work the way I want it to. > > It was just the way they described it work, th

Re: Postgresql Random Rec Set - no Duplicates with Livecode

2011-02-02 Thread Pierre Sahores
'Morning Rick, To avoid possible border effects, did you try how it goes in adding the distinct clause alike this : SELECT DISTINCT * FROM table WHERE condition = true ORDER BY hashfloat8(random()) LIMIT 10; Best, Pierre Le 3 févr. 2011 à 04:06, Rick Harrison a écrit : > Hi yet again Pierre