Advertisement

Results for "Author: slider"

1_2002 #109540
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!

1_2002 #109541
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.

1_2002 #109542
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!

1_2002 #109543
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...

1_2002 #109544
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...

1_2002 #109545
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.

1_2002 #109546
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 ***

1_2002 #109547
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!

1_2002 #109548
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.

1_2002 #109549
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...

1_2002 #109550
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.

1_2002 #109551
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!

2_2002-2004 #113702
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.

2_2002-2004 #115894
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!

2_2002-2004 #116924
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 ***

2_2002-2004 #117030
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...

2_2002-2004 #117065
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...

2_2002-2004 #117408
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.

2_2002-2004 #118152
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!

2_2002-2004 #118590
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 ***

Languages
Top Categories
Global Discovery