datagrid: on closeeditor the accents are lost

2011-02-15 Thread JosepM
Hi, I have a datagrid that use the UTF8 to store the data. On FillData I have: set the unicodetext of me to uniencode(pData,utf8) If I load some value from the database that also use UTF8 the data are showed fine. But when I edit some value all the accents and are lost. In the EditValue I

Re: Stackfiles followup

2011-02-15 Thread Peter Brigham MD
On Feb 14, 2011, at 3:01 PM, Peter Haworth wrote: The behaviors are specified in the form button id 1234 of stack xyzSub. I tried adding of stack xyz after the behavior specifications but the IDE simply removes that text. Behavior references have to be in the form of a long id: set

Re: Problem transferring focus to another object

2011-02-15 Thread Peter Brigham MD
On Feb 14, 2011, at 8:24 PM, Terry Judd wrote: Hi there - I’m trying to build a ‘fake’ optionmenu control where the menu is a list field object that is popped up over the control. I have a mouseMove handler in the field to set the hilitedLines of the field and this all works well provided

LiveCode google maps...

2011-02-15 Thread John Dixon
Could some please point me in the right direction... I would like to use the browser object in a stack to display a google map… that I can do. I would like to be able to choose a postcode or the name of a town or village from a list in a field in the stack to place the two markers, showing

Re: datagrid: on closeeditor the accents are lost

2011-02-15 Thread Trevor DeVore
On Tue, Feb 15, 2011 at 7:42 AM, JosepM jmye...@mac.com wrote: SetDataOfIndex the dgIndex of me, the dgColumn of me, the text of pFieldEditor What is wrong? :( The text of pFieldEditor is not UTF16 or UTF8. All of your other code is expecting UTF8 so you should probably use this with

Re: Problem transferring focus to another object

2011-02-15 Thread dunbarx
Hi. I am not exactly sure what you need, but I do something similar. I have a locked field class where I want to place one of several text options. I have an option button class that I reveal wherever I click the mouse down in the field. That button appears at the mouseLoc and I can then

How to hilite a checkbox with send mouseup?

2011-02-15 Thread Tiemo Hollmann TB
Hello, when sending: send mouseup to btn test the button gets the mouseUp command, but doesn't hilite, though it's property Autohilite is true. Do I really have to set additionally the hilite of that button by script? I also have pass mouseUp in the buttons mouseUp handler and I am getting

Re: LiveCode google maps...

2011-02-15 Thread Peter Brigham MD
On Feb 15, 2011, at 8:41 AM, John Dixon wrote: Could some please point me in the right direction... I would like to use the browser object in a stack to display a google map… that I can do. I would like to be able to choose a postcode or the name of a town or village from a list in a field

Re: How to hilite a checkbox with send mouseup?

2011-02-15 Thread Jim Ault
On Feb 15, 2011, at 7:07 AM, Tiemo Hollmann TB wrote: Hello, when sending: send mouseup to btn test the button gets the mouseUp command, but doesn't hilite, though it's property Autohilite is true. Do I really have to set additionally the hilite of that button by script? I also have

Re: Live LiveCode Code Event #10

2011-02-15 Thread Nonsanity
I'd post the stacks I used for most of my demo, but as I demonstrated, REST API's are SO simple to put together with LiveCode that I think it's a better exercise to write the line or two of code yourself that each contained. The video should contain all the information you need, but are the links

AW: How to hilite a checkbox with send mouseup?

2011-02-15 Thread Tiemo Hollmann TB
Hi Jim, thanks for your coaching. I wasn' t aware that sending the mousup message wouldn't trigger the needed event. So I was correct that I have to script both the message and the event. Thank you Tiemo -Ursprüngliche Nachricht- Von: use-livecode-boun...@lists.runrev.com

Re: LiveCode google maps...

2011-02-15 Thread Devin Asay
On Feb 15, 2011, at 8:56 AM, Peter Brigham MD wrote: On Feb 15, 2011, at 8:41 AM, John Dixon wrote: Could some please point me in the right direction... I would like to use the browser object in a stack to display a google map… that I can do. I would like to be able to choose a

Re: AW: How to hilite a checkbox with send mouseup?

2011-02-15 Thread Robert Brenstein
On 15.02.11 at 17:24 +0100 Tiemo Hollmann TB apparently wrote: Hi Jim, thanks for your coaching. I wasn' t aware that sending the mousup message wouldn't trigger the needed event. So I was correct that I have to script both the message and the event. Thank you Tiemo In this case, you can use

Re: AW: How to hilite a checkbox with send mouseup?

2011-02-15 Thread Nonsanity
It would be better to do something like add another handler to the button: on MouseUpWithHilite set hilite of me to not hilite of me mouseup end MouseUpWithHilite And send THAT message to the button from afar. This way, the existing MouseUp handler in the button works as expected, and

Re: How to hilite a checkbox with send mouseup?

2011-02-15 Thread dunbarx
This is actually a good thing. Because the actions are separate, you get more control. It is therefore proper that if you want to combine them, you write it that way. You just have to get used to the details. Craig Newman -Original Message- From: Tiemo Hollmann TB

Re: LiveCode google maps...

2011-02-15 Thread Paul Dupuis
On 2/15/2011 8:41 AM, John Dixon wrote: Could some please point me in the right direction... I would like to use the browser object in a stack to display a google map… that I can do. I would like to be able to choose a postcode or the name of a town or village from a list in a field in the

Re: Stackfiles followup

2011-02-15 Thread Peter Haworth
Monte, Thanks for the update. I just changed all my code back to using the stackFiles property instead of using the code you suggested in the Startup event and now everything works! I have changed this code so many times now that I honestly can't remember what is different about it now that

RE: LiveCode google maps...

2011-02-15 Thread John Dixon
Peter, Thanks for this... regards, John Dixon From: pmb...@gmail.com To: use-livecode@lists.runrev.com Subject: Re: LiveCode google maps... Date: Tue, 15 Feb 2011 10:56:56 -0500 Here is a function I have used to fetch the total distance between two addresses from Google maps. The

Re: How to hilite a checkbox with send mouseup?

2011-02-15 Thread David C.
On Tue, Feb 15, 2011 at 11:39 AM, Tiemo Hollmann TB toolb...@kestner.de wrote: :) it's always great to see how helpful and responsive you guys are, even with such trivial issues! Tiemo These folks are great, huh Tiemo? :) ...none of it is ever really trivial, especially when your head hurts

