Search found 18 matches

by Dondi
Thu Jul 23, 2009 3:36 am
Forum: Talking LiveCode
Topic: Graphic object resizing?
Replies: 4
Views: 5004

Re: Resizing Created Objects

edljr wrote:Dondi,

Did you figure out a solution to this problem?

Ed
Not yet Ed.
by Dondi
Wed Jun 24, 2009 1:59 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Line Drawing
Replies: 14
Views: 15280

Dondi,

I uploaded a stack "Pedigree Diagram Draft" to RevOnline 3.5.

Make new objects by clicking on the right side template objects and than connect them by alt-clicking on an object and dragging the line to the object you want to connect it to.

Most of the scripts are in the objects.

I leave ...
by Dondi
Wed Jun 24, 2009 1:58 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Line Drawing
Replies: 14
Views: 15280

Hi Dondi,

1. Something like this (very basic!):

command connect_shapes shape1,shape2
## where shape 1 and 2 are the names or IDs or whatever
## of two graphics you want to connect

set the style of the templateGraphic to "line"
## set more props here...
set the points of the templategraphic ...
by Dondi
Tue Jun 23, 2009 1:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Line Drawing
Replies: 14
Views: 15280

Hi Bernd,

I can presently add, move, resize and delete shapes (templateGraphic objects) placed on my "canvas" (an image object)

I would now like to:

1. Draw connecting lines between the shapes
2. Keep the lines attached whenever a connected shape is moved

Can you explain how I might approach ...
by Dondi
Tue Jun 23, 2009 4:21 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Line Drawing
Replies: 14
Views: 15280


...
I posted a little stack on RevOnline it is called connect lines Saratoga, if you search for it you should find it. It shows some basics of connecting images with lines. Have a look at it, take it apart and see what you can do with it.
regards
Bernd
...

Hi Bernd, I searched RevOnline for ...
by Dondi
Tue Jun 23, 2009 4:09 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: rectangle graphic on the fly
Replies: 6
Views: 9771

magice,
try local tStartLoc
on mouseDown pMouseBtnNum
if there is a graphic "myGraphic" then delete graphic "myGraphic"
reset templategraphic
set the style of the templategraphic to "rectangle" -- or "oval" or "roundrect"
set the linesize of the templategraphic to 1 -- adjust
-- set the ...
by Dondi
Tue Jun 23, 2009 4:01 am
Forum: Talking LiveCode
Topic: Graphic object resizing?
Replies: 4
Views: 5004

Solved -- sort of ...

I modified the on mouseWithin handler by adding the "choose pointer tool" as follows:

on mouseWithin
select me
choose pointer tool
end mouseWithin

Now I am able to resize the created objects when the app is run within Rev. However, the standalone app still behaves as in ...
by Dondi
Sun Jun 21, 2009 3:08 am
Forum: Talking LiveCode
Topic: Graphic object resizing?
Replies: 4
Views: 5004

Graphic object resizing?

Hi,

I am a rev newbie; but thanks to the generous members of the rev community I am making slow, but steady progress on my "learning project" -- a simple drawing app.

So far I have a simple palette of tools and a canvas where I can add objects of several shapes, select them and drag them around ...
by Dondi
Fri Jun 12, 2009 11:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Drawing help
Replies: 11
Views: 13265

Thanks Klaus. I am using vector objects on an image object used as a canvas. I will try your defaultstack suggestion and see where it leads.
by Dondi
Fri Jun 12, 2009 11:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Help with creating basic flow-charting app
Replies: 5
Views: 6178

keyless wrote:Open it from Application Browser.
Thanks keyless!
by Dondi
Sun Jun 07, 2009 4:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Drawing help
Replies: 11
Views: 13265

Hi Matt,

the only soluton is to create a palette window with your "tools", just like in the Rev IDE. ...

Klaus

Hi Klaus, can you elaborate on implementation of the palette? I tried implementing this approach by placing the "canvas" on a card in the mainstack and the palette on a card on a ...
by Dondi
Sat Jun 06, 2009 6:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Help with creating basic flow-charting app
Replies: 5
Views: 6178

OK. I have decided to just jump into Rev Studio and claw my way to completing this app (hopefully with some help from the community).

Here is the general approach that I am thinking of pursuing:

The app will consist of a main window containing the drawing "canvas" and a tools window (palette ...
by Dondi
Mon May 18, 2009 12:46 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Help with creating basic flow-charting app
Replies: 5
Views: 6178

Kind of, but not exactly. I need something less generalized, and more application-specific. Which is why I'm trying to build it myself.

Your app certainly encompasses the capabilities that I would need to implement though. Are you using a "component" stack to realize the drawing/graphic object ...
by Dondi
Mon May 18, 2009 5:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Help with creating basic flow-charting app
Replies: 5
Views: 6178

Help with creating basic flow-charting app

Hello,

Warning: I am a Total Rev Newbie

I recently purchased Revolution Studio and am coming up to speed with its unique programming paradigm.

I want to dive in and improve my proficiency by creating a basic flow-charting app.

The app will consist of a canvas plus a limited set of resize-able ...
by Dondi
Fri Apr 17, 2009 4:30 am
Forum: Off-Topic
Topic: New: Flow Chart Software Project
Replies: 2
Views: 4870

Very nice! Are there any tutorials on how such a tool can be constructed using Revolution?

Dondi.