Welcome to Foxite.COM Community Weblog Sign in | Join | Help



Here comes a new control... ZoomNavBar!

A long time ago I saw a very cool control (I don't remember where) that "zoom" the image button when it receives the focus. So I think... I could do something like this in VFP!

After some days working at my lunch time in this project, I finally have a beta version.

Take a look at this screenshot:

At the bottom of this post there's a link to download a zip file including the class and a sample (with a help) on how to use this control.

Is this cool? So help me to improve it giving some feedback, suggestions or reporting bugs.

VFP rocks!

 

 

Published Friday, June 22, 2007 12:50 PM by emersonreed
Filed Under:
Attachment(s): ZoomNavBar_100.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Here comes a new control... ZoomNavBar!

Friday, June 22, 2007 4:48 PM by Thomas Baehr

hmm tried the sample ... could not find _webview.vcx ...

Are you using VFP 9?
This class is in my C:\Program Files\Microsoft Visual FoxPro 9\Gallery folder.

# re: Here comes a new control... ZoomNavBar!

Saturday, June 23, 2007 5:25 AM by Bernard Bout

Hi Emerson. Cool implementation. I saw a similar control but in .Net. The difference from your's is that in that control the zooming was incremental - as you moved closer to the center the buttons resized proportionally. Anyway your control is also cool.

Tks Bernard!
If I have a little more time available I will try to change something to make the control look like that you pointed.

You need to make the image on the web page published as I could not see it.

Fixed!

# re: Here comes a new control... ZoomNavBar!

Saturday, June 23, 2007 5:38 AM by Bernard Bout

# re: Here comes a new control... ZoomNavBar!

Saturday, June 30, 2007 3:46 AM by Arjun Bagojikop
very excellent

# re: Here comes a new control... ZoomNavBar!

Wednesday, July 04, 2007 1:30 AM by Mike Sue-Ping

Hi Emerson,

Cool control, but, as I'd mentioned on the UT download comments, I think that when the buttons zoom, they should overlap the underlying pane. i.e., make it so that you don't need to reserve so much blank space on the form for the zoomed buttons. Hope you know what I mean.

Hi Mike!
Tks for your suggestion. I'll try to implement it as soon as I can.

Hi Mike.
Your suggestion was implemented and will be available in the next version.

# re: Here comes a new control... ZoomNavBar!

Friday, July 20, 2007 10:28 PM by Andrew
Very cool.

# re: Here comes a new control... ZoomNavBar!

Friday, July 20, 2007 10:34 PM by Andrew

I would also suggest that the icons automatically center - so that if you make the Bar longer than it needs to be, that the icons all start in the middle.

Hi Andrew.
Thanks for you feedback.
Your suggestion was implemented and will be available in the next version.

# re: Here comes a new control... ZoomNavBar!

Tuesday, August 21, 2007 1:56 PM by Daniel Salazar

Hi Emerson, it's your control free to use and free distribuitable?

Thx

Hi Daniel!
Yes.

# re: Here comes a new control... ZoomNavBar!

Wednesday, September 05, 2007 8:02 PM by Edwin

do Someone have used this class in toolbar?, becouse i need a sample, my mail is edwin_nicolas@hotmail.com

Hi Edwin.
You can use this control in a toolbar the same way that you use in a form.
I'll try to post a sample ASAP.

# re: Here comes a new control... ZoomNavBar!

Wednesday, September 05, 2007 11:46 PM by Edwin
there is a sample using in toolbar

# # re: Here comes a new control... ZoomNavBar!

Friday, September 07, 2007 12:51 AM by Edwin

I used this control in the same way. but the zoom don't work.

You are right!
I'll take a look and post something about ASAP.
Tks!

# re: Here comes a new control... ZoomNavBar!

Thursday, September 27, 2007 3:48 AM by Bobo

This is cleverly done. However, the zoom works in the video presentation but not in the actual sample.

Download the latest version at:
http://www.codeplex.com/VFPX/Release/ProjectReleases.aspx?ReleaseId=7003

More information about this project at:
http://www.codeplex.com/VFPX/Wiki/View.aspx?title=ThemedControls&referringTitle=Home

# re: Here comes a new control... ZoomNavBar!

Friday, September 28, 2007 8:58 PM by Bobo

Hi Emerson. This link: http://www.codeplex.com/VFPX/Release/ProjectReleases.aspx?ReleaseId=7003
led to the download of OutlookNavBar-2007-09-10. The other link leads to info and download of ThemedControls video. Is there another link to the download of the updated ZoomNavBar?

Sorry.
I forget to upload the new version to VFPX site.
I'll do this until the end of this week.
My apologies!

# re: Here comes a new control... ZoomNavBar!

Tuesday, October 09, 2007 4:47 AM by Bernard Bout

Hi Emerson

Very nice. More comments after I test it further:)

Just one thing - in the INIT of Zoombarnav class you have this code:

If Not Upper("ZoomNavBar") $ Set("Classlib")
     Set Classlib To ("Vcx\ZoomNavBar") Additive
  Endif

This assumes that the classes are in \VCX directory. A better way would be:

If Not Upper("ZoomNavBar") $ Set("Classlib")
     Set Classlib To (This.ClassLibrary) Additive
  Endif

That way the class "knows" to look within itself for the class rather than an arbitary directory.

Keep up the good work.

BErnard

Hi Bernard!
I've changed this and will be available in the next version.

# re: Here comes a new control... ZoomNavBar!

Tuesday, November 27, 2007 5:38 AM by Landry

Hi I see one month ago, a float form msn style in the systray, example, but i dont remember where, lyke msn messenger, some body knows the URL.?? thanks

Desktop Alerts from Kevin Ragsdale:

http://www.codeplex.com/VFPX/Wiki/View.aspx?title=DeskTop%20Alerts&referringTitle=Home

# re: Here comes a new control... ZoomNavBar!

Friday, April 25, 2008 6:34 PM by Alexs
Hi speaking Spanish, I have question

What do you think?

(required) 
required 
(required)