Search found 2535 matches

by jmburnod
Fri Nov 20, 2020 10:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reorder group elements
Replies: 10
Views: 2179

Re: Reorder group elements

Sorry no idea
You maybe try to send a private message to trinitylogics
Best regards
Jean-Marc
by jmburnod
Sat Nov 14, 2020 4:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Brush Tool
Replies: 8
Views: 273

Re: Using Brush Tool

I tested what i described above and it works. Know the name of target image will be next step (mouseenter is not sent when brush tool s selected. Fortunately, mousemove is sent and we can get the mouseloc on mousemove. Then a simple loop can return the name of target image if the mouseloc is within ...
by jmburnod
Sat Nov 14, 2020 4:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Brush Tool
Replies: 8
Views: 273

Re: Using Brush Tool

Just an idea...
Is it possible in your context to export snapshot to a variable from rect of image paper.png and set the text of image paper.png to content of variable ?
Be careful, if your image paper.png has been resized, the rect of image paper.png keep rect of snapshot.
by jmburnod
Sat Nov 14, 2020 2:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Brush Tool
Replies: 8
Views: 273

Re: Using Brush Tool

Yes, it is an imported control
Yes but i think that is a referenced control (your image have a filename9
To draw on image you have to import your image not referenced (import as control)
MenuImportControl.png
MenuImportControl.png (27.55 KiB) Viewed 256 times
by jmburnod
Sat Nov 14, 2020 1:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Brush Tool
Replies: 8
Views: 273

Re: Using Brush Tool

Hi gsillevis ,
Is your image 'paper.png' referenced from an external file "'paper.png'" ?
Best regards
Jean-Marc
by jmburnod
Thu Nov 05, 2020 11:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling change in textstyle of field lines
Replies: 4
Views: 367

Re: Handling change in textstyle of field lines

Hi Glen,
You may use:

Code: Select all

set the textstyle of line 3 of fld "myFld" to "underline"
Best regards
Jean-Marc
by jmburnod
Wed Nov 04, 2020 11:35 pm
Forum: Talking LiveCode
Topic: setting hscroll of a field from a second card
Replies: 18
Views: 1070

Re: setting hscroll of a field from a second card

Hi,
For this case i use a customprop called "uToDo" and use it at opencard if it is not empty.
Best regards
Jean-Marc
by jmburnod
Sun Nov 01, 2020 7:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling situations where a requested card doesn't exist
Replies: 9
Views: 795

Re: Handling situations where a requested card doesn't exist

Hi Glenn,
You may use

Code: Select all

if there is a cd "MyCard" then go to cd  "MyCard"
Kind regards
Jean-Marc
by jmburnod
Wed Oct 21, 2020 2:28 pm
Forum: Multimedia
Topic: Export Snapshot into Card
Replies: 7
Views: 485

Re: Export Snapshot into Card

What Klaus said and also:

Code: Select all

import snapshot from this card
set the name of last img to "image"
Jean-Marc
by jmburnod
Wed Oct 21, 2020 1:34 pm
Forum: Multimedia
Topic: Export Snapshot into Card
Replies: 7
Views: 485

Re: Export Snapshot into Card

Hi, tCodeFile is not a path. You need ending with extension. Once you have exported your snapshot you can import data or use filename ... put specialfolderpath("documents") & "/ " & "tCodeFile.jpg" into tPath export snapshot from this card to file tPath AS JPEG set the filename of image "image" to t...
by jmburnod
Tue Oct 20, 2020 5:41 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to select menuitem by script ?
Replies: 23
Views: 1076

Re: How to select menuitem by script ?

Craig,
No, user must see menuitems list
No need answer dialog, just the same as my stack but simpler with a menu btn.
It is for help users to use tools of one app.
Jean-Marc
by jmburnod
Tue Oct 20, 2020 5:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Image position
Replies: 9
Views: 681

Re: Image position

Hi Seal,
Are you sure your image is in your group ?
Jean-Marc
by jmburnod
Tue Oct 20, 2020 1:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to select menuitem by script ?
Replies: 23
Views: 1076

Re: How to select menuitem by script ?

Thanks All
I was not clear in my first post and title of topic.
I said "select menuitem" but "hilite menuitem" is a better describe.
Here is a stack with work around I use.
demoCustomMenu.zip
(1.91 KiB) Downloaded 18 times
Jean-Marc
by jmburnod
Mon Oct 19, 2020 9:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to select menuitem by script ?
Replies: 23
Views: 1076

Re: How to select menuitem by script ?

Thanks all for advices similar to an answer dialog You're right, If i put a breakpoint after " click at the loc..." then script editor doesnt open. Same result with dispatch I used a workaround with a fld. It works but I hoped find an simpler way (for example i need to add a line "Cancel"). There is...
by jmburnod
Sun Oct 18, 2020 10:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to select menuitem by script ?
Replies: 23
Views: 1076

Re: How to select menuitem by script ?

Craig,
Select successive menuItems in turn and have the user "select" one? Would it cycle back to the top if nothing was selected?s fire.
Yes for fun but mainly i want to select a menuitem once the list is visible.
Jean-Marc

Go to advanced search