SunQuest
           Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 17th, 2002, 10:08 AM
wordracr wordracr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 601 wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 9 m 25 sec
Reputation Power: 10
Flowchart programs for event-driven code?

Are there any programs that are suited for event-driven code?

Also, is there an easy way to get the shapes need for a condition all at once? (A Diamond with connectors on 2 of its points, and possibly 2 rectanglular boxes)?

I have Visio 2000.
If it can't be done out of the box, how would one go about creating code that would do this for you if say.. shift was pressed when you added a diamond?

Would getting Visio 2002 help?

And one last question... does anyone know how to change the shape of a shape? I don't mean changing it's points through drawing, but just changing the preset shape to another preset shape. Like a parallelogram to a rectangle?

Reply With Quote
  #2  
Old July 17th, 2002, 10:29 AM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
I'm not sure if I really understand what you are trying to do so I don't know if this is a good answer to your question.

If I was going to produce a flowchart based upon user actions (key presses, mouse clicks, etc.) and I needed to programatically change shapes from one shape to another, I would write a program that used a flowchart control that I had complete control over through an API.

For example: http://www.lassalle.com/features.htm

Based upon the actions of the user, I would send commands to the control to produce the flowchart.

Reply With Quote
  #3  
Old July 17th, 2002, 11:48 AM
wordracr wordracr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 601 wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 9 m 25 sec
Reputation Power: 10
I was asking different questions, but they all pertained to program design.

I was talking about an environment that would help you design your program. With standard flowcharting, I don't know how you would show your event that triggers your code, it seems like it's mainly used for langauges that do not have events. I was wondering if there was something that works better.

Maybe there isn't anything developed like this. But say you had code that would print a report when a button is clicked. How would you flowchart the OnClick Event?

I will try to clearify again if necessary.

Reply With Quote
  #4  
Old July 17th, 2002, 12:47 PM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
My mistake. I read your question backwards and thought you were trying to use code to produce a flowchart. Instead you want to flowchart a program design and have the code generated for you.

I think you would want to look for UML tools or the UML features of Visio. Visio Professional & Enterprise have it (click here). Or you could look at something open source like Dia (click here). If you're awash in cash, you could always try Rational's products (click here).

I've never used these, so I can't give you any good advice.

Reply With Quote
  #5  
Old July 17th, 2002, 12:58 PM
wordracr wordracr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2002
Posts: 601 wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level)wordracr User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 9 m 25 sec
Reputation Power: 10
I was hoping there was a software to develop (quicker) flowcharts that give a better representation of the events of a program. It seems that that isn't a valuable solution for coders or it would be more widespread.

I will check those out!

Thank you.

Reply With Quote
  #6  
Old July 17th, 2002, 01:25 PM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
Depending on what language you're programming in, here's a screenshot of what Visio can do for you (open the attached .jpg).
Attached Images
File Type: jpg visio.jpg (175.7 KB, 544 views)

Reply With Quote
  #7  
Old July 18th, 2002, 07:59 AM
dcaillouet's Avatar
dcaillouet dcaillouet is offline
Big Endian
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: May 2001
Location: Fly-over country
Posts: 1,173 dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level)dcaillouet User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 16 h 29 m 5 sec
Reputation Power: 24
You might want to look at some of the software described at the following link to see if any of it suits your needs. Several have the ability to reverse-engineer code and produce diagrams:

http://www.faqs.org/faqs/software-e.../section-4.html

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > Flowchart programs for event-driven code?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway