Source language: Translate to:

Object Toolz

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Object Toolz

Postby Ndzn » Tue Mar 20, 2012 10:56 am

Object Toolz


Updated 5/06/2012 - version 1.0.2
Updated 5/30/2012 - version 1.0.3
Updated 10/23/2012 - version 1.0.4

Align, Distribute, Size & Position Objects automatically in your Pub on window resize events.

When you create a sizable, stretchable window it can sometimes be quite a task to realign all the objects in your containers after the window has been resized.

Object Toolz helps solve the problem of re-situating objects, automatically aligning, positioning, and resizing them for you on a window/container resize event... all with just a few simple to use commands!

:arrow: Object Toolz Webpage

Align, Position, Size Objects

ndzn_CenterObject
Center Object to Width of specified Container. Maintains original Y axis.

- Container to Center Object to
- Object to Center in Container

ndzn_CenterMiddle_Object
Center Object to Width and Height of specified Container.

- Container holding Object to align CenterMiddle
- Object to align CenterMiddle

ndzn_AutoSizeObject
Automatically resize an Object to a percentage of the specified Containers current Height. Objects original aspect ratio is maintained on resize.

- Container holding Object to Autosize
- Object to Autosize
- Percent value of Object Size
- Return Height && Width Values On/Off (1 or 0)


ndzn_AutoSizeFields ( * New in version 1.0.3)
Automatically resize Text Object Fields on Container Resize Event.

- Action Type: "Sample" or "Size"
- Field List: Comma Separated list of Text Objects to Size
- Container Object holding all Text Object Fields


ndzn_AlignHoriz ( * Updated in ver. 1.0.1)
Automatically align / distribute multiple Objects horizontally across width of specified Container. Requires Objects use array based names, (Pic1, Pic2, Pic3, etc.)

- Container Name (Contains objects to be aligned)
- Array based name of objects to align (Pic1,Pic2,etc.)
- Object Count (Number of objects to align)
- Y axis offset of objects (in pixels)

:!: Now includes "CENTER" Y-Axis Parameter Option: Use "CENTER" in place of a Y-Axis value. This option automatically centers all objects vertically.

ndzn_AlignVert
Automatically align / distribute multiple Objects vertically down height of specified Container. Requires Objects use array based names, (Pic1, Pic2, Pic3, etc.)

- Container holding objects to be aligned vertically
- Array based name of objects to be aligned
- Object Count (Number of objects to be aligned)

ndzn_EqualContainerRows
Size multiple containers (Snap to Top) equally down the height of Pub window. See docs for more info.

- Container Names (Array based name: Cont1, Cont2, etc.)
- Number of Container Rows

ndzn_EqualContainerColumns
Size multiple containers (Snap to Left) equally across the width of Pub window. See docs for more info.

- Container Names (Array based name: Cont1, Cont2, etc.)
- Number of Container Columns



:!: Multiple Objects * New in ver.1.0.1

ndzn_ShowObjects
Show multiple objects at once. List object names in comma delimited string. (Picture1,ListBox1,Container5,etc)

- Objects List (Comma Delimited)
- Display Effect
- Effect Speed (0-10)

ndzn_HideObjects
Hide multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)
- Display Effect
- Effect Speed

ndzn_EnableObjects
Enable multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimtied)

ndzn_DisableObjects
Disable multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_ObjectsToFront
Bring multiple objects to the Front. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_ObjectsToBack
Send multiple objects to the Back. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_RefreshObjects
Refresh multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_SetObjectFonts
Set the Font of multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)
- Font Colors (254,254,254 or Color Word)
- Font Name (Arial, Tahoma, Trebuchet MS, etc.)
- Font Size #
- Font Style (Normal, Bold, Italic, Bold+Italic, etc.)
- Character Set (ANSI_CHARSET, SYMBOL_CHARSET, etc.)

ndzn_SetObjectFills
Set the Fill of multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)
- Fill Colors (254,254,254 or Color Word)
- Fill Style 1
- Fill Style 2



Split Windows

ndzn_Split_Leftside_Right
Split Left and Right Containers. Place this command in the DragDrop Action of a Text Object to split Left (Snap to Left Side) && Right (Snap to Center) Containers.

- Left Container (Snap to Left Side)
- Right Container (Snap to Center)

ndzn_Split_Rightside_Left
Split Rightside and Left Containers. Place this command in the DragDrop Action of a Text Object to split Right (Snap to Right Side) && Left (Snap to Center) Containers.

- Main Container (Container that holds Right && Left Containers)
- Right Container (Snap to Right Side)
- Left Container (Snap to Center)

ndzn_Split_TopBottom
Split Top and Bottom Containers. Place this command in the DragDrop Action of a Text Object to split Top (Snap to Top) && Bottom (Snap to Center) Containers.

- Top Container (Snap to Top)
- Split Handle Object Name
- Bottom Container (Snap to Center)

ndzn_Split_BottomTop
Split Bottom and Top Containers. Place this command in the DragDrop Action of a Text Object to split Bottom (Snap to Bottom) && Top (Snap to Center) Containers. Assumes bottom container is at the bottom of the Pub Window.

- Bottom Container (Snap to Bottom)
- Top Container (Snap to Center)



Object Positioning

ndzn_ObjPos_TopLeft
Position Object at TopLeft of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"

ndzn_ObjPos_TopCenter
Position Object at TopCenter of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"

ndzn_ObjPos_TopRight
Position Object at TopRight of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"

ndzn_ObjPos_LeftCenter
Position Object at LeftCenter of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"

ndzn_ObjPos_Center
Position Object at Center of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"

ndzn_ObjPos_RightCenter
Position Object at RightCenter of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"

ndzn_ObjPos_BottomLeft
Position Object at BottomLeft of Target Container, Object, or "PUB"

- Object to Position
- Position Object at XYZ of Target Container, Object, or "PUB"

ndzn_ObjPos_BottomCenter
Position Object at BottomCenter of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"

ndzn_ObjPos_BottomRight
Position Object at BottomRight of Target Container, Object, or "PUB"

- Object to Position
- Target ContainerName, ObjectName, or "PUB"



Window Positioning

ndzn_WinPos_TopLeft
Position Window at TopLeft of Screen


ndzn_WinPos_TopCenter
Position Window at TopCenter of Screen


ndzn_WinPos_TopRight
Position Window at TopRight of Screen


ndzn_WinPos_LeftCenter
Position Window at LeftCenter of Screen


ndzn_WinPos_Center
Position Window at Center of Screen


ndzn_WinPos_RightCenter
Position Window at RightCenter of Screen


ndzn_WinPos_BottomLeft
Position Window at BottomLeft of Screen

- Y Axis Offset (Ex. Taskbar height in pixels)

ndzn_WinPos_BottomCenter
Position Window at BottomCenter of Screen

- Y Axis Offset (TaskBar Height)

ndzn_WinPos_BottomRight
Position Window at BottomRight of Screen

- Y Axis Offset (TaskBar Height)

ndzn_WinPos_OffScreen
Position Window OFF Screen. [WinPos.Prev] variables report Previous X/Y Window Position. Use with CAUTION incorporating some method of returning Window onscreen.




TrackBar

ndzn_TrackBarSnapToClick_Horiz
TrackBar Position will snap to the location a Horizontal TrackBar is clicked.

- TrackBar Variable
- TrackBar Maximum Value

ndzn_TrackBarSnapToClick_Vert
TrackBar Position will snap to the location a Verticle TrackBar is clicked.

- TrackBar Variable
- TrackBar Maximum Value



Bounce Objects

ndzn_Bounce1
Bounce an Object around inside the Window, Change speed on-the-fly with SetVar "[Bounce1.Speed]" "{speed number}"

- Bounce On/Off (1 or 0)
- Speed (numerical value)
- Object Name

ndzn_Bounce2
Bounce two Objects around inside the Window. Change speed on-the-fly with SetVar "[Bounce2.Speed]" "{speed number}"

- Bounce On/Off (1 or 0)
- Speed (numerical value)
- Object Name 1
- Object Name 2

ndzn_Bounce3
Bounce three Objects around inside the Window. Includes automatically varying speeds and angles for interesting effect.

- Bounce On/Off (1 or 0)
- Object Name 1
- Object Name 2
- Object Name 3



Other

ndzn_RefreshObjects
Refresh multiple objects at once. List object names in comma delimited string. (Picture1,ListBox1,Container5,etc)

- Objects List (comma delimited string)
-