LiveCode Event Feb 26th.

2011-02-15 Thread Peter Haworth
Hi, Checking in to see if you still have a slot I could use for a presentation on the above date. What I'd like to show is a tool I've put together that helps with the development of LiveCode Apps that use SQL databases by eliminating a large percentage of the LiveCode and SQL code developers

Re: Problem transferring focus to another object

2011-02-15 Thread J. Landman Gay
On 2/14/11 7:24 PM, Terry Judd wrote: Hi there - I¹m trying to build a Œfake¹ optionmenu control where the menu is a list field object that is popped up over the control. I have a mouseMove handler in the field to set the hilitedLines of the field and this all works well provided the user clicks

UPDATE: Drag and Drop

2011-02-15 Thread Bob Sneidar
As far as the problems I have been having with drag and drop, I discovered I had a bad datagrid. When I deleted and recreated the datagrid, everything began to work properly again, with the exact same scripts (I saved and restored the scripts). Oddly, dropping onto any other column besides the

Re: Problem transferring focus to another object

2011-02-15 Thread Terry Judd
On 15/02/11 11:56 PM, Peter Brigham MD pmb...@gmail.com wrote: On Feb 14, 2011, at 8:24 PM, Terry Judd wrote: Hi there - I¹m trying to build a Œfake¹ optionmenu control where the menu is a list field object that is popped up over the control. I have a mouseMove handler in the field to set

Re: Problem transferring focus to another object

2011-02-15 Thread Terry Judd
On 16/02/11 5:05 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 2/14/11 7:24 PM, Terry Judd wrote: Hi there - I¹m trying to build a Œfake¹ optionmenu control where the menu is a list field object that is popped up over the control. I have a mouseMove handler in the field to set the

Re: Problem transferring focus to another object

2011-02-15 Thread Terry Judd
Thanks Craig - I'm trying to create a cross-platform control so unfortunately I can't use a Mac only option menu. Additionally, I want to use a small text size in the menu - hence the need to fake a menu with a field rather than with a proper menu (the overall effect I'm looking for is like the

Re: RevServer in CSS

2011-02-15 Thread Medard
Andre Garzia an...@andregarzia.com wrote: I think there is a directive for apache called AddMime or something like AddMimeType... Hmmm... that's digging into Apache, a little too much for me ;-) Cheers, sorry for the typo. No harm, again (it is very easy to write harmful words in a

Re: LiveCode google maps...

2011-02-15 Thread Peter Brigham MD
On Feb 15, 2011, at 11:57 AM, Devin Asay wrote: On Feb 15, 2011, at 8:56 AM, Peter Brigham MD wrote: On Feb 15, 2011, at 8:41 AM, John Dixon wrote: Could some please point me in the right direction... I would like to use the browser object in a stack to display a google map… that I can

RE: Keydowns during Socket Read/Writes

2011-02-15 Thread Camm
Can anybody who is good with Client / Server Sockets get a client to send some data to the server when a key is pressed on the clients keyboard ?? If it is possible please could you share or see if it is a bug . Best Regards Camm From: use-livecode-boun...@lists.runrev.com

Re: LiveCode google maps...

2011-02-15 Thread James Hurley
Peter, Thanks. Very interesting. A couple of questions. Is lineoffsets a custom function or a typo? And what is the sr function? Thanks again, Jim Hurley On Feb 15, 2011, at 10:00 AM, use-livecode-requ...@lists.runrev.com wrote: function getMileage put

Re: Keydowns during Socket Read/Writes

2011-02-15 Thread Mark Schonewille
Camm, I didn't experience any problems. Here's a test I made http://qery.us/nz -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker

Re: datagrid: on closeeditor the accents are lost

2011-02-15 Thread JosepM
Hi Trevor, Using this: SetDataOfIndex the dgIndex of me, the dgColumn of me, unidecode(the unicodeText of pFieldEditor, utf8) Don't work. Still losing the accents... Salut, Josep -- View this message in context:

Plugins

2011-02-15 Thread Peter Haworth
I get individual messages from the list and they don't include info on where to go to search the list, so I have to ask here: what is the best place to put plugins? Thanks, Pete Haworth ___ use-livecode mailing list

Re: RevServer in CSS

2011-02-15 Thread Andre Garzia
On Tue, Feb 15, 2011 at 6:32 PM, Medard liste.r...@medard.on-rev.com wrote: Cheers, sorry for the typo. No harm, again (it is very easy to write harmful words in a language you don't know very well -- I hope that I didn't that in Portuguese, as I travelled to Lisbon in November ;-))) I used

