Results for "Category: Custom Controls/ Forms/ Menus"
This example demonstrates what most people using Graphics in VB really needs, the use of Transparent Images in your programs that can overlap each other (using BitBlt), like GIF images do for example! This is the Ultimate Demonstration Program and it's REALLY easy to use. All the lines have been commented and turned into functions so you can easily use them in your programs. The program also shows how you can flip your images horizontal and vertical with just a mouse-click and includes a really fast code for creating masks (which you need when dealing with Transparent Images). This is a "must have" code not only for the beginners but also for EVERYONE using Visual Basic!
Creates a pretty neat geometric design!
This code is all in a simple module, making it fairly easy to draw a spiral at run time. I have commented most lines, but anybody with some understanding of trigonometry should be able to get it. Uses about 9 different input parameters to totally customize your program. I have tested this with VB 6 and 5, so no guarantees for the lower ones, but it should work 'coz all it is is maths. I have also included a nice testing app to show what types of spiral are possible ;) Please vote. Thanks!
Dev Fade is a control which can create faded text on your forms.
You can edit the shape of your forms using mouse or images. The OCX attached makes the effect visible in design and runtime mode.
Yes! A module that creates gradients! This BAS file will seperate a color into red, green, and blue with one sub, then create a gradient in another. This BAS allows horizontal, vertical, or circular gradients to be created for your VB projects easily! It also has a quality feature, if your gradient is particularly large. This BAS can write to any control that can be drawn on. No API! UPDATED!!! This code can now create a gradient in ANY SHAPE OR SIZE!!!!!!!!!!!! Also added in the update: Common Dialog boxes for color picking, click the from and to boxes showing the sample color to get a common dialog for the appropriate one. Also new, is the feature to save your gradient as a bitmap file!
Simulates a cool/flat button. Easy and simple. No API's or advanced codes. Could be used but coding is really newby-ish.
This is a "Time Textbox". Kinda like the 'Windows > Control Panels > Date and Time' one... It has a separate input for hour, mins, am\pm. use the "up and down" arrows to chnage the time"..please try it out, and vote if ya like it. Provide some feedback too...
(Update 3/2/2000 I forgot to add the Enum To be used with the MyFormValuesOnLoad() Array But its in there now:) This code will aide in determining if Data has changed on a form. It serves many purposes. 1. To tell wether or not it is approriate to prompt user if they want to save changes they have made. 2. if the user wants to Reset or Undo changes they have made to a single text box, checkbox, or combobox Or all Controls at once(Works for control arrays as well).
this simple code will add all of the user's fonts to a combobox. this is ideal for making word processers, etc.
(Added this Ziped Project to test the IsDirty Function Plus its easier than Copy Pasting for Ya) (Update 3/2/2000 I forgot to add the Enum To be used with the MyFormValuesOnLoad() Array But its in there now:) This code will aide in determining if Data has changed on a form. It serves many purposes. 1. To tell wether or not it is approriate to prompt user if they want to save changes they have made. 2. if the user wants to Reset or Undo changes they have made to a single text box, checkbox, or combobox Or all Controls at once(Works for control arrays as well).
A N (3-20) sided regular polygon button control. It started out as the Circular Button from Praveen Menon, went a step further and changed it to fit my needs. It wouldn't be difficult to change it to any shaped button control, just load the array with the points.
Style Sheet your apps OK, OK it's not exactly CSS. However, if you want to have orange frames and purple buttons at design time so you can see where those anoying borderless frames or flat picture boxes are, and then set it all to look pretty again at run time, without spending your life setting "back color" values and "font size" properties then this is a simple piece of code that might help.
Ok I have updated my MDI Taskbar COM again to stop a flickering problem that was found(Thanks), This is an update to the Taskbar submitted by Gregg Housh. I have fixed a few bugs and have added a few new features. Like making the Button flash, Change the font/Background colour on indavidual buttons. The ability to show a start button (By Gregg) and a hole heap of features not listed here. Comes with a demo app.
Hi all, This is a custum progress bar like the XP one, i have noticed that someone already submit a XP progress bar but this poor submission does not provide the SOURCE !. So i have taken 30 min of my time and decide to give you this code which is verry simple 4 images, Bitblt,few lines of code and there you go. you can easely change the pictures to have another look :) Enjoy. I hate when people doesn't provide code...
Using the TabStrip supplied by Microsoft, I soon realised I wasn't getting much value for the 1-Mb overhead needed by the common controls ActiveX. I also wanted the look and feel you see here, which I couldn't find elsewhere. I looked at other replacements for TabStrip, but they used quite a lot of resources (images, text boxes, etc) which all put a drain on Windows. This control just uses a totally empty control and draws on it. It's as simple as I could make it. I also added a PropertyPage - I've not used them before but it was surprisingly straightforward. Very useful for administering the various tabs and their captions. I didn't set out to create an all-singing all-dancing tabs control. This is a simple control which displays tabs in a particular way, and is flexible enough for many purposes. If you want more, extend it yourself! Enjoy!
Awesome calendar that validates user-selected dates for you so your code doesn't have to. Called by 1 line of code. International aware, define your own holiday/events -- see samples in code, testing form provided. Please read the comments in the code. Enjoy. Included are generic date functions, mouse & window positioning functions. Re-Post. The last version posted was not the current version.
This code will change the forecolor for Labels and Textboxes (can be edited for Other Controls).
Hi this is a small activex control i made about 4 weeks ago and forgot all about so here it is it is a custom titlebar i made that you can change the skins around and do other things I found it usfull for message boxes you can also alter the skin form innside the skin folder just look at the ini file anyway please vote it you like it.
This code will make your form transparent. Please Vote