Advertisement

Results for "Category: Custom Controls/ Forms/ Menus"

2002VB #20990
AutoText/Combo ActiveX Control

Autotext is an extended API implementation of Visual Basic's Combo Box. The control can be used as an autotype combobox or an autotype textbox. This code contains a proper implementation of an API timer class as well, using soft references to avoid GPFs. Allows custom context menus and allows the default context menus to be disabled. Raises a Menu_Click event which specifies which menu item was clicked. Has mouse down, mouse move and mouse up events. Code shows how to create a mouse hook. Switchboard code insures that the proper control recieves the right notifications. Has a SyncByItemData function to select an entry by an ItemData entry. Has a FillWithRecSet function to enable it to be filled directly with a recordset. You can specify the ordinal postion within the recordset that you want the drop-down list to be filled with. If you do not require the ItemData to be set, you must specify the optional default ordinal position of one to be zero. Implements an extended interface to make the control faster than the default implementation. eg. Dim eboName As IAutoText Set eboName = cboName.Object I have borrowed many snippets of code from this site an thought that it was my turn to share one of my gems with the people of Planet Source Code. This ActiveX is being used by many programs and has been thouroughly tested for flaws. My thanks to all the people who have contributed to Planet Source Code. PS. Vote if you want to.

2002VB #21002
Create your own Listbox example

A listbox using nothing but a picture box and scrollbar, not done yet.

2002VB #21010
A Designer Topbar

The designer Top/Bottom bar Activex Control is a scrollable toolbar sort of entity that imitates Outlook bar. I made this for topic selection in my astrology package. Its quite well designed, and will be good for software with multi documents/topics. I have supplied the source(.ctl) file in here. Don't forget to rate this code. Warning: There are no comments in the code.

2002VB #21015
LED Display

It's a LED Display to show numbers simply by loading small icons. It also consider 2 decimal digits. You can use this as an example to show numbers in your program in a more "electronical" way.

2002VB #21019
Custom Control Box (a must have!)

2 custom controls are included in this project. Drag control will allow you to move the form around using any control. controlbox is a custom controlbox with 3 buttons which can be eneabled/disabled, for which you set caption and font properties, a popup menu, icon propery which can also be changed. The custom controlbox can be minimized/maximized/closed like a normal controlbox. This is a must have if you are tired of having same control box every time!!!

2002VB #21021
treeview nodes

This is an example of how to use treeview control and nodes. If you have never used treeview before this is perfect for you. The treeview control is very powerful control if you know how to use it right. This code shows how to do some of the basic things with it as well as how to call popupmenues and few programming techniques. The code is well commented so it will be easy to understand.

2002VB #21023
weather.ocx

This program will get local weather using your zip code anywhere in USA. The code can easily be modified to get the weather for the next day. Please tell me what you thing about this custom control and PLEASE vote for me :) :) :)

2002VB #21051
eTextBox Class

[UPDATED] - Added three new Subroutines: LoadTEXT, SaveTEXT, and Clear. Also updated the sample application to show more of the functionality. Ability to Count Lines, Words, Characters, get the cursor position, Undo, ClearUndoBuffer, TopLine, BottomLine, UnSelect, LineLength, LineData, LineIndex, VisibleLines, IsDirty, ReadOnly (YES, it IS different from Locked), and others. It gives these abilities to make it easier to use these functions (some of which are found in the RichTextBox control) to a simple TextBox control. Read the README.txt contained in the ZIP (which is also included in the VB Project) to see how each property/function/subroutine is used. There is also a sample included.

2002VB #21061
Animated TrayIcon ocx

Add an animated system tray icon to your project with the help of this ActiveX control. Features: variable frame timing, multiple animation sequences, zoom to/from tray effect, popup menu, and customisable tip text.

2002VB #21071
FTPx(ZIP)

This is the zipped version and it contains all the forms and code necessary to compile the .OCX Also included is a pre-compiled FTPx.ocx ready to use. Thanks This custom control allows applications access to FTP sites without the need to re-invent the wheel. Just set the Hostname, Username, Password and port properties and execute the Connected method and you're connected. You can Get, Put, Rename, Kill and Execute custom commands. The very best thing is progressing. This controls provides download and upload progressing.

2002VB #21074
Telnet Server OCX and example of how to use.

This is an OCX which opens up a server on your chosen port and it can accept however many users you chose it to. The server is accessible through any telnet client and handles backspacing. Both OCX and example are fully commented. Please Vote. -Paul Blower

2002VB #21075
A Scroller OCX - Smoothly scrolls text in a picturebox (full OCX source+example)

This is an Active X control you can add to your apps and have nice, smoothly scrolling text which makes them look pretty good :) The ocx can scroll right->left or bottom->top and background+text colors are customisable. Text scrolls, optionally pauses at the edge for specified ms and then continues to scroll off It uses bitblt to do the drawing so its flickerless and goes pretty smoothly. Also, this code simulates an asynchronus function as i couldnt see a way to make/call an asynchronus function in vb. Please vote for it!

2002VB #21098
AutoType/AutoComplete ActiveX Control - Update: IE 5 Style