Re: RevServer in CSS

2011-02-15 Thread Pierre Sahores
Le 16 févr. 2011 à 00:51, Andre Garzia a écrit : On Tue, Feb 15, 2011 at 6:32 PM, Medard liste.r...@medard.on-rev.com wrote: Cheers, sorry for the typo. No harm, again (it is very easy to write harmful words in a language you don't know very well -- I hope that I didn't that in Portuguese,

Re: Plugins

2011-02-15 Thread Mark Wieder
Pete- Tuesday, February 15, 2011, 3:47:49 PM, you wrote: I get individual messages from the list and they don't include info on where to go to search the list http://news.gmane.org/gmane.comp.ide.revolution.user -- -Mark Wieder mwie...@ahsoftware.net

Re: Plugins

2011-02-15 Thread Peter Haworth
Thanks Mark - bookmarked. Pete Haworth http://www.mollysrevenge.com http://www.sonicbids.com/MollysRevenge http://www.myspace.com/mollysrevengeband On Feb 15, 2011, at 5:30 PM, Mark Wieder wrote: Pete- Tuesday, February 15, 2011, 3:47:49 PM, you wrote: I get individual

Call for Linux apps

2011-02-15 Thread Richard Gaskin
Later this month I'll be at SCaLE 9x, the SoCal Linux Expo: http://www.socallinuxexpo.org/scale9x/ There will be plenty of people there from Canonical, Fedora, and other major projects, and lots of great developers of all stripes, so I'd love to load my Dell up with as many cool examples of

[OT] Apple at it again

2011-02-15 Thread Chipp Walters
Surprise, Apple changed their license terms-- again. http://www.computerworld.com/s/article/9209580/Apple_s_new_App_Store_rules_affect_Amazon_s_Kindle I suspect Kindle will have to be dropped from the iPad and iPhone. I'm sure Amazon doesn't have 30% in royalties to cough up to Apple for books

Re: [OT] Apple at it again

2011-02-15 Thread Colin Holgate
On Feb 15, 2011, at 9:51 PM, Chipp Walters wrote: I suspect Kindle will have to be dropped from the iPad and iPhone. I'm sure Amazon doesn't have 30% in royalties to cough up to Apple for books sold. That's not good logic. For one thing, people are making fortunes off their 70%, and I'm

Re: Plugins

2011-02-15 Thread Mark Wieder
Pete- Tuesday, February 15, 2011, 5:50:28 PM, you wrote: Thanks Mark - bookmarked. Me too. It's on my bookmarks toolbar. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

[OT] Apple at it again

2011-02-15 Thread Chipp Walters
Colin, if you read the article I referred to, the key issue is the part that reads,, 'Apple does require that if a publisher chooses to sell a digital subscription separately outside of the app, that same subscription offer must be made available, at the same price or less, to customers who wish

Re: Call for Linux apps

2011-02-15 Thread Bill Vlahos
Sorry for my reply to the list. I meant that to just go to Richard. Bill Vlahos On Feb 15, 2011, at 6:06 PM, Richard Gaskin wrote: Later this month I'll be at SCaLE 9x, the SoCal Linux Expo: http://www.socallinuxexpo.org/scale9x/ There will be plenty of people there from Canonical,

Re: [OT] Apple at it again

2011-02-15 Thread Peter Haworth
Well said. Apple's behavior in recent months has been ridiculous. If Microsoft tried anything remotely close to this, the Apple lovers would be in an uproar. This isn't just Amazon, it also applies to newspapers and periodicals who offer subscriptions for online reading of their

Re: RevServer in CSS

2011-02-15 Thread Medard
Andre Garzia an...@andregarzia.com wrote: I used to speak French better than Portuguese when I was really young, I lived in Dunkerque from 82 till 84 (I was 4 in 84) but when I returned to Brazil, no one spoke french to me anymore so I forgot. That's very coincidental !!! I used to live and