Re: Sorting Columns

2015-03-04 Thread ha...@exformedia.se
There is a lession on how to format your display here: http://lessons.runrev.com/m/datagrid/l/7327-how-do-i-override-the-default-behavior-for-rendering-data-to-a-cell In short you need to override the default behavior of the datagrid column: 1. Create a new button and select it 2. Copy the

Re: Javascript on mobile

2014-11-19 Thread ha...@exformedia.se
It is! I’ve done it several times. What is it that is not working? :-Håkan 19 nov 2014 kl. 22:50 skrev David Bovill david.bov...@gmail.com: Is it not possible to execute Javascript in a mobile browser? I thought I remembered it in one of the release notes?

Re: Rotated Text?

2014-03-27 Thread ha...@exformedia.se
If you want better print result you can scale the textfield first by factor 2 or 4, import a snapshot and then rescale the image. LiveCode will now use the extra data when printing. I’ve tried this code on a button: on mouseUp lock screen put the rect of field 1 into tRect put the

Re: The LifeCode of LiveCode

2013-10-12 Thread ha...@exformedia.se
. A little explanation and how you built it would be nice. Roger On Oct 11, 2013, at 12:50 AM, ha...@exformedia.se wrote: The first post to github was made 6 months ago yesterday (april 10'th) so I made a small visualization of the project according to git. I've got it up on YouTube

The LifeCode of LiveCode

2013-10-11 Thread ha...@exformedia.se
The first post to github was made 6 months ago yesterday (april 10'th) so I made a small visualization of the project according to git. I've got it up on YouTube today and there seems to be some of the latest fixes missing but I couldn't find them on github so maybe they are not there yet…

Re: UnicodeLabel pulldown menu trouble

2013-05-23 Thread ha...@exformedia.se
What's your problem? You get a unicode answer back if you have unicode label. Try this: 1. Create a menu button with unicode labels 2. create a new text field and name it result 3. Put the following code on the menu button: on menuPick pItemName set the unicodeText of field result to

Re: Editing polygon points

2013-03-20 Thread ha...@exformedia.se
You can alt-drag from another point to get a new point. :-Håkan ___ http://www.exformedia.se Check out my new iOS game at http://appstore.com/swapatiswap 7 mar 2013 kl. 16:38 skrev Jim Hurley jhurley0...@sbcglobal.net: Adding points is tricky. But you can just add a new

Re: Vote for LiveCode - About.com Reader's Choice Best Mobile App Creator

2013-03-07 Thread ha...@exformedia.se
Can't see the logic behind that list… Funambol : A syncronizing engine Livecode : Well we all now what this is Memotoo : Also a synchronizing engine MobiCart : Lets you easily take your product catalog to mobile devices SaasMob : Can't wrap my head around that… It says that you can create mobile

Re: [TIP] Quick Dirty Image Resizing

2013-01-28 Thread ha...@exformedia.se
I have something similar, but also have the shiftKey in the script, your script would be on resizeControl if the shiftKey is down then put long id of img 1 of me into myImage put formattedHeight of myImage/formattedWidth of myImage into thePercent set resizeQuality of myImage

Re: SplitView

2012-11-05 Thread ha...@exformedia.se
There is no native split view in Livecode (at the moment), but, you can create the same thing by creating your layout with the list to the left and the content to the right. You can create your list as a background group and place it on every content card. :-Håkan 5 nov 2012 kl. 19:35 skrev

Re: Tab Panel highlight errors

2012-11-03 Thread ha...@exformedia.se
Are you sure that you have the same background object on all cards? If you copy and past a group from one card to the other tey are in fact two different groups even if you select behave lie a background. :-Håkan 31 okt 2012 kl. 22:31 skrev tbodine: Hi, I used the tutorial

Re: Put URL and garbage in result from PHP

2012-10-08 Thread ha...@exformedia.se
If you access your data via command line. Is it OK then? Then I hope you instead of SELECT xword FROM ydatabase really wants SELECT xword FROM YTABLE? What does your HTTP-headers look like? maybe it's an encoding issue that somehow garbles LiveCode? I've never seen this issue in LiveCode

Re: command-click on a word

2012-10-07 Thread ha...@exformedia.se
TO answer your first question. YES it's an OS X thing! It's free when using Cocoa text fields. When LiveCode finally ports to Cocoa the standard context menu would at least be an option. I can't see that it is possible to hook into that today. So you have to roll your own... The built in spell

Re: connecting to mysql

2012-09-30 Thread ha...@exformedia.se
Most web hosting companies have one or more MySQL-eneabled offerings, but only a few of them allow you to connect remotely to their database, and most doesn't allow you to add users. I.e. all users will run as the same user. What you need is, as suggested before, to have some CGI-script written

Re: Images with colo(u)red borders?

2012-09-30 Thread ha...@exformedia.se
One solution to the mystery is to use the outerGlow effect instead of border. Set opacity to 255, filter to Box 1, spread to 255, width and color to what you want. :-Håkan 30 sep 2012 kl. 17:23 skrev Klaus on-rev: Hi Richmond, Am 30.09.2012 um 16:45 schrieb Richmond

Re: detect keyboard height on mobile

2012-09-25 Thread ha...@exformedia.se
According to the documentation http://developer.android.com/reference/android/inputmethodservice/Keyboard.html#getHeight() it doesn't looks like it should be that hard to implement... ...so maybe someone at Runrev could explain why they are not able to resolve the bug at this point in time.

Re: Need help

2012-09-24 Thread ha...@exformedia.se
To my experience you never need a lock screen in preOpenCard as it is run pre (i.e. before) the card opens. Maybe a lock screen here could mess with some internal lock. :-Håkan 21 sep 2012 kl. 00:19 skrev Terence Blyth: Hi thanks, I have in preOpenCard at the start lock screen and at the

Re: detect keyboard height on mobile

2012-09-21 Thread ha...@exformedia.se
What I do is to place every form control in a group and then when a control gets the focus you scroll the group so the field is visible, then when the keyboard is dismissed you scroll the group back to its original position. You can also add user scrolling to the group so the user can scroll up

Re: 5.5.2 Linux display bug?

2012-09-18 Thread ha...@exformedia.se
When running under iOS the cursor is actually there but is white and thus not showing in most fields. Is that the case under Linux too or is this a separate iOS bug? :-Håkan 17 sep 2012 kl. 18:51 skrev Mark Wieder: Warren Samples warren@... writes: Thank you Richard and Roger. I have

Re: Scrolling beyond 32k pixel limit?

2012-09-15 Thread ha...@exformedia.se
Maybe you an setup your photos so you don't need to have all in one group. In fact I don't think you need more than three the actual card the card to the left and the on to the right. When you scrolled to the next card you can switch the left, middle and right cards. Just an idea :-Håkan

Re: Mobile mapping with native browser control

2012-08-29 Thread ha...@exformedia.se
I have an app with Google maps that got approved recently, as mergMK doesn't support way finding yet... ...but I don't have a screenshot where the map is displayed. To me it sounds like you are not allowed to use google maps in a screenshot to promote your app as that is considered old and you

Re: Font differences between IOS versions

2012-08-29 Thread ha...@exformedia.se
A word of caution... ...if YOU install fonts YOU need to license them... Håkan Liljegren Exformation Designer http://www.exformedia.se/ 27 aug 2012 kl. 23:29 skrev Howard Bornstein: There are quite a few fonts that were not supported in earlier versions of IOS. I am targeting my app to run on