Results for "Category: Custom Controls/ Forms/ Menus"
Mit TimeChart_ado.ocx können Zeiträume von, zB. Urlaubplänen oder Projektplanungen, grafisch dargestellt werden. Dabei werden die relevanten Infos aus deiner individuellen Datenbank ausgelesen. NEU: Im Gegensatz zur DAO Version (TimeChart.ocx) nutzt dieses Ding nun ADO 2.1 und kann damit an jede datenbank gehangen werden, die ADO unterstützt!
Mit diesem OCX können Zeiträume grafisch dargestellt werden, z.B. für Urlaubsübersichten oder Projektzeitpläne. Farben, Inhalte und Beschriftung sind leicht änderbar. Automatischer Scrollbalken beim verkleinern. Neben dem SourceCode ist noch ein gut dokumentiertes Beispiel enthalten. Voraussetzung ist eine Access-Datenbank (mdb)
This form contains an example of how to do a simple Outlook-type split form. The splitter code is modifed from the http://www.vb-helper.com/HowTo/hsplit.zip code. I have updated to include icons and labels under each button. The project is now only compatible with VB6 as I am using a resource file to store the icons. I have found and fixed the problem with icons not disappearing when the form is resized and also implemented scrolling to allow users to see obscured icons.
Yet another lame installment of simple effects.. this one uses lines and labels to simulate a button of different shapes.. i believe ive commented it enough for basic understanding (not like its complicated). So check it out, leave a flame, and have a coke and a smile..... ;)
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.