Hi,
I am looking for a few small examples on how to build a visual designer. Drag and dropping objects on a canvas, moving them and resising them with grippers or handels or whatever they are called. I know the IDE is build in livecode so it is probably in there somewhere but if someone could point me to a few smaller examples I would be very greatful.
Have a nice sunday,
Warm regards,
Marc
Visual designer
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 142
- Joined: Thu Feb 21, 2013 8:47 am
-
- VIP Livecode Opensource Backer
- Posts: 142
- Joined: Thu Feb 21, 2013 8:47 am
Re: Visual designer
Hi,
Nobody has any hints, tips, links, snippets, one-liners?
Marc
Nobody has any hints, tips, links, snippets, one-liners?

Marc
Re: Visual designer
I think your request is too broad, at least, that's why I didn't answer before. It's kind of like asking "how do I build a car?" What part of a car, and how far have you got on it, and what part don't you have working yet?
The IDE itself is basically what you're asking for. It's scripts are all open, so you could take a look. Or better, start trying things and ask more specific questions here, and I think you'll have better luck.
The IDE itself is basically what you're asking for. It's scripts are all open, so you could take a look. Or better, start trying things and ask more specific questions here, and I think you'll have better luck.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 142
- Joined: Thu Feb 21, 2013 8:47 am
Re: Visual designer
OK Jacque, I will try again and examin the IDE scripts. Thanks.
I set the visibility of the UI elements so I can look at the scripts. But, if I set a breakpoint somewhere livecode does not stop. Should it?
For example, I set a breakpoint in 'On mouseEnter' in the group "colors" of the card "Brushes Card" in revTools. If I click on a color in the tools
dialog, the marquee gets set (which is part of the 'On mouseEnter' handler) but LC did not stop.
I want to be able to understand the code by putting breakpoints.
Best regards,
Marc
I set the visibility of the UI elements so I can look at the scripts. But, if I set a breakpoint somewhere livecode does not stop. Should it?
For example, I set a breakpoint in 'On mouseEnter' in the group "colors" of the card "Brushes Card" in revTools. If I click on a color in the tools
dialog, the marquee gets set (which is part of the 'On mouseEnter' handler) but LC did not stop.
I want to be able to understand the code by putting breakpoints.
Best regards,
Marc
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Visual designer
Some aspects of working with IDE scripts are governed by a global variable, gRevDevelop, which is "false" by default. Setting that to true should enable breakpoints for IDE scripts, as well as enable the "Lookup Definition" item in the script editor's context menu and other features useful for working in the IDE stacks.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn