Advertisement

Results for "Category: Custom Controls/ Forms/ Menus"

ASP_Volume2 #31496
ActiveLine

A real time saver for those of us that like to make use of Microsoft's separator bar / line. See Screen Shot for full desciption and visual.

ASP_Volume2 #31502
Fuel Gauge

This control is just an image of a dashboard fuel gauge with a needle pointing to the percentage done. It's very simple and can be modified to use other images. It has the typical min, max, value properties along with a property for showing the value label. The source is not commented much, but it's mostly self explanatory. I hope you like it, and modify it to suite your needs. PLEASE VOTE, I'd like to continue making more gauges and switches, so inspire me!

ASP_Volume2 #31512
UPDATE! FANTASTIC RESIZABLE skinned form demonstrating forms with non-standard shapes * VERSION 3 *

This is an update to my popular Resizable Skinned Form. The screenshot below tells you what it looks like and how it works, so this description will only list the new features. NEW FEATURES IN VERSION 3 ~ Dynamic colour scheme changing ~ Two modes of resizing

ASP_Volume2 #31533
Font selector (office 2000)

Disply Office 2000 fonts. Ability to preview the fonts before you choose. The fonts are sorted from A to Z Improved Version!!!!!!!!!!!!! DO VOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! DO VOTE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

ASP_Volume2 #31534
Enhanced version of Elad Rosenheim's "Dynamic" Resizable Skin Demo

I have enhanced Elad Rosenheim's "Dynamic" Resizable Skin Demo to better support KewlPad skins as well as added several functionality changes to bring it closer to a complete skinnable solution. Changes: - All the code was removed from the form's codebase and put into a Class Module to make it reusable and easily compiled into an ActiveX DLL.  - Allow for A Minimum Client Area size  - Allow for Maximum Form Size - Ability to make the form non-movable, non-resizeable, and/or Always OnTop.  - Removed the need to have a second "Hidden form" for correct Minimize events.  - Built in routine will reconfigure form using API calls and remove the titlebar and 3D effects, so you don't have to change the form's BorderStyle in the IDE. - Added several events triggered when the form skinning is complete, The Minimum button was clicked, the Close button was clicked, ClientArea and Form MouseEvents, and of course on Form Resize. - New Skin properties: FontColor, FontBold, BackColor. Over 50 KewlPad skins are available at http://www.deviantart.com/browse/?section=kewlpad *Please ask the original Skin author for permission before distributing there skins with your app.

ASP_Volume2 #31543
Circular Progress Meter 2.1 User Control (Minor Update)