It's a text box (or combobox) that will complete your typing for you, or popup a list as you type so that it doesn't annoy you while your typing. Includes standard text box events. Acts just like Internet Explorer's address bar! UPDATE: Popup List with matching items! URL Aware! Local FileSystem Path Lookup! Just like IE 5!! If your mother only knew!!

2002VB #21115
SEARCHER

This is a screen that will allow you to do searches for anything. It uses control arrays, so you can keep adding search/sort criteria. Keep in mind that I was actually passing field objects to manage the various drop-downs, so you'll have to incorporate your own data access techniques. I had to strip out some things, because it dealt with my own Interface classes, but it should at least give you some ideas. If you use this, PLEASE VOTE. Email me @ paulbrower@browerconsulting.com if you have questions/comments.

2002VB #21136
AutoSize v1.1

AutoSize purpose is to help programmers maintain their forms without too much fuz. FormSizer makes the application remember the size and state of a window from time to time the program is run. (Code free!!!) ControlSizer lets you set up rules for how your controls should resize when the window resizes. The control takes care of the rest. (Coding is limited to two lines of code per control you want to be adaptive)

2002VB #21149
_-! Customizable Message Box !-_ A MUST-SEE Active X: *3rd Update!* Close btn, Picturing, Auto-Focus

This UserControl Generate a Message Box that you can customize every detail of it. This is a 3rd update! Increase customizing performance, so you can adjust its... Title Bar Color & Font, Message Text Color & Font, Title Caption, Message Text, 4 Buttons Text, Button Highlight & Lowlight Color, Close Button Color & Back Color, Icon Back Color, Border Color, Border Style, Message Box Back Picture, Text Area Picture, and Message Box Back Color. Button now automatically recieve focus if you move your mouse over them, and the highlight color will be set to that button. Button also invisible if you don't set any caption data into it. If you think the desing is ugly can download it and customize yourself. In this version you also can insert picture in Message Box, and also another one as a background at text area. The screen shot is uglier that its real picture because this's .gif image. License problem is fixed so you shouldn't have problem with Regsve32 anymore. Old ugly close button now replaced with a better one. Please VOTE for me and leave comments. Good, bad, are strongly appreciate. Anyone who want to develop this with me just send an e-mail to hyperactive0000@hotmail.com . Note: if you know how to play windows sound (set by user) like when you click Start menu or Minimize program, please tell me so I can put it in this code. Anyway, in this version, if you launch a message box, it also generate "Beep" Sound. Console Panel now very cool and so colorful, but you won't see it in screenshot. Now have method "SetBtnFocus" so you can set highlight to any button. 3 screen picture are add as template picture to put it in message box. Every time button recieve focus it generate event seperately. Console now have status bar to inform when any event has been raised. All properties is run-time customizable. Was it buggy? well, not in this version (3.2 R17) anymore. The most important thing, don't forget to *V*O*T*E* for my code.

2002VB #21153
Title Scrolls At It's Best

This is title scrolling at its simplest and best i suppose. Well The Purpose of this code is for ppl who are just learning like me, and want something that they can understand. Plenty of comments that are clear and make sense. Plus a second project inside to make things a little harder, it lets you work out how it was done. This isn't mega-stuff, its really for just learners =) Anyways, enjoy.

2002VB #21155
Ariel Color Box Control V1.1 (updated)

A popup color selector active-x control, similar to a combobox, featuring 12 different palettes, and 2 color selection events: Click() and Change(). The popup window can be disabled, in which case the popup()event may be used to substitute your own color selection code, or access to the common windows dialog. Hue selection is done through mouse hovering using custom timer class. Credits to various PSC contributors as listed in the text file. Uses 12 API functions. Full source included - well commented. V1.1 now includes hWnd property. (Thanks Ross McCawley!)

2002VB #21156
Ariel Browse Folder/File Controls V1.1 (Update)

Two active-x controls are included in this OCX library, a folder and file selector. The controls resemble a combobox, and when the dropdown button is clicked, a dialog is shown in which a folder or file may be selected. The BrowseFolder control uses the SHBrowseForFolder API function, and the BrowseFile the GetOpenFileName and GetSaveFileName functions. A call back procedure is implemented showing the currently selected folder in the browse for folder dialog. The user has the choice to select any system folder (Desktop, My Computer etc) as the root, or a custom folder. The BrowseFile control returns the filename and path separately from the full path. The standard inverse triangle on the dropdown boxes may be substituted for any 8 pixel wide bitmap (with varying heights), with a choice of mask colors. Full set of events are included, click() upon dialog close, Change() and DropDown() prior to opening of the dialogs. Source also implements BitBlt() API function to copy transparent images. This is an update to the original ArielBrowseFolder Control, which has been removed from PSC.

2002VB #21159
Ariel Timer Class

Simple timer class using GetTickCount API function, similar to standard timer control. Accepts long interval. Perfect for forms and/or user controls. Generates ONTIMER() event. Credits to code published by Riaan Aspeling in PSC, thanks Riaan.

Languages
Top Categories
Global Discovery