Search found 76 matches

by mvillion
Sun Sep 23, 2018 10:55 pm
Forum: iOS Deployment
Topic: Damn pop up keyboard
Replies: 0
Views: 15

Damn pop up keyboard

Hi I have an app and the pop-up keyboard pops up when it is launched. It makes the app look sloppy. The card comprises of buttons and three text fields. I do not have any commands that force focus or anything like that. What I want it the card to display and allow the users to focus on the text fiel...
by mvillion
Sun Sep 23, 2018 10:36 pm
Forum: iOS Deployment
Topic: iOS wows - Screen not updating on a card
Replies: 0
Views: 22

iOS wows - Screen not updating on a card

Hi This is a new one on me. I have an app that workes perfectly in iOS 11.x Moved it to iOS 12. Made a number of tweaks along the way but nothing major. Just timely minor bug fixes and one extra card. The whole app works perfectly except... The apps first card now has a problem where it does not alw...
by mvillion
Thu Jul 05, 2018 5:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a datagrid - Form
Replies: 9
Views: 413

Re: Scrolling a datagrid - Form

Hi all

An update.
I shut the computer down. Restarted everything and it is working now.
No idea.

I needed to take a Dogbert approach.
by mvillion
Mon Jul 02, 2018 8:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a datagrid - Form
Replies: 9
Views: 413

Re: Scrolling a datagrid - Form

Hi Yes. A data grid is easy to work with as a list.
If you switch it to 'Form' mode and things change.
by mvillion
Mon Jul 02, 2018 5:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling a datagrid - Form
Replies: 9
Views: 413

Scrolling a datagrid - Form

Hi I guess I am lazy because LC handles so many things up to now. I have created a data grid form and the vertifcal scroll bar is visible but moving it up an down only slides the bar - the data in the grid does not slide with it. I have looked through the tutorials and there was nothing I could see ...
by mvillion
Sun Jul 01, 2018 1:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing colour from the colour wheel preselector
Replies: 3
Views: 192

Re: Removing colour from the colour wheel preselector

Goddammit. I tried everything EXCEPT that.

I was expecting it to behave like other colour where you right click

Right click, right click shift, right click control. Al right click. Left click with shift alt and command etc etc.

Doh.
I never tried DELETE

ROFL

Thanks Klaus
by mvillion
Sun Jul 01, 2018 9:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Removing colour from the colour wheel preselector
Replies: 3
Views: 192

Removing colour from the colour wheel preselector

Hi I have been programming with LC for years but I have never worked out how to remove colours (or modify colours ) from grid where you store colours. (See attachment as it is hard to describe). Basically I had 'saved' colours from various projects that I no longer want so I now want to eliminate or...
by mvillion
Tue Jun 19, 2018 11:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Discovery of calling routine
Replies: 6
Views: 410

Re: Discovery of calling routine

Hi

Close but not quite

Consider this

Code: Select all

on Command01
 put theFunction() into theAnswer
end Command01

on Command02
 put theFunction() into theAnswer
end Command2

function theFunction
 return ThisText
end function
Can 'thefunction' know who called it?
by mvillion
Tue Jun 19, 2018 9:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Discovery of calling routine
Replies: 6
Views: 410

Discovery of calling routine

If I have a script and it calls a function, can the function know what script called it?
This would be very useful in debugging.
by mvillion
Wed Jun 13, 2018 9:34 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Method to rename stack
Replies: 12
Views: 1046

Re: Method to rename stack

Sweet.

I did not know that LC had 'number of controls'. I should have known. 8-D

'Copy -> paste' into my code snippet bin.

Many thanks
by mvillion
Wed Jun 13, 2018 9:13 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Method to rename stack
Replies: 12
Views: 1046

Re: Method to rename stack

I just want to say thanks to everyone who has contributed on this and all my other threads. I would be lost without you. :D One script per card that checks for behaviours is a neat way to do it get the behavior of btn "xyz" replace "suckyName" with "goodName" in it set the behavior of btn "xyz" to i...
by mvillion
Tue Jun 12, 2018 11:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Method to rename stack
Replies: 12
Views: 1046

Re: Method to rename stack

Ok. This is interesting but then LC introduced stacks as behavior containers and that was the end of it. I am not sure what this means. Currently, I have a card with different buttons with my behaviours in them and I reference the behaviours via that mechanism. If you're pretty sure you won't be cha...
by mvillion
Tue Jun 12, 2018 3:22 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Method to rename stack
Replies: 12
Views: 1046

Re: Method to rename stack

Hi Jean-Marc

Ok. You have my interest.

Do you script the updating of behaviours? If so, it means you will need to keep a list of all objects that have behaviours associated so the script can perform the re-association. Is that what you meant?
by mvillion
Tue Jun 12, 2018 1:07 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Method to rename stack
Replies: 12
Views: 1046

Method to rename stack

Hi Is there a method to rename a stack and still preserve 'behaviour's? Problem If I rename a stack just by giving it a new name in the properties of the stack, all my behaviours no longer work as they reference the name of the stack. I cannot see how to do a global replace. Reason My stack has a su...

Go to advanced search