Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Taskbar class written in VFP 1

Status
Not open for further replies.
Thanks badukist. From the screen shot it looks pretty good. I'm going to pull it down and see how it compares with something like FoxTabs. Again, thanks for providing this.

boyd.gif

SweetPotato Software Website
My Blog
 
OK, feedback. If something happens, like it did to me then the toolbar you are using gets stuck somewhere in the _screen (say like in the middle of the whole thing). Even if you change the toolbar's movable property you still have code that will throw it right back into the middle of the screen. I guess I feel that something like this should be able to be docked anywhere. Certainly with rotated labels and images this is possible.

I am getting errors saying that those DLLs aren't declared, though I can see where you did so in the Init event.

I would have more than one icon so that the different types of VFP files opened can quickly be differentiated visually.

The taskbar doesn't poll for open windows when it is instatiated, so if I already have windows open when I instantiate this taskbar, the buttons for those windows aren't added. They should be.

Until I can get past a number of errors I am having with it I won't be able to provide you more useful information. I might be back with a list of things you can do to it for now that will allow it to run correctly on a system once it is downloaded...

For starters you might want to mention that the oTb that you show above needs to be a public variable or needs to be an _screen member. Also, you might not have thought it necessary, but some people will not know to include oTb.visible = .T. to get it to show. I think you should make it as easy as possible for people downloading this to try it out.


boyd.gif

SweetPotato Software Website
My Blog
 
Hi Craig. Thanks for your feedback.
There is no need for oTb.Show(), because it watch forms activation (WM_CREATE windows messages) and activates itself. Also it hides itself if there are no active forms. A NODEFAULT command for the case if there are no buttons can be useful, though, point taken.

I am getting errors saying that those DLLs aren't declared, though I can see where you did so in the Init event.

I have no idea why. Never occured to me.

The taskbar doesn't poll for open windows when it is instatiated, so if I already have windows open when I instantiate this taskbar, the buttons for those windows aren't added. They should be.

Regarding opened windows, I don't want this to be what FoxTabs is and it looks only for active forms. You can test this by starting some instances of class browser.
I wanted this class to be a small useful addon for the MDI type applications.I see very often colleagues of mine searching in menus to start again a form that is already active but under another window.

I would have more than one icon so that the different types of VFP files opened can quickly be differentiated visually.

For this one, I certainly can learn frow you. It is possible to convert the form icon to some 16x16 bitmap and set associated button picture to use it? Because buttons are standard option buttons and don't have properies like image control.

Again, thanks for your valuable feedback
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top