Results for "Category: Custom Controls/ Forms/ Menus"
Ever wanted to rotate your text this is the code for you. Its pretty cool!!! Plz vote & comments =)
This is an amazing spiral creator. So simple yet so complicated! Look what you can do with a simple PictureBox! Look for yourelf in my screenshot! Please also vote and add comments =)
ADDED: AutoHide features. Control can be downloaded/viewed from: http://www.planetsourcecode.com/xq/ASP/txtCodeId.24861/lngWId.1/qx/vb/scripts/ShowCode.htm
This is a slider control i wrote becouse the standard slider control isn't very customizable, with this one you can choose the background color, set a background picture and more...
This class allows you to replace the standard Visual Basic menu with one that supports many more features, some of which include: Addition of bitmaps or icons to menu items (supports any size). Optional MonoDefault state will only colorize icons of menu items that are selected (a la Outlook Express) Extended keyboard shortcut keys, using Ctrl+, Shift+, Ctrl+Shift+, combinations, function keys, system keys, the menu and print keys, and the CapsLock key. Draws in the style of the Office 97 menu bar. Implements Visual Studio-menu style check marks and radio buttons. Implements Hot-tracking, Hot-lighted and Clear-box highlighting visual effects. Implements a "CaptionSeperator" item-type which is a Seperator Bar with scaled, centered text and optional background coloring and submenu support. Implements Color-select, a type of highlighting that lets the highlight bar be different than the system default Background gradients Multi-line menu items DBCS (Unicode) support for languages such as Chinese Each feature is Item-by-item. You can have a whole menu full of items that colorize or highlight differently. Version Upgrades: 4.1 (07/01/2001), 4.0 (06/18/01), 3.0 (02/22/2001) and 2.3 (10/28/2000): New Features include: Each item may have its own Font, right-justification of menu items, and support for menu breaks and menu bar-breaks. In Version 4.0, the object model was completely revamped and simplified, developer documentation is now included, and a number of new features, such as support for background gradients, multi-line menu items, and Unicode, were added. Version 4.1 adds Office XP style flat menus.
This code cn be used instead of a title bar on a form. It allows you to make your software look sort of like a Mac OSX application.
although i am in mailing list of PSC for over a year, i decided to upload one my codes that i think could be useful for someone. it's a very cool digital marquee. it supports 5 different colors, scrolling direction, interval... pretty good for an application
Ever wanted to create a tray bar for your MDIChild forms that looks like windows tray? or just tired to use Windows menu to switch beetween child forms? or just want to improve the looks of your app... Here is an example of how to create a form bar (a'la tray) to place in a mdi form. it doesn't use any api to detect forms and stuff, only old fasion Visual Basic event model. all u have to do is invoke ONE sub to add a form to the bar, and the rest will be done automatically. I have tested this control only in a MDI app, you are welcome to try its functionality in a SDI app, and leave your comments. Menu functions are not implemented fully, cause i couldn't decide how... Well u can add a custom menu, but control doesn't raise any event when a button is clicked. It's up to u to figure out and implement such functionality. Have fun (and rate!!!)
*UPDATE 1.9b7* Added a system tray clone to it. Updated the demo to show how to use it. Added better color selection to it. Added the menu system, updated the demo to show this as well. *UPDATE 1.6* Added the AutoHide features that people have been requesting. The control now has 4 properties that are for the AutoHide feature: 1. AutoHide, Boolean This tells the bar to hide when the mouse is no longer over it. 2. AutoHideWait, Integer This tells the bar how long to wait before hiding (in case you accidentally move the mouse off of it, it wont immediately hide) It is in Milliseconds so 1000 = 1 second. 3. AutoHideAnimate, Boolean This tells the bar to "slide" off screen instead of just disappearing. 4. AutoHideAnimateFrames, Integer This is the # of frames to split the "Slide" effect into (more frames is slower, but smoother) I recommend 50 - 100 frames. From my testing it seems to be the best. *UPDATE 1.5* Fixed the icon drawing problems when comipled on windows 2000. Re-wrote a lot of code to optimize for speed, and to make the code easier to read/understand. Added a lot more and better comments. *UPDATE 1.4* Fixed the drawing on windows 2000/nt/95. Fixed the bar to work when used with a compiled exe. Fixed some drawing problems with the coolbar style. *UPDATE 1.3* Fixed one more windows 2000 bug. still having the compiled issue on win2k. Added a new style (now you can select the style property), Coolbar. *UPDATE 1.2* fixed the win2k bug. Now works perfectly in windows 2000. ADDED: Color settings, for every button state, and for the bar itself. Fixed many bugs (none left that I know of) Added the menu. Now when you right click on a button on the task bar, it shows the system menu from the form that the button belongs to. This ia fully working Taskbar for an MDI form. Works just like the windows task bar. It was originally written by Maxx Zephyr Technology and uploaded to www.freevbcode.com. That version had problems, and also was not a stand alone control, it had to be included in your project because it was dependant on the Forms collection. I went through the code, cleaned it up, removed the forms collection (used the api to replace it) and made the user control into a full stand alone ocx, that you can simply drop on an MDI form.
My Code commenting sucked, My bad. So heres the update! This funtion is meant to be used when passing values from another control to a listview control with a database. I needed a way to keep duplicate entries away in the recieving Listview. The funtion is called after the row insertion on a double click event or Drag and drop.It works because the index is set dynamicaly by the database values.If used out of context it WILL delete everything, which in fact, does suck. I used LCase incase you want to pass a nonnumerical value(which i did and then did not), but you can remove it, no harm, no foul. Hope this helps. Feedback is very welcome. Please Feedback, Please.
This is basically a smooth-scrolling progress bar that is able to take a caption. I know there are loads of these already on the site, but the code is well commented, and wth anyway :)
Show a wait box with progress while your program is performing a task that takes a long time. This project shows an application modal wait box while doing a work. You can change the progress value from the owner form with preventing the user from activating it. The wait box also shows time infos such as start time, elaspsed time, end estimated time, remaining time.
This is the next alpha version of my XP Menu system. Removed some bugs, new function to add pictures, now you don't need any external OCX (ImageList) for menu, load pictures from resources, add simple top menubar, recreated as control, ... Work only in compiled exe, not in IDE, because it using hooking and resources, that not workin in debug mode. See code at : http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=33571&lngWId=1
This is version 3 of my bsGradientLabel, and I've given in. It now supports multiline text, both horizontally and vertically. Check it out! It's a 63 kb download.
This code will popup a little notify window in near the system tray! It uses a transparent form and is movable by the user. Take it easy on this newbie ;0) This is my first code submission.
A simple (and free) way to create an Outlook-style listbar on a form. This could easily be made into an ocx but for simplicity I have just designed it as part of the program.
This is the next alpha version of my XP Menu system. Removed some bugs, new function to add pictures, now you don't need any external OCX (ImageList) for menu, load pictures from resources, add simple top menubar, recreated as control, ... Menu is show only in compiled exe, not in IDE, because it using hooking and resources, that not workin in debug mode (sorry, Microsoft)... Anybody was deleted my original submission, so please vote for me!
It's a textbox XP Style with a cool border
Very well transparent form without any ocx or dll, every line are commented.
Will not let the mouse leave the form specified.