Source language: Translate to:

Resize Panel (Objects) with Mouse -Example

Share sample pubs, scripts, etc. with other NeoBook users

Moderator: Neosoft Support

Resize Panel (Objects) with Mouse -Example

Postby Boo (Gulf Breeze) » Sat Aug 19, 2006 1:17 pm

Hi All,

This is a simple example of how to resize objects with your mouse. You simply implement a timer and use a text object with drag & drop mode. (This example can be cleaned up I am sure, but you will get the basic idea.)

FYI: In Book Properties, under General, you can set the Drag cursor to an arrow pointer to simulate the normal drag cursor.

In the .zip file, you will find a sample .exe file, the .pub file, and an arrow cursor file (resize3.cur).

http://www.theblogshelf.com/resize_example.zip

Cheers,

- Boo
User avatar
Boo (Gulf Breeze)
 
Posts: 99
Joined: Sun May 01, 2005 7:37 am
Location: Gulf Breeze, Florida

Postby Neosoft Support » Mon Aug 21, 2006 3:18 pm

That is very cool!

Thank you for sharing it with us.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Resize Panel (Objects) with Mouse -Example

Postby schmutly » Mon Feb 17, 2014 9:17 pm

Oh..download not working :(
I want something similar, want to DROP an image of a arrow
onto a rectangle (it holds an image) and resize/move that arrow to point to
something in the image rectangle.
Can it be done in HpwImage Hans? Theres something there like 'Load Stamp BotLef'
but if i load image can it be resized/rotated like in your HpwSimpleGraph?
Any pointers would be helpful Thanks,
Robbie
schmutly
 
Posts: 217
Joined: Fri Feb 20, 2009 4:16 pm

Re: Resize Panel (Objects) with Mouse -Example

Postby Neosoft Support » Tue Feb 18, 2014 12:06 pm

The above example was for a splitter used to resize two objects. You can find a similar example below:

http://www.neosoftware.com/neobook/modules/pubs/singlefile.php?cid=10&lid=46
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Resize Panel (Objects) with Mouse -Example

Postby schmutly » Tue Feb 18, 2014 5:38 pm

ok thanks, checked it out..not what i
thought but thats ok...ciao,
rob
schmutly
 
Posts: 217
Joined: Fri Feb 20, 2009 4:16 pm


Return to Sample NeoBook Pubs

Who is online

Users browsing this forum: No registered users and 1 guest