Search found 2271 matches

by jmburnod
Sat Jan 19, 2019 11:32 am
Forum: Talking LiveCode
Topic: textChanged is not invoked after cutting text
Replies: 4
Views: 61

Re: textChanged is not invoked after cutting text

Hi,
Same result fro me (lC indy 9.0.1)
It works with a simple "cut" message sent by a btn

Code: Select all

on mouseup
   cut
end mouseup
I wonder if that is an IDE behavior
What happens in standalone ?
by jmburnod
Thu Jan 17, 2019 12:20 pm
Forum: Mac OS
Topic: cannot use two finger scroll in a scrolling group
Replies: 6
Views: 188

Re: cannot use two finger scroll in a scrolling group

Hello,
"among the items of" is a useful way
...
if pRawKey is among the items of "65309,65308" then
...
Best
Jean-Marc
by jmburnod
Tue Jan 15, 2019 5:57 pm
Forum: Mac OS
Topic: cannot use two finger scroll in a scrolling group
Replies: 6
Views: 188

Re: cannot use two finger scroll in a scrolling group

Hi Kaveh,
Sorry for your hairs.
good catch i will correct this in my stack
Best
Jean-Marc
by jmburnod
Tue Jan 15, 2019 9:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: PopUp to TextLabel?
Replies: 8
Views: 220

Re: PopUp to TextLabel?

Hi, If I understand correctly what you want to do i think "label" is the magic word. something like that: ... put empty into tAllLabels put "mybtnoption1,mybtnoption2" into tAllOptions repeat for each item tOneOption in tAllOptions put (the value of the label of btn tOneOption) & cr after tAllLabels...
by jmburnod
Sat Jan 12, 2019 6:55 pm
Forum: Rich Media
Topic: [SOLVED] Testing mouseColor function
Replies: 30
Views: 603

Re: Testing mouseColor function

Hi,
I found 2 black pixels here (topleft = 0,0) by hand
2,5 10.3

Results for black pixel using btn
0,0,0 4,11 6.3

Results for others colors using btn
253,111,111not found
253,189,189 not found
15,255,16 not found
255,0,0 1,2 2,2 3,2 4,2 6,12 8,3 9,3 10,3 11,3 12,3

Best
Jean-Marc
by jmburnod
Wed Jan 09, 2019 3:57 pm
Forum: Mac OS
Topic: cannot use two finger scroll in a scrolling group
Replies: 6
Views: 188

Re: cannot use two finger scroll in a scrolling group

Glad it works :D
I see

Code: Select all

    put 48 into tEmpan
You can use the height of your btns and the margin between them to define the value of tEmpan
Jean-Marc
by jmburnod
Wed Jan 09, 2019 3:41 pm
Forum: Mac OS
Topic: cannot use two finger scroll in a scrolling group
Replies: 6
Views: 188

Re: cannot use two finger scroll in a scrolling group

Hi Kaveh, I think you have to play with rawkeydown Just rename your group to "grMyGroup" and copy this script to your group script local sCurScrollGr on mouseenter put "grMyGroup" into sCurScrollGr end mouseenter on rawkeydown pRawKey put "65309,65308" into tLesK if pRawKey is in tLesK then put 48 i...
by jmburnod
Wed Dec 26, 2018 10:50 am
Forum: iOS Deployment
Topic: Is there any way to determine if I am building for Android or for iOS?
Replies: 6
Views: 411

Re: Is there any way to determine if I am building for Android or for iOS?

Hi Peter I wonder if that is possible to get the hilite of checkbox "android" of window "standalone application setting" You may get the long name of this checkbox using a trick of Klaus: 1. Put cursor over the checkbox "Android" 2. Type "put the long name of the mousecontrol" from messagebox put th...
by jmburnod
Wed Dec 26, 2018 10:23 am
Forum: iOS Deployment
Topic: Is there any way to determine if I am building for Android or for iOS?
Replies: 6
Views: 411

Re: Is there any way to determine if I am building for Android or for iOS?

If I develop on a Mac and build for Android, will the the "platform function" not respond "MacOS" then?
Sorry, i was wrong. You're probably right.
by jmburnod
Tue Dec 25, 2018 11:30 pm
Forum: iOS Deployment
Topic: Is there any way to determine if I am building for Android or for iOS?
Replies: 6
Views: 411

Re: Is there any way to determine if I am building for Android or for iOS?

Hi Peter.
Is it possible to see which platform you are building by using savingMobileStandalone?
the platform function should works
Best regards
Jean-Marc
by jmburnod
Mon Dec 24, 2018 2:05 pm
Forum: iOS Deployment
Topic: Align a graphic with a specific character in a field?
Replies: 2
Views: 300

Re: Align a graphic with a specific character in a field?

Hi,
You may use selectedloc after you have selected a char in the field.
Something like that
...
select char n of fld "myField"
get the selectedloc
....
Best regards
Jean-Marc
by jmburnod
Wed Dec 19, 2018 11:22 am
Forum: Mac OS
Topic: Down arrow acting as Up arrow with Option or Command
Replies: 21
Views: 934

Re: Down arrow acting as Up arrow with Option or Command

Hi,
It also doesn't work with LC indy 9.0.1 but with a different behavior. Arrow down select directly after last char of the field, arrow up select before the previous line
by jmburnod
Wed Dec 19, 2018 10:59 am
Forum: Feature Requests
Topic: Simulate keypress in a script
Replies: 35
Views: 2756

Re: Simulate keypress in a script

Hi Kaveh I played with arrowkey to select current, prev, next word in a unlocked field, navigationArrows = false. It works fine except if i use optionkey is down as condition. Here is the script of a unlocked field called "fText" on arrowkey pKey -- if the optionkey is down then -- doesn't work for ...
by jmburnod
Fri Dec 14, 2018 7:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Arrow key bug in Livecode
Replies: 5
Views: 324

Re: Arrow key bug in Livecode

Hi Max,
What? That is very bad...
Where I should set it? It's a global property? Is it a card property? :?
Useful for me
I think that is a stack property
Kind regard
Jean-Marc
by jmburnod
Mon Dec 10, 2018 10:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: different image display with LC 8.16 (good) and LC 9.01
Replies: 3
Views: 229

Re: different image display with LC 8.16 (good) and LC 9.01

Sorry, I was not clear
Images are screenshots made in OSX.
Image on top is what i see when i open the stack with LC 8.1.6
and the image on bottom is what i see when i open the stack with LC 9.0.1

Go to advanced search