Results for "Category: Custom Controls/ Forms/ Menus"
(Added .Sort method) A purely graphical replacement/enhancement for the VB single-column listbox control. Standard vertical listbox behavior is consistently emulated, with the exception of a couple intricacies of list item selection in .MultiSelect = Extended mode. Control features an integrated graphical vertical scrollbar. Custom .FindIndex and .MouseOverIndex methods. Background can be a gradient or bitmap. Small bitmaps can be tiled or stretched to fit the display area. Each listitem can have an associated icon displayed next to it. Eight gradient color schemes can be selected via the .Theme property. Unicode display supported. Drag and drop capability incorporated. Numeric list sorting option. .DisplayFrom method allows you to display any part of the list through code. .RightToLeft allows smooth, natural operation for those whose written language goes from right to left. Loads lists several times faster than traditional VB listbox, depending on your system. Due to size of control, this is best used as a compiled .OCX. As always, constructive feedback welcome, votes appreciated.
(24 Mar 2007 - Added .ColorAtCursor property) I've seen a lot of projects on PSC for scrolling large images and with the exception of Carles P.V.'s excellent submission at txtCodeId=30414, they all seem to involve slapping a couple of scrollbars on a VB PictureBox. Navigating large images by fumbling with scrollbars is very awkward, for me anyway. So just for fun (I have no use for this) I cooked up this little beastie. Its ClickNavigation feature provides a much faster [is 'instantly' fast enough for you? ;)], more natural way to navigate large images than anything I've seen so far on PSC. Features include: - Image display in either Normal or Stretched (display-to-fit) modes. - Aspect ratio may be optionally maintained in Stretched viewing mode. - Two image navigation modes are available for viewing large images - ClickNavigation and DragNavigation. ClickNavigation is a unique feature that displays entire image when the Ctrl key is held down, maintaining aspect ratio if mandated by the .KeepAspectRatio property. A rectangle outlines the portion of the image that's currently being displayed in Normal mode. Clicking on the image moves the rectangle, and when Normal view is reestablished by releasing Ctrl, the view is changed to the new coordinates. DragNavigation (which Carles features in his submission also) allows user to simply drag the image around in Normal mode until the desired area is in view. - Any portion of image can also be displayed via code using the .DisplayImage method, supplying the X and Y coordinates of the upper left hand corner of the image portion you wish to display. - Control can be used as a simple PictureBox replacement; image navigation can be disabled for straightforward image display (although image stretching and aspect ratio features are always available). Control is also a container as is the standard VB PictureBox. As always, constructive feedback is always welcome, and votes are always appreciated.
Shows you how to build the processbar into the statusbar panels the easy way.
This is the most advanced container control in PSC, must see screenshot. Did you love controls that don't have much "client-side" code... Ok, this is a 0 line client-side code control, It´s a REAL container, You just put controls inside and the contros do the dirty job. Allows to put many controls in the panel, an use scrollbars to acces them This panel suport Mouse Wheel, WITHOUT SUBCLASS, just uses the free time to Peek Messages, so its IDE safe. It has a lot of features, like: -Use ScrollBarConstants (vbBoth, vbVertical, vbSBNone, vbHorizontal) -Use ScrollBar sensibility -Vertical and horizontal margin to ajust the contained controls -Change the potion of the scrolls when a contained controls got focus -Is aligneable I got the idea from IsPanel, By DavidJ, but this is a complete rewrite, so it uses diferent and more eficient programing techniques.
Provides the ability to emulate complex GUI designs with realitive ease. The button supports Normal, Mouse Over, Mouse Down, Disabled, Selected and Selected Over. 100% self-contained in a single UserControl file. Full visibility during design time, including full transparency when using a Mask image. Perfect for those complex GUI designs.
This code makes it incredibly easy (one line to add one) to add system notification icons (aka tray icons) to your program! You can even call up Balloon Tips on compatible OSes (XP and 2000, I believe). Functions are structured to be as close to their VB counterparts as possible (BalloonTip is structured like MsgBox for example)
This is an animated OCX control. It can use in your program as Button. There are sound and events with different animation and speed control as simple script language for it!! <<<<<<<Please don’t forget for vote and comment>>>>>>>> In project directory there is some *.inf file. that you can write appropriate sound effect and key frame and speed for your different controls in your projects.
This is a custom Frame (Panel) control. It is VERY simple and VERY lightweight. I used the Fast Gradient code from Carles P.V. + Light Templer to generate the background gradients (Excellent code guys - VERY fast). Also I allowed the panel's Picture to be resized to fit in the header properly. Font, Font Color, Border Color, etc.. All included. I am working on making the image transparent.. Stay tuned.
Definately see screenshot. This is a iTunes/shockwave-style star-like rating system. I havent seen this (to my recollection) on PSC. This was developped for a custom DVD/Video management application. Set the MaxStars to 4, and use it to rate restaurants. Use (virtually) any number of stars and rate at an interval of 0.5.
Ever get frustrated that when you change the background color of a form the forms border doesn't change as well. Now it can.
Allows you to customise your ListView controls so to allow specific columns to be editied by clicking on them and resized whenever your ListView changes its dimensions.
I took the excelent code (Mario Flores Cool Xp ProgressBar 2.0) and fixed the max value, now it works with any max value. Added the missing let propety. Made major changes to the verticle ProgressBar to use all the types of bars and empty or fill option. I had some help from Roger Gilchrist as I don't do much graphics programming.
Popup Message box style like Office 2003 now in al XP themes (Blue, Silver, Olive. Look at screen shoot. Please vote for Code.
This component gives you more functionality to select folders. Some of them are dialog-box position (center to parent form, center to screen or custom position also), select root directory, select initial directory as well as gives the special folder location like your systems windows directory, your system directory, your application dir etc.
This XP-Style Button can be placed on any structured background without distubance of the 'Skin'. The corners are slightly rounded. MouseOver and TabStop will be highlighted. The color of the button can be adapted to any color during runtime. No pictures are used.
This is the 2nd version of the XP Style Button. Have a look at the Screenshot. What you see is what you get. It even brings the look and feel of XP to 9x. The color of the gravel surface can be selected from properties or during runtime. You can select a MouseOver color, a MouseOverFrame color or hide one of them if you select the same color. The edges are round on any background. Please send me your feedback for improvements
Custom form is meant to be saved to the Templates folder with a distinctive name for easy reuse. Add an image to the form and a custom shaped region is created. There are options that will let the form fade when showing and/or closing.
A popup button that uses GDI graphic methods to draw either a standard or xp style.
This is a major (and I mean major) re-build of my previous drop in form replacement of the windows input box/message box without using MS ocx. Now the drop-in form has only one control (text box) and only ONE function to call! But you can still choose several styles of boxes: Input box, Message Box, Nag screen, Timed message box (splash screen?) and Combine them as you like! No graphics controls at all but has improved gradients, owner drawn buttons, dock/drag control, pick the display location, show all, some, or no buttons, and more! It is very customizable... you control color schemes, gradients, fonts, font color and (bold/italic...etc). --------- 12/02/05... Forgot to put the .frx for the msgbox in the zip (actually forgot the mouse pointer for the mouse over was stored there). So now zip has the .frx file. modified the readme.txt file
A VB.CommonDialog (ShowOpen & ShowSave) replacement control. Written from scratch - fileview etc., uses only standart vb controls - no listview etc. Take a look at the screenshot! Not saying that it is great (has some issues - slownes on older PC's - but as fast as it can be at given concep), but is certanly worth trying! Probably some bugs, since I didn't have a look at the code for months... But nothing serious... I was developing it for more than 6 months (with testing) - it was a part from another (abandoned) project... Send comments... Voite if you like - this is the only way for me to find out how good (or bad) job did I do;) Download and have fun. PS. Oh, sorry commented, but not very well...But should be readable to intermediate users... And not to forget - some of the code (cmemdc.cls, and some bits of code) are from PSC - do not know if there are coments about the who is the author - so if you recognize your code, write here (put a comment) or email me, and you will be pu here on the list... Thanks!!! ************************************* Fixed problems with the zip - file was missing ************************************* Special thanks to: Vlad Vissoultchev, Tim Misset, and many others!