A circular progress bar/meter usercontrol with the following features: -- Solid color, fading colid color, or gradient blend -- One-, two- or three-color options -- Full-circle or arc of any size from 45 to 359 degrees -- Display value as a colored arc, a 'needle', or both -- Five styles of 'ticks' around edge, spaced however you want -- Display value as number or percentage--any font, color, and position! -- Customizable text shadow, too! -- Change background colors or use AutoMask to make background transparent -- Use custom picture backgrounds and mask pictures for transparency -- Show/hide border, change width -- Show/hide start line when value is zero -- Start at any angle (offset) -- Clockwise or Counter-Clockwise movement -- Change min/max values -- Fully scalable Also demonstrates various API graphics calls, getting the true color of a system color, use of mask color, using custom Enums for user control properties, scaling pictures and masks, and more. See screenshot: -- Large circle ('78') demonstrates a tricolor gradient, text with shadow, and dot-style ticks -- Wide control at top ('64') demonstrates tri-color fade, a 180-degree arc, hollow-dot ticks, needle, inset control border, and the flexibility of text positioning -- Large PSI gauge at right demonstrates custom picture & mask picture -- 'Fuel Gauge' demonstrates custom picture and value as percent -- Quarter circle ('53') at lower-left demonstrates 90 degree arc, box ticks, a bi-color fade, counter-clockwise motion, automask (it doesn't overlap the large meter) and custom shadow placement -- 'Wooden' meter near bottom demonstrates a 140-degree arc, offset angle, and custom picture as full background -- Black meter near bottom demonstrates border and line-style ticks with no background, and the effect of a tri-color fade where the start- and midcolors are the same (white) and the end color is different (red) -- Pink meter ('42') in center demonstrates the Automask by overlapping it's neighbors, and a tricolor fade where the start and end colors are the same but the midcolor differs. -- The reddish meter near the bottom ('65') demonstrates blends using system colors (in this case from ButtonFace to Highlight with ActiveTitleBar color as needle) -- Tiny meter inside PSI gauge demonstrates another use of Automask Enjoy! I welcome all comments, and please vote if you liked it or learned from it! Thanks! (UPDATED 3/24/2004: Fixed 'gap' on very small meters at some resolutions, Removed bug that caused crash when properties do not reload properly in IDE)

ASP_Volume2 #31552
Progress Window (Resubmit)

Note:This is a resubmit of my previous entry under the same name because the other one does not work. Sorry to all the people that clicked on it and got stuck. This code displays an all purpose progress window that is contained in an ActiveX dll. You can customize the window BackColor and ForeColor, along with the progress bar BackColor, ForeColor, and Edge. The big feature of this project is the smoothing of the bar. The dll implements an interpolation method which smooths out long operations or operations that have a low maximum. For example, the screenshot demonstrates the bar running an operation with a maximum of 3, but it fills as if it had a maximum of 3000. It can interpolate either direction, and you can set the number of pixels it draws in per interpolation frame, plus the delay between frames. This implements some other things from the other post, such as exposing the Font property and others. It has a big limitation, unfortunately, that it is not free threaded. I am working on implementing some threading code for the interpolation, because for now it takes time to draw it that it holds away from your operation. That's about all the limitations. I welcome constructive criticism, bug reports, and any comments you have about it. Once again, I am sorry that the first post did not go through.

ASP_Volume2 #31560
Simple API Popup Menu Class (for context menus on the fly)

OK... not looking to blow away the world with this one, but felt lead to make the post after reading this article. http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=26999&lngWId=1 At work, I have an app that is an mdi based program... and while the sub forms don't need a menu bar of their own, they do need popup context menus. Since adding even an invisible menu to a mdichild form will cause it to over write the parent mdi's menu bar, I needed a way to create menus for the child forms on the fly. This simple class demonstrates using the API calls to create a popup menu, display it, and return the item that was clicked (if any). It is simple and self-contained, but this will at least get you started on your way to wrapping the API menu functions in VB classes. I can already see I will be expanding this class, since getting this far was actually quite easy. The ultimate goal would be to "InsertMenuItem"s not just in a popup, but in the menu bar of the parent mdi form as well. I'll repost the class when I've taken it that far. (just updated to include .ItemEnabled property for the popup menu)

ASP_Volume2 #31562
COOL & GREAT Windows effects( 11 ) for load & unload (IMPROVED)

11 COOL Functions which you can add in your form's load and unload event. They include = rush, explode, slide, spiral, rollup,bounce_go,bounce_updown, openall, pressed, funnyshape and closein! Easy to modify and use. PLEASE DO VOTE!

ASP_Volume2 #31568
RM Weather Control

This control when added to your VB app will grab the current weather from the net. You can control how the output will look.

ASP_Volume2 #31569
ucStdButton 1.5

Simple button control. (Re-coded: 2003.02.18). Zip 8Kb.

ASP_Volume2 #31603
Enter to Tab

This code gives the "enter" key the same functionality as the "tab" key in a vb form. When the user presses the "enter" key, it moves the focus to the next control, based on the tab index order. Don't forget to set the KeyPreview property of the form to True. (My thanks to Pennington. His TabToEnter2 code laid the foundation for this code.)

ASP_Volume2 #31624
Center Form on *available* desktop area

Centers a form in the part of your desktop not taken up by the taskbar or other system toolbars. If toolbars take up half the screen, no problem. If they are on the sides or the top, no problem.

ASP_Volume2 #31625
Excellent Custom Form Shape Routine

After putting a picture on your form, run this code and whatever background color you choose will be subtracted from the form leaving a very custom form shape.

ASP_Volume2 #31627
ElasticForms (actually does the resizing!)

After seeing the "Elastic" post below, I thought I'd release my ElasticForms module 'cause this one actually *does* resize the components on the form (even lines). It's pretty tight, fast and it even allows you to set a min width and min height for a form. A zip containing the source and an example project can be found on my home page...

ASP_Volume2 #31628
Improved Simple Analog Clock

Displays a basic analog clock on a form. CREDIT FOR THE ORIGINAL CODE GOES TO: Boriza I enjoyed his code so much I had to add a couple of quick improvements. Incrementally uncomment the code lines in the Form_Load event for different clock positions on the form.

ASP_Volume2 #31632
HSL<->RGB and Color Manipulation Routines

Routines to convert between Hue-Saturation-Luminescence values an Red-Green-Blue color values (Converted from C++). Also several unique routines using these functions to manipulate color such as Brighten, Invert, PhotoNegative, Blend, Tint, etc. ***NOTE: I have reposted this with the original sorce (now complete). I am working on and will soon submit this in class form, once comments are added to the source.***

ASP_Volume2 #31649
An Easy Way to Create a Transparent Form !

I provide an easy to create the non-rectangle form with usercontrol. We may use the control to design a non-rectange form or a desktop animation easily.

ASP_Volume2 #31657
AutoResize

This code resizes a form and its controls according to the screen resolution. It also takes into account the size of the screen fonts (although this is untested!).

ASP_Volume2 #31671
Stop Form Resizing

Subclass you form to stop users from resizing below a certain limit! If you hate the generic two-liners "If Me.Height

Languages
Top Categories
Global Discovery