Advertisement

Results for "Author: slider"

ASP_Volume2 #39475
MS Works 2000 Style Menus: Version 1.03

Replicates MS Works 2000 horizontal and vertical menus. Displaying Disabled Items, Hover Items (Hot Tracking - v1.01), ToolTips (v1.02), Graduated Selection/HiLite (v1.03), Seperator Lines, etc all configurable. Demonstration application included to demonstrate all the features of the controls. Please vote for this project & happy coding!

ASP_Volume3 #53296
Address Class v1.0.1

This class is great for use with contact database programs. It's designed to take an address from a multiline textbox and break out the details to individual fields (Street, city, state, zip, country); criteria validation function that check for missing field; auto capitalisation; and fill a passed combobox with all known countries. Also takes multiple fields and returns a formatted address. The test application also demonstrates (for beginners) how to create an Auto-complete a ComboBox; Quick ComboBox search using API; Simple field hilighting methods for TextBox and ComboBox; Avoid complex If/Then structures using bitwise operation and the IIF function. The code is commented and clean - well worth the look. Please vote if you like it...

ASP_Volume3 #53297
cContactName Class v1.0.1

This class is great for use with contact database programs. It's designed to take a Person's Full Name and break out the details to individual fields (Title, First, Middle, Last, Suffix); criteria validation function that check for missing field; auto capitalisation; and fill a passed combobox with all Titles (Mr. Miss, ...) or Suffixes (Jr., Sr, ...). Also takes multiple fields and returns a formatted Full Contact Name. The test application also demonstrates (for beginners) how to create an Auto-complete a ComboBox; Quick ComboBox search using API; Simple field hilighting methods for TextBox and ComboBox; Avoid complex If/Then structures using bitwise operation and the IIF function. The code is commented and clean - well worth the look. Please vote if you like it...

ASP_Volume3 #53298
How-to exit an application correctly

This article demonstrates how to exit an application cleanly with user prompting (if required) without using the END Statement.

ASP_Volume3 #53299
MS Works 2000 Style Menus: Version 1.03

Replicates MS Works 2000 horizontal and vertical menus. Displaying Disabled Items, Hover Items (Hot Tracking - v1.01), ToolTips (v1.02), Graduated Selection/HiLite (v1.03), Seperator Lines, etc all configurable. Demonstration application included to demonstrate all the features of the controls. Please vote for this project & happy coding!

ASP_Volume3 #53300
Advanced Form Containers

The purpose of this demonstration application is to illustrate advanced techniques in using forms within the application or in an process (not remote) DLL to encapsulate functionality without effecting usability. The key benefit of using an in-process DLL is in application distribution. If a change is made to only one part of the application contained in a DLL, then only the DLL needs to be distributed. Another benefit could include cross application useability. An example of where this might be useful is if we have an inventory application and we want to view the suppliers on the same screen with the stock item or view all stock items on the suppliers screen. A common viewport is used to display associated information. If we are looking at the supplier screen, other information can be displayed in the common view port and could include outstanding orders, reports, historical data, etc. Each screen of data would be stored in their own forms. The same information is displayed in both of the inventory application examples but requires no double coding as each form encapsulates the code for the interface and functionality/business-logic. For this to work, an interface class would be created and implemented into each form creating a common method of communicating. A Form can be both a parent and child. The viewport on each parent form would be enabled or disabled depending if it was the parent or child form. Vote for this project and Happy Coding...

ASP_Volume3 #53301
MS Works 2000 style menus

Replicates MS Works 2000 horizontal and vertical menus. Displaying Disabled Items, Hover Items (Hot Tracking - v1.01), ToolTips (v1.02), Seperator Lines, etc all configurable. Demonstration application included to demonstrate all the features of the controls.

ASP_Volume3 #53302
Flicker -free Info Control

This control was used in several commercial applications that I've written as an on-screen Help system. I've included the prototyping code (non-api) and the flicker free API version. I hope this helps someone ..... Happy Coding!

ASP_Volume3 #53303
TreeView Multi-Node Selection

Have you ever wanted to add Multi-Node Selection to your application? Many people here and in the newsgroups have wanted this feature. Here is a working prototype! Enjoy...

ASP_Volume3 #53304
cTREEVIEW Class Wrapper (RELEASE 3) with ADO Code Example

** Release 3 ** New cTREEVIEW features: Flat border; IsChildNode; CopyNode with cancel option; Cut Icon state. ADO example supporting: Load on demand; Find First/ Next/ Previous; Label Edit; Drag'n'Drop; Node & TreeView context menus; node specific Open/Closed/Drag icons. ADO Example now supports: New Nodes/Records can be added; copy treeview node(s); Cut/Copy/Paste through right-click context menu; and functions are now benchmarked with results displayed. ** Release 2 ** cTREEVIEW class features: Scroll treeview Up/ Down/ PageUp/ PageDown/ Home/ End using code; Dragging with auto-scrolling (not supported by Microsoft in the TreeView control); NodeFirstViewable; & NodeLastViewable. ADO Example fixes: Find Next/Previous didn't work if branches already loaded. cTREEVIEW class fixes: correct node drag icon displayed. cTreeview features include: fast clear a treeview; extended Add/Rename/Delete nodes; copy & move nodes through code &/or Drag'n'Drop including parent nodes onto child nodes (not normally possible!); find node using text and (optionally) key properties; check if a node is a parent of another; checks if a node is a root node; a safe get parent node text; right-click context menu (before/after click event); collapse/expand all nodes; collape/expand all child nodes; enable/disable redraw. This example shows how to:- work with multiple tables of data and load data on demand. As a bonus, I've included cDB class that encapsulates working with an Access Database using ADO. All code is heavily commented. If there are any routines that you feel are missing or code/bug-fixes that you wish to contribute, then please let me know and I'll add them in. *** Latest version can be found here:- http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=37553&lngWId=1 ***

ASP_Volume3 #53305
Date Routines

Included are 6 date routines: FindEOCM (Find last day of the month), FindEOPM (Find last day of previous month), WeekNumber (Date to week number), WeekNum2Date (Week number to date), GetMonthNames (uses Locale names - Short or long description), GetWeekDayNames (uses Locale names - Short or long description). Test program is also included.

ASP_Volume3 #53306
Subclassing within a UserControl

This project was put together as a learning tool to better understand how to capture Windows Messages using subclassing within a OCX. Capuring Windows Messages in a executable is very straight forward - however within an OCX, it's a whole new dimension. This project demonstrates how to overcome the difficulties without using thrid-party products or external DLLs. Keep your eye on both the Immediate Window and the UserControl's ListBox in both Design-time and run-time whilst resizing, minimising, maximising, moving, clicking, etc to better understand how the UserControl and Windows Messages Work. I hope that you get the same benefit from using this code as I did coding it!

ASP_Volume3 #53307
cTabStrip 'Container Management' Class wrapper

The wrapper is designed to take control of all associated containers/controls in three easy steps:- 1. Hook a TabStrip control; 2. assign controls to tabs; & 3. set how the controls will be managed - the wrapper will do the rest! Other features include container management, automatic positioning (center, top-left, bottom right, etc...) and auto-Fit. The wrapper makes use of object pointers (weak object references) to aviod circular references. All code is cleanly formatted and well commented. The included program demonstrates how easy the wrapper class is to use - Take note of the placement of the different types of associated controls and how the wrapper fixes up their containers, visibility and positioning on start-up. If you use the TabStrip control or have wanted to, then this is for you!

ASP_Volume3 #53308
cTreeView Class wrapper v02.03.00 (**Updated 16/8 - Animated Graphic TreeBack Demo - UNIQUE!**)

** Release 6 ** Added BackMode, BackColor, BackPicture, BackFileName, DisableMultiSelect, New Tutorial (Disable Multi-Node Select), updated Tutorial 1 (demonstrate new Back features) and added Animated TreeView Image Background (YES - A first! Pretty unique huh!). BackColor & BackPicture work independantly of the Nodes therefore Nodes maintain their original colors! No other VB code does this - enjoy! ** Release 5 - 26 New Features, 2 new Tutorials ** Now boasts 75 Properties & Methods (features), 7 tutorial/example applications and detailed Html help files and still growing! New features include:- **Disabled Nodes Interface** with full keyboard and mouse support (Unique!), HitTestEx (with comprehensive feedback), IsNodeTextUnique, IsPathExpanded, NodeAbsolutePosition, NodeAbsoluteIndex, NodeCoord, NodeCountChildren (recursively for all sub-branches), NodeFindEx1 (containing), NodeFindEx2 (advanced pattern-matching), NodeFindObjectInTag (advanced pattern-matching), NodePosition, NodeUniqueText, SubNodesSorted, and EditLabelMaxLength. The Disabled Nodes Interface allows individual nodes to be enabled/disabled (not selectable) and toggled with the ability to affect child nodes with a single command; disabled Fore/Back colours and Bold state are programmable (preserves the original Forecolor, Backcolor and bold status of each individual node) and fires a StateChange event when a node or a range of nodes are disabled/enabled. The treeview control by itself is a powerful control when used properly. This wrapper is designed to deliver the most common and also complicated features that's expected from the control but are not included or are very difficult to implement. [See the animated ScreenShots for examples of the new features] The included tutorials also demonstrate how to tie multiple ADO recordsets to a Treeview control with drag'n'drop automatic updates(move & copy nodes and branches), load-on-demand for instataneous display of large amounts of data; benchmarking; cursor management; TabStrip management; working with common dialogs through APIs; and much, much more...

ASP_Volume3 #53309
cTreeView v02.03.01 (bug fix only)

This is a bug-fix update for the cTreeView DLL/Class Wrapper. Fixes disappearing disabled nodes, error cause if resetting Disabled Nodes when there are no Disabled Nodes, and NodeMove not honoring individual Node expand states. Thanks to Zhu JinYong and Denis Chollet for finding these bugs. *** NOTE: This is an update ONLY - not all files are included. Please ensure that you have downloaded v02.03.00 [http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=37553] before downloading the update. ***

ASP_Volume3 #53310
cTreeView Class wrapper v02.03.00 (**Release 6 - Animated Graphic TreeBack Demo - UNIQUE!**)

Added BackMode, BackColor, BackPicture, BackFileName, DisableMultiSelect, New Tutorial (Disable Multi-Node Select), updated Tutorial 1 (demonstrate new Back features) and added Animated TreeView Image Background (YES - A first! Pretty unique huh!). BackColor & BackPicture work independantly of the Nodes therefore Nodes maintain their original colors! No other VB code does this - enjoy! Now 80+ Features!

ASP_Volume3 #53311
TreeView Drag'n'Drop

I get questioned alot about the TreeView control by PSC users - especially about Drag'n'Drop operation. Here is some sample code that directly answers how to do this proceedure including auto-expand of collapsed nodes plus Auto-Scroll during drag.

ASP_Volume3 #53312
gvbFormPos v01.00.00 - Maintain form positioning between execution

This light-weight OCX not only remembers when a form is resized, but also when it is moved; handles MDI Parent/Child forms and SDI forms; a CenterForm function that works in both MDI & SDI forms plus if the TaskBar is visible! Drop the control on a form, add one line of code (see screenshot) and the OCX does the rest! Two example apps are included to demonstrate MDI & SDI usage. Enjoy!

ASP_Volume3 #53313
cTreeView Class wrapper v02.01.00 (Release 4)

The award-winning TreeView Class wrapper has been optimised using APIs plus many new features added like simple Drag'n'Drop with auto-expand & auto-scroll, Multi-Node selection, Overlay Icons, load/save to binary/Xml file, and many more... 6 Tutorial applications are included to demonstrate sets of features to help make it easier to understand and implement into your own applications. The Wrapper contains several files that can either be embedded directly in an appplication or compiled into an in-process DLL (by Default). If you're considering working with the TreeView control, then this will be an invaluable tool for you! *** Latest version can be found here:- http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=37553&lngWId=1 ***

ASP_Volume3 #53314
cADOTreeView (Initial Beta Release)

TreeView control is one of the most overlooked controls by developers for use in database applications to display picklists. This is mainly due to the lack of data binding and time required to code. This wrapper does it for you! It simplifies the display of complex data relationships using ADO and the TreeView control. I've made it as generic and flexible as possible whilst significatly improving loading performance over manually coded methods. Features include:- --- Loading records on an "as-needed" basis when Nodes are expanded (includes optional control over the expanding of Nodes) - significatly reduces load time. --- Simple and complex data relationships with support for:- a). recursive record linking; b). many-2-one data relationships; c). one record can be displayed multiple times - each instance of the same record can be fully customised i.e. different images, colors, etc...; d). unlimited data relationships and nesting levels. --- "A pictures is worth a thousand words!" - color coded ranges; Images as warning indicators; color coded regions, etc... Built-in automatic support for customisation of *ALL* Node display properties on a "Per Record" basis - NO MANUAL CODING REQUIRED! (Does not use the .Tag property of each Node - does anyone want this property automatically filled?) --- User defined sorting - uses the SQL "ORDER BY" clause instead of each Node's .Sort property --- Custom filter criterias --- Persistance of data relationships (with associated icons). This gives several benefits: - a). the defined relationship is portable and can be stored in the registry, as a resource, record in the database, or to disk (in-built function); b). Bind your database to the treeview control with only 3 lines of code when using a persisted data relationship! c). Can copy any part (or all) of data relationships between different instances using the .Contents property; d). any modification to icons or filtering can be persisted allowing progmatic or user customisation between sessions &/or applications, users, etc... o ... Load-on-Demand (using its own wrapper class) is exposed for use with other non-ADO bound TreeView Controls within your application. It's very easy to Use the wrapper - Define a data relationship, point to the Database, and then the wrapper will do the rest. The zip file includes: all source codes, VBADOTree.Dll, Five (6) demonstration applications ranging from simple implementation of the Load-on-demand feature (non-ADO Demo) through to a complex inter-table relationship (9 tables) with recursive data structures, custom filter criterias, non-alphanumeric (custom user-defined) sorting, and conditional node properties. Both the Wrapper DLL and demonstration applications are fully commented. Demonstration applications also include very detailed comments and notes on how the data binding and automatic SQL building actually works. This should make implementation in your own projects very easy.

Languages
Top Categories
Global Discovery