Source language: Translate to:

hpwSimpleGraph

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Postby HPW » Thu Mar 30, 2006 11:45 am

Just released hpwSimpleGraph 1.06:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Component-Upgrade of TSimpleGraph from 2.4 to 2.61

Changed: hpwSimpleGraphDeleteObj has now 1 parameter: 'SEL' or one or more unique ID (pipe).
Changed: hpwSimpleGraphSelectObj has now 1 parameter: 'ALL' or one or more unique ID (pipe).
Changed: hpwSimpleGraphBringToFront has now 1 parameter: 'SEL' or one or more unique ID (pipe).
Changed: hpwSimpleGraphSendToBack has now 1 parameter: 'SEL' or one or more unique ID (pipe).
Changed: Mouse-Wheel zoom now focus the cursor location on zoom.

Action: hpwSimpleGraphAlignSelection - Lines up selected objects in relation to each other.

Action: hpwSimpleGraphResizeSelection - Resizes selected objects to be exactly the same height or width.
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Translation

Postby DELCO » Sat Apr 08, 2006 12:17 pm

Hello Hans-Peter,

Is it possible :

a) to translate words in parameters window ( when you double-clic on a shape or link ?

b) to decide once, the color, the style of link, etc... and not to be obliged to change the properties for each shape or link created ?

You have done an excellent work !

Have a good day !
User avatar
DELCO
 
Posts: 132
Joined: Fri Apr 01, 2005 9:12 am

Postby HPW » Sat Apr 08, 2006 1:02 pm

Delco,

a) to translate words in parameters window ( when you double-clic on a shape or link ?


In the moment they are defined in the delphi IDE during development-time. So not settable for the plugin user. That would need a command set for setting the labels. I am not sure if this would be the right way for a neobook plugin. Maybe a command set for setting the parameters themself and custom-windows for setting them, would be more flexibel for the future. For this reason I had made the nbo-plugin without them.

b) to decide once, the color, the style of link, etc... and not to be obliged to change the properties for each shape or link created ?


Have you noticed the different node and link properties (in Create Button action). Setting them before create new node and link give them this properties.

(Since I was quite busy in the job, I have not spend much time the last days on plugins. Still a bunch of ideas waiting to be done for SimpleGraph)
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby DELCO » Sat Apr 08, 2006 2:20 pm

Hans,


My question about properties was not clear.

I would like to know if it is possible to decide one time, at the start of the graph, how the differents nodes or links will be, and these properties are automaticaly applied to all nodes and links.

Thank you for your work ![/quote]
User avatar
DELCO
 
Posts: 132
Joined: Fri Apr 01, 2005 9:12 am

Postby DELCO » Sat Apr 08, 2006 2:21 pm

Hans,


My question about properties was not clear.

I would like to know if it is possible to decide one time, at the start of the graph, how the differents nodes or links will be, and these properties are automaticaly applied to all nodes and links.

Thank you for your work !
User avatar
DELCO
 
Posts: 132
Joined: Fri Apr 01, 2005 9:12 am

Postby HPW » Sat Apr 08, 2006 11:13 pm

I would like to know if it is possible to decide one time, at the start of the graph, how the differents nodes or links will be, and these properties are automaticaly applied to all nodes and links.


The question must be more precise: How the differents nodes or links will be when inserted/created.

That was what I mean whith the propertys in the create button.
Code: Select all
SetVar "[hpwSimpleGraphNodeBgColor]" "clSkyBlue"
SetVar "[hpwSimpleGraphNodeBoColor]" "clBlack"
SetVar "[hpwSimpleGraphNodeDefaultText]" "NodeText"
SetVar "[hpwSimpleGraphNodeBorderStyle]" "psSolid"
SetVar "[hpwSimpleGraphLinkBgColor]" "clRed"
SetVar "[hpwSimpleGraphLinkBoColor]" "clRed"
SetVar "[hpwSimpleGraphLinkDefaultText]" "LinkText"
SetVar "[hpwSimpleGraphLinkLineWidth]" "3"
SetVar "[hpwSimpleGraphLinkBeginStyle]" "lsCircle"
SetVar "[hpwSimpleGraphLinkBeginSize]" "8"
SetVar "[hpwSimpleGraphLinkEndStyle]" "lsArrow"
SetVar "[hpwSimpleGraphLinkEndSize]" "8"
SetVar "[hpwSimpleGraphLinkLineStyle]" "psSolid"


Setting this once on startup will set them in every created node/link.
Of cource the list is not complete yet.
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby DELCO » Sun Apr 09, 2006 6:08 am

Thank you Hans,

Things are clearer now !

Excuse me if my questions are not precise enought. Sometime it's hard to me to explain my feelings.
Have a good day !


My excuses for the double post !...
User avatar
DELCO
 
Posts: 132
Joined: Fri Apr 01, 2005 9:12 am

Postby dpayer » Sun Apr 09, 2006 7:55 am

DELCO wrote:Thank you Hans,
Excuse me if my questions are not precise enought. Sometime it's hard to me to explain my feelings.


