Results for "Category: Custom Controls/ Forms/ Menus"
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)
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!
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.
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..
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..... ;)
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
this lets you edit the system menu on your form. you can make it perform functions also. the only downside to this is that the form is not movable by titlebar. i've seen other codes posted on this but the one i was looking at didn't show how to perform commands on click. anyways hope this helps you out.
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.
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@
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.
Evenly spaces an image as many times as will fit on a form
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.
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)
My code here will allow you take a screen shot of the entire screen.
It's a cool slider
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 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!
This is a total remake of the last Image Viewer I made. It still views JPG, GIF, BMP, ICO, CUR image files. Besides showing image files, it can also act as an example of how to put skins into your program(s). Please vote!