Search found 15 matches

by kosmo
Tue Jul 08, 2014 6:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Push Button - Set Color When Pushed Down
Replies: 2
Views: 2245

Re: Push Button - Set Color When Pushed Down

Thanks richmond62...that was the quickest response I ever had when I posted on this forum.

Appreciate your help!
Kosmo
by kosmo
Tue Jul 08, 2014 6:49 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Push Button - Set Color When Pushed Down
Replies: 2
Views: 2245

Push Button - Set Color When Pushed Down

How can I set the color of a push button when it is pushed down?

Thanks,
Kosmo
by kosmo
Fri Jun 20, 2014 9:06 pm
Forum: Android Deployment
Topic: Android Keyboard
Replies: 3
Views: 3261

Re: Android Keyboard

Jacque, Thanks for the response. I tried focusing on nothing and this still didn't work. What I did find that works is putting a wait for .25 seconds on the open field and this worked. Not sure what the reason...but the delay somehow allows the keyboard to popup. on openfield wait .25 second end ope...
by kosmo
Fri Jun 20, 2014 7:54 pm
Forum: Android Deployment
Topic: Android Keyboard
Replies: 3
Views: 3261

Re: Android Keyboard

I am still battling this issue. I even created a new stack/card and added 2 fields on the card... This is what I am getting: Test 1... a) Click on field A - Android Keyboard works b) Click on field B - Android Keyboard doesn't work Test 2... a) Click on field A - Android Keyboard works b) Click on c...
by kosmo
Fri Jun 20, 2014 3:22 pm
Forum: Android Deployment
Topic: Android Keyboard
Replies: 3
Views: 3261

Android Keyboard

I have 2 text fields in my app. When I click one of the text fields, the keyboard pops up. When I click the other field, the keyboard disappears. Is there a way to force the keyboard to show up when I enter a field? This above behavior happens when I click in either of the text fields. Thanks, Kosmo
by kosmo
Tue Mar 04, 2014 2:36 pm
Forum: Android Deployment
Topic: Horizontal Scroll
Replies: 4
Views: 3817

Re: Horizontal Scroll

Simon,

Thanks for your help! I increased the size of the field and this did the trick. Now I can scroll horizontally!!!! :)

Kosmo
by kosmo
Mon Mar 03, 2014 2:49 pm
Forum: Android Deployment
Topic: Horizontal Scroll
Replies: 4
Views: 3817

Re: Horizontal Scroll

I tried to change the scroller example to a horizontal scroll. For some reason, the text will not scroll horizontally.

I have included the stack with the changes for horizontal scroll.

Any help greatly appreciated!

Thanks,
Kosmo
by kosmo
Fri Feb 28, 2014 7:12 pm
Forum: Android Deployment
Topic: Horizontal Scroll
Replies: 4
Views: 3817

Horizontal Scroll

I took the lesson for a vertical scroll android field and am trying to do a horizontal scroll. Can this be done? I tried to duplicate the vertical scroll data to the horizontal scroll...but it still isn't working. http://lessons.runrev.com/s/lessons/m/4069/l/94412-creating-a-native-scroller-to-scrol...
by kosmo
Fri Feb 21, 2014 9:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mouse Location Coordinates
Replies: 11
Views: 6026

Re: Mouse Location Coordinates

Craig,

Thanks for the explanation. I changed my logic a bit which now works...

on mousedown
if (controlAtLoc(the mouseLoc)) <> empty then
(do my code)
else
exit mousedown
end if
end mousedown

Appreciate all your help!
Kosmo
by kosmo
Fri Feb 21, 2014 7:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mouse Location Coordinates
Replies: 11
Views: 6026

Re: Mouse Location Coordinates

Craig, I am using the following code: if the name of (controlAtLoc(the mouseLoc)) contains "Button_" then answer "button" else exit mousedown end if If I am on a button, I will get the "button" message. If I don't have a control at the location, I get: card "card id 1002": execution error at line 3 ...
by kosmo
Fri Feb 21, 2014 4:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mouse Location Coordinates
Replies: 11
Views: 6026

Re: Mouse Location Coordinates

The ControlAtLoc is working great except when there is no control at the location. The program fails. I was hoping the program would just send back a empty value. I did find a way around this by creating a label field the size of the stack. Not sure if there is a better way to take care of this? Tha...
by kosmo
Thu Feb 20, 2014 8:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mouse Location Coordinates
Replies: 11
Views: 6026

Re: Mouse Location Coordinates

Thank you both for responding! I never heard of the ControlAtLoc...but this is exactly what I am looking for.

Appreciate your help!
Kosmo
by kosmo
Thu Feb 20, 2014 7:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Mouse Location Coordinates
Replies: 11
Views: 6026

Mouse Location Coordinates

Is there an easy way to determine what control (ie. button) is located at a giving mouseloc coordinate?

Thanks,
Kosmo
by kosmo
Mon Feb 17, 2014 7:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Selecting data on mouse down
Replies: 3
Views: 2726

Re: Selecting data on mouse down

Craig, Thanks for taking the time to respond. Much appreciated! It is a basic game of finding the word in scrambled letters. Here are my questions: I am trying to determine if it is best to load in a field table? Or is there a better way to do this? Also...when I select a value should I create a gra...
by kosmo
Mon Feb 17, 2014 6:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Selecting data on mouse down
Replies: 3
Views: 2726

Selecting data on mouse down

I am working on a application and am trying to determine the best method of doing this: Trying to create a word search game. I loaded a field table with data (1 character per column). On mouse down, I want to allow the user to be able to select the word. Currently I am creating a graphic each time t...