Results for "Category: Custom Controls/ Forms/ Menus"
To center all of your forms nicely on the screen, use this as the first line in the Form_Load event--resolution independent. 'note:call this function like this: Center_Form Me
Show how to make a text box not beep but do something else when I hit the Enter key. This code example makes nothing happen, for an extended period of time:
How do I get my application on top?To make your window truly topmost, use the SetWindowPos API call
This code is reusable and small enough to paste into whatever you're doing and instantly have a form that has no need for a title bar.
You can achieve some cool form wipes with judicious use of the Move method. For example, to draw a curtain from right to left use this routine. It is also possible to wipe a form from bottom to top, and from both sides to the middle, using similar routines
The primary focus here is to allow you to display forms that are larger than the screen can show. Need an 8½" x 11" Form? NO Problem!The size used in this example is 8½" x 11", but it could just as easily be landscape, envelope, or any needed size.
Although using the API is a nice way to create multi-colored forms, there might be a reason why you would wish to create one without using the API.
The DegreesToXYsubroutine, calculates the X (horizontal) and Y (vertical) coordinates of any point, measured in degrees, on the circumference of a circle or ellipse.
Drop in OCX control adds an alpha-blended shadow to the bottom and right borders of the containing form. No properties to set or code to add! Just drop and go. Fixed in 1.1 - Shadow artifacts are no longer left on forms brought to the foreground and the shadows are now correctly repainting when bringing the containing form to the foreground.
This is the latest version of Dynacom, the combobox replacement. Its even flashier because it can now even autocomplete while you type, just like the internet explorer address bar, and even find list entries by string!!. There is a list of all the user accessable member subs/functions and events inside the zip so check it out before you look at the source. Check it out!!!
You can use FM20.dll library from Microsoft forms 2.0 for create easily Multi-Column Combo and Transparent Text Box. It is too easy a cool!. Identical to appearence Microsoft Access forms. Rate mi code, please! See you later!
Whant to make your form on-top of of all other applications, well this is the code for you!
This is a complete TextBox in pure code without any RTF box or anything. It supports custom colour coding, and lots more - now even comment colouring. Also supports external draw events. The Demo is a Java IDE.
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