Results for "Category: Custom Controls/ Forms/ Menus"
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.
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...
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.
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.***
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.
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!).
Subclass you form to stop users from resizing below a certain limit! If you hate the generic two-liners "If Me.Height
Update---------------------------------------- This is an improved version of previos DLL. Now it handles child controls of the container control which is being undocked, plus I've fixed the problem with changing focus. Also I've included test project so you can see how it is suppose to work. Old --------------------------------------------- This class allows to undock any control on the form and drag it around. Furthermore, during Undocked state events will be still received at the same place. It is an emulation of the Microsofts abilities to undock panels (ex VB Properties and Toolbar)
Send an Email as anyone simply, with no need for an SMTP server. The brilliant user interface makes theis program a 100% must have. Please dont forget to vote!
AutoSave is a program that automatically saves the file you are working on in the program you specify as often as you want. It is a very useful program especially if you work in a program that has crashing tendecies, and you are worried that your work might be lost. AutoSave demonstrates use of Registry, Menu and Window API calls, and is commented pretty fully. ***Autosave v1.2 is now out!*** Bugs found in the first version have been fixed, so it now works well in both VB5 and VB6! Check it out at http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=12825 and be sure to vote!
Demonstrates how you can create your own tabbed dialogs without the use of any OCXs or API. Only 2.8 KB to download! This code is HEAVILY COMMENTED, and explains in plain english what every little line does, this example includes 3 tabs, you can customize each tab, and you can add more tabs. IF YOU LIKE IT, PLEASE VOTE FOR IT! I would greatly appriciate any comments or suggestions which you can place by scrolling down this page some.
Example of a Listview Control, File System Object and an Image combo working together. Sample also a nice way to use the Listview control and show plenty of capability that can be added. Includes String parser and keeps track of Current Clicked Items an current folder location.
This simple control simplifys the hotline tracker protocol so that just a few lines of code can list a tracker.
This is the source code to a custom control that will give you more power to work with VB forms. Extra properties, functions, and events including FormMoved, SysTray Icon, Form Shape etc. This is a useful tool even if I do say so myself, I use it and you will notice that if you down load my next Upload called System Mage (Wait and see!) WARNING: Terry has pointed out a glaring error in my code that has baffled me. Somewhere along the line I have coded an error into the property page that causes an error and I haven't located it yet. I'm going to warn everyone about it until I fix it but leave it on here so you can still use the example of the functions in the control. If you see my mistake then pls let me know! Cheers.
Its a button .... what else does a button do ? Note : I have fixed the click event problem :) My mistake ..... who else would it be ?
Making Animated Gradien Label. Changing the background of a label.
Explode the form.Zoom in and Zoom out the form
Calendar user control - lightweight and simple to use - full source code included
Ever wanted to see a picture behind flexgrid text (not a single cellpicture!)? This project is a little part of my custom grid control. Picture idea was given by a questioner Experts-Exchange site. Please let me know your ideas and let me know if you want to have a more flexible FlexGrid control code. Enjoy. Suat Ozgur
Creating bar and line charts is fairly well documented on the MSDN CD, but 2D XY (what I call XY scatter graphs) are not. This example demonstrates a method to not only create 2D XY graphs, but also plot multiple series on the same chart. The things that need to be done are pretty esoteric, including using multiple DataGrid columns for each series, removing null points from one or more series, etc., which makes this kind of graph very unique. This example also illustrates some other properties and methods that can be useful for other types of charts.