ndzn_ObjectInfo
Returns proportions of specified object. (Height, Width, Left, Top, and Center Value)

- Object Name
- Variable to Store Return Values

ndzn_ProgressBar
Progress Fillbar. Specify a Rectangle or Picture Object of any size. Provide Total and Current Position Values. Use within Loops or call periodically wthin linear script.

- Object used as Progress Fillbar
- Total
- Current Position (First call, ALWAYS use "1")

ndzn_Accordion (new in version 1.0.2)
- Simplifies the implementation of an Accordion style interface.
- Handles all the container sizing and display actions.
- Demo Pub included in zip (for registered users).


:!: ndzn_MaskUnMask (new in version 1.0.4)

Mask the Pub Window disabling all interface objects with a LightBox style overlay, with optional fade transition, using any Image Object or Rectangle . Use "Mask" to create overlay, or "UnMask" to remove overlay.


:arrow: Object Toolz Webpage

(edited post -- a little easier to read)
Last edited by Ndzn on Tue Oct 23, 2012 8:27 pm, edited 10 times in total.
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby Luiz Alfredo » Tue Mar 20, 2012 11:55 am

Very good Jim. Thanks.
Last edited by Luiz Alfredo on Tue Mar 20, 2012 12:25 pm, edited 1 time in total.
L.A.G.M.
Luiz Alfredo
 
Posts: 195
Joined: Thu Apr 19, 2007 6:58 am
Location: Brazil

Postby dec » Tue Mar 20, 2012 11:58 am

Hi Jim

I agree. Very nice plugin and with lots of possibilities. Congrats! :)
.
Enhance your NeoBook applications!
.
58 plugins, 1131 actions and 233 samples
.
NeoPlugins website: www.neoplugins.com
.
User avatar
dec
 
Posts: 1663
Joined: Wed Nov 16, 2005 12:48 am
Location: Spain

Postby Pilou » Tue Mar 20, 2012 12:37 pm

Bonsoir

Heureux de revoir le site NéoDezign

Félicitation pour Object toolz

pilou
User avatar
Pilou
 
Posts: 545
Joined: Sun Oct 16, 2005 4:17 pm

Postby rcohen » Tue Mar 20, 2012 2:37 pm

Wow!! Just ordered MY copy! This is a VERY handy plugin Mr. Jim!! I am having a blast just playing with the demo !!

GREAT job. Perhaps your best!

Thanks sir!

rcohen
User avatar
rcohen
 
Posts: 279
Joined: Sun Apr 03, 2005 7:29 pm
Location: The Smokey Mountains, Tn

Postby Ndzn » Tue Mar 20, 2012 4:36 pm

Thanks everyone... Let me know if you have any suggestions of what kind of functionality to add. I'm sure there are things that could be added but what you see here is all I could think of so far.

Merci Pilou!
Heureux d'être de retour dans les affaires.
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby datadon » Wed Mar 21, 2012 5:46 am

Fantastic Jim. Something we have needed for many years. Your demo is very well done and provides lots of information. I just ordered mine. Your timing is good.

If you're looking for enhancements, how about a 1 big button to make it all happen. Naw, wouldn't be any fun would it.
Don

'If you want to get a brontosaurus from 'a' to 'b' then you ride the dinosaur - you don't carry it!'
User avatar
datadon
 
Posts: 389
Joined: Sun Apr 03, 2005 7:55 pm
Location: Lorena Texas

Postby Ndzn » Wed Mar 21, 2012 6:53 am

datadon wrote:Fantastic Jim. Something we have needed for many years. Your demo is very well done and provides lots of information. I just ordered mine. Your timing is good.

If you're looking for enhancements, how about a 1 big button to make it all happen. Naw, wouldn't be any fun would it.


HI DON!!! Sure is good to see you! :)

