Results for "Category: Custom Controls/ Forms/ Menus"
New in this demo: Active titlebar skin (all running applications) and a new version of my award winning Textanimation control. Extra in this version is: transparent background, Picture background, Transparent background of parent form!, a lot of gradient options, MousIn and Mouse out events, ..? Also in this demo: system tray skin with tickertape, docked window with tickertape, text animation demo, transparent animation (including form), vertical titlebar, gradient form, button control with a lot of properties, Win2k form transparency, animating logo, ...? This publication is using code of about a dozen developers, so thanks everyone.
You can make your forms transparant by adding this control to your form. You can set the transparancy level and you can fade in and fade out your forms with very litle coding (All the code you need is in the screen sample). Be aware that the transparancy will only work on Windows 2000. If you run the code on an other version, then you will just see the forms without transparancy. Yes, I have used the transparancy code that was published by others. Here is the reference for this: When i saw the code 21385 from faisal arif, i wanted to reproduce that. After a search on planet source code on transparancy i found a working sample 8015 from J.-A. Mock. I used this code as a base to crate the control. According to Reland Kluit this code is a 'stolen' copy of his code 6546
New version at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=24869&lngWId=1 With this control you can flicker free animate multiple text lines. You can animate position, rotation, size and color. During the animation every text line is clickable.
Provides developers with a customizeable DIP switch control common in many hardware applications.
This is a project which contains a user control with a grid that allows editing and also column locking, plus all the properties of the flexgrid
Background coloring tool for shading forms and fading a color from top to bottom. Colors are chosen using a color slider.
Remember the custom defined colors for the common_color_dialog.
This control is just an image of a dashboard fuel gauge with a needle pointing to the percentage done. It's very simple and can be modified to use other images. It has the typical min, max, value properties along with a property for showing the value label. The source is not commented much, but it's mostly self explanatory. I hope you like it, and modify it to suite your needs. PLEASE VOTE, I'd like to continue making more gauges and switches, so inspire me!
A few ActiveX controls for you usercontrol folder including 2 types of ToggleSwitch's, A Progressbar, L.E.D., Custom CheckBox, And an easy to use SystemTray control.
Shrink Window on Unload
I have just done a major update! This Form with Scroll Bars Control has everything that you always dreamed of on a Scrolling Form and more! Following is a list of the most important features available on this versatile ActiveX Control: ____________________________________________________ (1) The Form will scroll vertically and horizontally! ____________________________________________________ (2) It will scroll automatically to the field with focus if the field is out of site. ____________________________________________________ (3) It will highlight the field or button that has the Focus (Actually, any Control inside of the Scrolling Form that can get focus). ____________________________________________________ (4) Besides been able to optimize the space on your applications by been able to scroll in any direction, you can now flip pages! This feature is much like a wizard’s page. The control will track the number of added pages and which page is currently been viewed. ____________________________________________________ (5) The control will memorize the last field selected and the scroll bars position on every page. Therefore, whenever you move to a new page, you can opt to have the Scrolling Form ActiveX automatically select the last field selected on the corresponding page or select the first field of the page. ____________________________________________________ (6) The Control can automatically select the text of every Text Box selected. ____________________________________________________ (7) You can add a background picture to the control. This picture will be set as the background picture of every added page! ____________________________________________________ (8) You can set the background color of the control. This color will be set as the background color of every added page! ____________________________________________________ All of these features are neatly packed as an ActiveX Control. It is very easy to use! What are you waiting for?!! Go ahead and download it! The Source Code of the OCX is included and is heavily commented!!
This is a control that will allow you to create a form that can be scrolled by the user. It is very simple to implement. This submission is heavily based on another submission by Fred_Cpp: http://www.planet-source-code.com/vb/scripts/showcode.asp?lngWId=1&txtCodeId=31896 I hope that Fred doesn't get mad at me for tweaking his code! :) My modified version has little changes. When there is no need to scroll horizontally or vertically, the scroll bar is hidden. The scroll bars do not have the annoying blinking anymore. I did a lot of clean up on the code and added a few comments in "English". I think that the example looks better, too. It would be good if you guys could give me some feedback. ============================================ I have just uploaded an ActiveX Control that is much better. The URL Is: ============================================ http://www.planet-source-code.com/vb/default.asp?lngCId=32374&lngWId=1
This ActiveX Control (OCX) will create a simple interface so the user can enter a determined time. It then validates the time entered and will always return a correct time. This control can be very useful if you are writing a program like an Alarm Clock or something like this. It can be, also, very instructive for those who want to learn how to program an ActiveX Control.
This button was created to be an enhanced replacement for Visual Basic's standard command button by adding more options, visual effects, and compatibility. I cannot guarantee that this code is bug free although I have made every attempt to make it such. If you have any problems with this code please contact me and I'll do what I can to help you through the problem. Release 1.3.0: + New: - Added Picture Alignment (Thanks Edwin Vermeer) - Added Elliptical and Box Gradients - Added Caption and Picture Alignment Cushions (Almost like margins) - Added BackGround/Control Autosizing (Picture Modes) - Added HSL Gradient Blending (Thanks Ulli & Edwin Vermeer) - Added Gradient Repetitions (Thanks Edwin Vermeer) - Added Hover options which allow Full Hover Effects / Border Only Hover / All Hover Effects except Border - Added Mouse Pointer/Icon handling for Disabled, Down, and Hover states. + Fixed: - Bug in Enabled Property (Design Mode, Control would appear enabled even though control was disabled after a form with control on it was closed then re-opened, Bug has present since Release 1.0.0) (Thanks for reporting problem, Edwin Vermeer) - Bug in scaling that would cause the button to crash when placed on a parent that did not have ScaleMode available (PictureBox on an MDI form, etc...). Now if Parent.ScaleMode is not available button will scale co-ordinates to Twips (Thanks for reporting problem, costamar) - Bug in ToolTips that would cause button to crash when used in environments without the extender object (Access VBA, etc...) (Thanks for reporting problem, Edwin Vermeer) + Improved: - Caption Alignment has been improved to allow for positioning in any of 9 different positions [Changed existing enumeration which will cause some problems when upgrading] (Left Top / Left Middle / Left Bottom / Center Top Center Middle / Center Bottom / Right Top / Right Middle / Right Bottom) - Enabled/Disabled coding to allow more control over the Disabled state of the control. Now prevents event processing instead of disabling the user control. - ToolTips to allow using ToolTips in environments that don't support the Extender.
This is a custom container control which is designed to act as an enhanced container that a designer can use in place of VB's Frame control. It includes several caption styles, appearances, control styles, and caption alignments. I've tried to make this as bug free as possible, but I can't guarantee that it is. If you have any problems please contact me and I'll try to help you through the problem as best I can. Release 1.1.0: + New: - Added Elliptical and Box Gradients - Added Caption Alignment Cushion (Almost like margins) - Added BackGround/Control Autosizing (Picture Mode) - Added HSL Gradient Blending (Thanks Ulli & Edwin Vermeer) - Added Gradient Repetitions (Thanks Edwin Vermeer) + Fixed: - Bug in Enabled Property (Design Mode, Control would appear enabled even though control was disabled after a form with control on it was closed then re-opened) - Bug in scaling that would cause the button to crash when placed on a parent that did not have ScaleMode available (PictureBox on an MDI form, etc...). Now if Parent.ScaleMode is not available button will scale co-ordinates to Twips
The purpose of this control was to replace the standard VB command button with a button that was far more configurable and had many more options so that it would require less programming on the part of the developer to use nice looking buttons. This release corrects a problem with pushing the button several times very quickly and the button would only show the animation once per two quick clicks. Also fixed a bug in the Option Button implementation that would allow an option button to become "un-clicked" (value of false) without having another option button with a value of true. I've improved the modularity of the HSL color code and decided to use HSL blending for the new style borders and for the caption styles. This should be the last VB release of Gradient Button assuming there are no major bugs. The C++ version (v2.0.0) is coming along quite well, but there is still alot of work to be done. I still have to add an About box, OLE events and code, code tweaking, lots of documentation and lots of testing. It is still probably a few months away from full release.
This button was created to be an enhanced replacement for Visual Basic's standard command button by adding 2 more Border appearance schemes, 2 more button styles, hover effects, 5 more caption styles, and state button compatibility. I cannot guarantee that this code is bug free although I have made every attempt to make it such. If you have any problems with this code please contact me and I'll do what I can to help you though the problem. Release 1.1.0: + New - 5 Caption Styles - State Button Capability (sort of like a checkbox) + Fixed - Bug in caption wrapping that would lose a character if a single "word" was longer than the caption width. + Improved - Slight speed increase from de-coupling the caption wrapping and drawing. Release 1.1.1: + Fixed - Bug that would not re-process the caption for display if the caption was changed in code at run time, unless a refresh was done. (Bug introduced in Release 1.1.0) Release 1.2.0: + New - Added Picture and Graphical Picture modes - Added Bevel Appearance Type - Added Bevel Width and Intensity properties (for customizing the bevel border) - Added UseClassicBorders property (to allow switching between blending and classic borders) - Added Option Button Compatibility and changed the structure of the State Button compatibility some + Improved - Borders have been revamped to allow blending with the gradient/picture on the button + Fixed - Fixed a minor issue with the ValueChanged event (event would not fire if changed via code) - Rewrote description text for properties / events / methods to be completely accurate Release 1.2.1: + Fixed - ToolTips are finally fixed and working. (I thought this important enough for another release just for this one issue)
I just took Todd Herman's project and added a simple search form to let you pick your own .ANI file. Check out Todd's original project at http://www.planetsourcecode.com/xq/ASP/txtCodeId.26016/lngWId.1/qx/vb/scripts/ShowCode.htm
Silly, fun animated About Box for your applications (use your own pictures!) Even plays dopey sound effects!
Automatically completes text entry according to a listbox contents. Autofill/Autotext uses one text control and one listbox control to simulate an autotext feature. Works fast thanks to SendMessage API (supports loooong lists w/o trouble). Supports Up and Down arrow keys as well as PgUp and PgDn. Enter key behaves like tab. Highly commented code.