Ahh... thats the point. You should be expressing your thoughts, save your feelings for the coffeeshop.

:wink:

David P.

(but thanks for discussing your experiences of NB with all of us!)
User avatar
dpayer
 
Posts: 1384
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby HPW » Tue Apr 11, 2006 12:26 pm

Just released hpwSimpleGraph 1.07:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Action: hpwSimpleGraphSetAction - Set all actions of a SimpleGraph-control.

Changed: Variable [RectangleName_DblClickAction] is now OnLeftDoubleClick parameter
Changed: Variable [RectangleName_NodeDblClickAction] is now OnNodeDoubleClick parameter
Changed: Variable [RectangleName_LinkDblClickAction] is now OnLinkDoubleClick parameter
Changed: Variable [RectangleName_KeyDownAction] is now OnKeyDown parameter
New: OnLeftMouseUp parameter
New: OnMiddleMouseUp parameter
New: OnRightMouseUp parameter
New: OnMouseMove parameter
New: OnLeftMouseDown parameter
New: OnObjectMouseEnter parameter
New: OnObjectMouseLeave parameter
New: OnInfoTip parameter


Variable: [RectangleName_InfoType] - set in the info-tip event
Variable: [RectangleName_InfoText] - set in the info-tip event
Variable: [RectangleName_InfoStartX] - set in the info-tip event
Variable: [RectangleName_InfoStartY] - set in the info-tip event
Variable: [RectangleName_InfoStartHooked] - set in the info-tip event
Variable: [RectangleName_InfoEndX] - set in the info-tip event
Variable: [RectangleName_InfoEndY] - set in the info-tip event
Variable: [RectangleName_InfoEndHooked] - set in the info-tip event
Variable: [RectangleName_InfoBreakPoints] - set in the info-tip event
Variable: [RectangleName_InfoLeft] - set in the info-tip event
Variable: [RectangleName_InfoTop] - set in the info-tip event
Variable: [RectangleName_InfoWidth] - set in the info-tip event
Variable: [RectangleName_InfoHeight] - set in the info-tip event


Variable: [RectangleName_ObjectInfoString] - Can be set in the OnInfoTip-action to show custom hint
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Tue Apr 18, 2006 11:11 am

Just released hpwSimpleGraph 1.08:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Action: hpwSimpleGraphSetCursor - Set the cursor of a SimpleGraph-control.

Action: hpwSimpleGraphCreateNode - Insert node-object by code.

Action: hpwSimpleGraphCreateLink - Insert link-object by code.

Node property dialog now with position and size fields.
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Sat Apr 22, 2006 4:57 am

Just released hpwSimpleGraph 1.09:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Variable: hpwSimpleGraphNodeBgStyle - Set the node background style.

Variable: hpwSimpleGraphNodeBgMargins - Set the node background margins. (LEFT|TOP|RIGHT|BOTTOM)

Variable: hpwSimpleGraphNodeBgFile - Set the node background file. (BMP,JPG,PNG,WMF)

Variable: hpwSimpleGraphNodeBgTransMode - Set the node background transparentmode. (tmAuto,tmFixed)

Variable: hpwSimpleGraphNodeBgTransColor - keycolor for transparentmode tmFixed.

Variable: hpwSimpleGraphNodeBgTransparent - Flag to set node bg transparent. [BMP/PNG-WMF always]
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Sun Oct 22, 2006 5:25 am

Just released hpwSimpleGraph 1.10:

http://www.hpwsoft.de/anmeldung/html1/n ... ook19.html

Bugfix for TaskBarClickAndRestoreOnTop for About-dialog and command wizards
Action: hpwSimpleGraphFindObjectAt - Find object-id at position at X|Y.
Action: hpwSimpleGraphFindObjectRect - Find object-ids in rectangle (LEFT|TOP|RIGHT|BOTTOM).
Action: hpwSimpleGraphGetSnapPoint - Get snap-point at X|Y.
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby beno » Fri Jan 05, 2007 11:06 am

Hi Hans,

I have been playing with this great plugin. But can not figure out how (if possible) to create graphs programatically.

For example, I would like to create a graph based on dbf table relationships and be able to create links between records.

Is it possible to create graphs via NeoCode?

Saludos,

beno
User avatar
beno
 
Posts: 678
Joined: Fri Apr 01, 2005 9:03 am
Location: México

Postby HPW » Fri Jan 05, 2007 11:16 am

Beno,

From the 1.08 announcment:
Action: hpwSimpleGraphCreateNode - Insert node-object by code.

Action: hpwSimpleGraphCreateLink - Insert link-object by code.


Have you take a look at page3 of the sample pub?
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby beno » Sat Jan 06, 2007 8:06 am

Hi Hans,

Silly me... I was playing with version 1.03 :oops: sorry..

I have the latest now and there it is...

Thanks for your help.

beno
User avatar
beno
 
Posts: 678
Joined: Fri Apr 01, 2005 9:03 am
Location: México

PreviousNext

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 2 guests

cron