Actually, I am working on a one-big-button wizard for the Split Window stuff. Choose from an assortment of Split Window arrangements, hit the one-big-button, then paste the bugger into your Pub... ready-to-use! (and it's STILL fun)
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby cp4w » Thu Mar 22, 2012 6:06 am

Hi Jim,

Thanks for this great plug-in I just received it.

Couple of questions.

When navigating to the page splitwindow the following command is executed
ndzn_RefreshObjects "ObjctPosMain,ObjctPosWork" and the error message comes up that it requires two parameters.

The graphics of the demo club did not come with the download. Even though it's not necessary but it would be helpful if it could be supplied.

Thanks
cp4w
 
Posts: 533
Joined: Sun Apr 03, 2005 4:37 pm
Location: Great Neck, NY

Postby Ndzn » Thu Mar 22, 2012 6:47 am

shx wrote:When navigating to the page splitwindow the following command is executed
ndzn_RefreshObjects "ObjctPosMain,ObjctPosWork" and the error message comes up that it requires two parameters.


Thanks for the report! Strange. The RefreshObjects command requires only 1 parameter. I'll take a look right now.

shx wrote:The graphics of the demo club did not come with the download. Even though it's not necessary but it would be helpful if it could be supplied.


Good Point. I'll archive it and make a zip.
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby Ndzn » Mon Mar 26, 2012 10:17 am

Object Toolz Update : ver. 1.0.1

:!: ndzn_AlignHoriz
Now includes "CENTER" Y-Axis Parameter Option: Use "CENTER" in place of a Y-Axis value. This option automatically centers all objects vertically.

:!: Multiple Objects * New in ver.1.0.1

ndzn_ShowObjects
Show multiple objects at once. List object names in comma delimited string. (Picture1,ListBox1,Container5,etc)

- Objects List (Comma Delimited)
- Display Effect
- Effect Speed (0-10)

ndzn_HideObjects
Hide multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)
- Display Effect
- Effect Speed

ndzn_EnableObjects
Enable multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimtied)

ndzn_DisableObjects
Disable multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_ObjectsToFront
Bring multiple objects to the Front. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_ObjectsToBack
Send multiple objects to the Back. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_RefreshObjects
Refresh multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)

ndzn_SetObjectFonts
Set the Font of multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)
- Font Colors (254,254,254 or Color Word)
- Font Name (Arial, Tahoma, Trebuchet MS, etc.)
- Font Size #
- Font Style (Normal, Bold, Italic, Bold+Italic, etc.)
- Character Set (ANSI_CHARSET, SYMBOL_CHARSET, etc.)

ndzn_SetObjectFills
Set the Fill of multiple objects at once. List object names in comma delimited string.

- Objects List (Comma Delimited)
- Fill Colors (254,254,254 or Color Word)
- Fill Style 1
- Fill Style 2


Demo Updated to reflect changes & additions
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby dpayer » Mon Mar 26, 2012 10:57 am

Ndzn wrote:Object Toolz Update : ver. 1.0.1

:!: ndzn_AlignHoriz
Now includes "CENTER" Y-Axis Parameter Option: Use "CENTER" in place of a Y-Axis value. This option automatically centers all objects vertically.

:!: Multiple Objects * New in ver.1.0.1

ndzn_ShowObjects
ndzn_HideObjects
ndzn_EnableObjectsndzn_DisableObjectsndzn_ObjectsToFront
ndzn_ObjectsToBackndzn_RefreshObjectsndzn_SetObjectFonts
ndzn_SetObjectFills


Recently I asked if it was possible to have dynamic groups because I was thinking of how to group the same objects in different manner to do the types of things you provide for here.

With this type of plugin, you can effectively have one item be in multiple "virtual groups" for display/hiding/ etc.

Good job!

David P.
User avatar
dpayer
 
Posts: 1384
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Postby Ndzn » Mon Mar 26, 2012 11:31 am

dpayer wrote:
Recently I asked if it was possible to have dynamic groups because I was thinking of how to group the same objects in different manner to do the types of things you provide for here.

With this type of plugin, you can effectively have one item be in multiple "virtual groups" for display/hiding/ etc.

Good job!

David P.



Thanks David,

Yes, that's the idea. To be able to control lots of objects appearances and so forth across the entire pub. You can then have, let's say, an application with user preferences where they can choose the fonts, colors, etc. Provide a way for them to save those settings then have your app reload them at startup. That's just one possibility. Sure there's more.
User avatar
Ndzn
 
Posts: 134
Joined: Sun Sep 20, 2009 8:37 am

Postby CN_Iceman » Tue Mar 27, 2012 2:50 pm

Ndzn wrote:Object Toolz Update : ver. 1.0.1


I have licensed this plugin. It's the update available for download? Where?

Greetings.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España

Next

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 2 guests