Search found 11 matches

by Christo777
Fri Jul 06, 2012 3:45 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: move under script
Replies: 1
Views: 1739

move under script

Hello,

is it possible for a script to know what happens when a field is moved by another script ?

ex.:

move fld MyField from pointa to pointb

putting a dragMove handler in the fields script doesn't seem to work
by Christo777
Sat Jun 30, 2012 3:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: shutdownRequest handler
Replies: 3
Views: 2724

Re: shutdownRequest handler

I can try that but that would solve only half of the problem (on MacOS only).
For the other platforms, can I trap the "Quit" menuitem in my File menu button ?

I really would want to know why my handler doesn't catch the request.
Should I put this question in another topic of the forum ?

Thank you
by Christo777
Fri Jun 29, 2012 2:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: shutdownRequest handler
Replies: 3
Views: 2724

shutdownRequest handler

Hi, when I quit my standalone app, this code should execute but it does not. It is in the script of the main stack. Have an idea ? tx on shutdownRequest answer question "Are you sure you want to quit?" with "Yes" or "No" if it is "Yes" then send closecard to card 1 of stack "Sans titre" pass shutdow...
by Christo777
Thu Jun 28, 2012 8:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: some menuItems not showing - solved
Replies: 3
Views: 2594

Re: some menuItems not showing

Good ! My File menu works with the two more lines ! I found that the last item of last menu is always the About.., even if this menu is not Help. At one stage, my last menu was Fonts and the last font name appeared in the application menu, at the place of a About.. item. I still try to reorder my me...
by Christo777
Thu Jun 28, 2012 5:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: some menuItems not showing - solved
Replies: 3
Views: 2594

some menuItems not showing - solved

Hello, 1. My menus are a group of pulldown buttons in a separate substack. They all show and behave correctly except that the last two menuItems of one of my menus don't show at all. I put "Display 8 items" in the inspector. I tried different values with no success. When I clic on it in it's own sta...
by Christo777
Thu Jun 21, 2012 2:45 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: need advice - solved
Replies: 3
Views: 2811

Re: need advice - part 2

Thank you. I did just that and it works. Now I still have this problem : I have an open stack whose name is nameofmystack and whose filepath is pathtomystack in a script, I try to close this stack and open another one (which is in a different file) but with the same name (nameofmystack). I always ha...
by Christo777
Tue Jun 12, 2012 7:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: MouseEnter and MouseLeave on iPad
Replies: 4
Views: 5034

Re: MouseEnter and MouseLeave on iPad

Thanks for your reply.

I guess the touch syntax is explained only when you buy the iOS package ?
Is there a list of the touch keywords that I could see in the meantime?
by Christo777
Tue Jun 12, 2012 6:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: MouseEnter and MouseLeave on iPad
Replies: 4
Views: 5034

MouseEnter and MouseLeave on iPad

Hi,

I'm writing an app and plan to make also iPad or iPhone version.
Are all messages handled the same way as they are on a computer ?

For example, is MouseEnter sent to a button before MouseDown, MouseEnter and MouseWithin ?

Thank You
by Christo777
Tue Jun 12, 2012 6:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: need advice - solved
Replies: 3
Views: 2811

need advice - solved

Hello, I am creating an App and I want the user not to lose his work on quitting. He should have a choice to start anew or continue with his work when he comes back. It can contain objects like fields, buttons and graphics that the user can manipulate and move. Can a standalone create and reuse stac...
by Christo777
Fri May 25, 2012 12:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: fit content by script - solved
Replies: 2
Views: 2002

Re: fit content by script

Thank you, It did work this time.
by Christo777
Thu May 24, 2012 3:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: fit content by script - solved
Replies: 2
Views: 2002

fit content by script - solved

Hello,

I need to resize a field according to it's contained text (which I don't know in advance), so all text will be visible without scrollbars. More or less like inspector's "Fit content" in "Size & position".

Thank you