Results for "Category: Custom Controls/ Forms/ Menus"
A lame little "3D" effect with a shape and a command button. makes it look like the button is floating above the form.. the contained code shows how to further that effect by moving the button..
The only code I could find for this used tons of api and was a bit difficult (at least for me) this code is only 3 lines and works well.It lets you save room on your form by making your dropdown bigger than its combobox. My use for this was as a state field on a form. The box showed the two letter abbreviation for each state, but if you dropped down the box it showed the full state name. I'm sure you will find your own uses for this
Self updaing transparent / translucent form. It's cthru! (Expanded on Kevin Tupper's and BoS's work.)
Explains the basics of using collections in Visual Basic. These are a very powerful and often unused feature of VB.
This form can be used as a template for creating dynamic "Outlook" style forms in VB. Each frame resizes independently...and best of all, NO OCX!
Very basic example of creating a user control. This one has actually turned out to be useful in an application I wrote. I kept the features to a minimum in this one so that it would be easier to see how it works.
Amazingly easy method for editing flex-grids in place. This is an example that I created to help someone out who needed to edit a flex-grid in place and didn't want to get a third party grid. It is a good starting point for a custom grid control. Good, bad or ugly, comments are always welcome. M@
Evenly spaces an image as many times as will fit on a form
This code shows how to create a multimedia type rollover menu that changes text and graphics on the form. This uses a rect function to recognize the rollover hotspots. (A MUST SEE)
Hotspots part1. (Basic Hotspots) This program will show new users of Visual Basic how to create hotspots and custom buttons using the image control. See how variable arrays can be used to switch graphics on a single image control. See how you can use control arrays with different graphics. Use a shape control to identify the screen location for your hotspots. You will see how to make custom buttons using graphics and the image control. And finally, you will see the underlying thought process on how an "Interactive Multimedia" program is built in VB. As always, your comments and votes keep these examples coming. Please take a minute to tell me what you think.
My code here will allow you take a screen shot of the entire screen.
It's a cool slider
This code shows the basis to manage a drag&drop bars on an MSFlexGrid. This easy source code lets you make the necesary changes to work in companion with my hierarcical msflexgrid. You can make the changs to work the bars to make it vertical. Add pictures,text (anything!) on the bars. Very easy code!
Source code of a Control, subclassing the MSFlexGrid, to create a Hierarcical Grid (like Treeview). But, as in a MSFlexGrid, you can set individual fonts, colors, even pictures on any cell.
This will show you how to make a quick little splitter for an mdi form using only a picture box and an image control.You can set limits for the minimum and maximum widths. I also use a stopflicker routine for a smooth transition at the minimum and maximum widths. This is not one of the best ways of doing this but it is quick and it does work
A nice non-container Frame-Control. Note that there is no window-handle for this control. So it saves your system resources Features : - Styles Raised, Sunken, Etched, Inset etc. - BackStyle (Solid/Transparent) - BackColor - BorderColor Ejoy. Votes are welcome.
Create a smooth animated gif pic inside your Visual Basic application. Works very well with a minimum of code. Enjoy! Please leave me some feed back.
Connect to your www script and fill out the form on your site using GET or POST method.. It's currently set-up to connect to FormMail.cgi script, by Math Wrigth. (script included) which will then email you the information. Don't forget to change the recipient email address (put your email in).
Select color value either in RGB, HEX or LONG. Very easy to include in your own project.
This is an enhanced Start menu from the BoS project. I pulled out the explorer functionality and made it standalone. New features include: more natural response to mouse rollover, you can set the font, font size and height of the items, the menu gets the real text width and height at runtime so it can adapt to any font, font size or style. Item spacing can be adjusted by adjusting picItem(0) text and icons are centered vertically at run time. Must See. Thanks to Brian for his COOL BoS. I feel this functionality with its enhancements can be really useful in your projects.