Results for "Category: Custom Controls/ Forms/ Menus"
A circular progress meter with tons of options: Solid color, fading colid color, or gradient blend One-, two- or three-color options Start at any angle (offset) display value in center--any font/color change background colors show/hide border, change width show/hide start line when value is zero scalable change min/max values any shape you want, as long as it's a circle! Enjoy! I welcome any comments and suggestions. I want to try and convert this to a class as well.
Access-like AutoComplete of a dropdown combobox or a simple combo box based on what's already in the list. Simple code but can handle backspace and delete and will finish the 'complete' on Enter keystroke or lost focus. Could easily be converted to a user control.
This all started when I noticed that I was constantly adding in code for when a textbox got focus, lost focus, etc. I decided that this would be a great chance to try my hand at making my own control. Fortunately, I spared PSC users the pain of some of the early versions of the control. I'm pretty happy with the latest version, so let me know what you think (and if you like it, vote for me! :-). Oh, I guess I should mention what it can do. It has several customized properties, such as "AutoSelect," which when True causes the text to be automatically selected when the box receives focus. Then there's "AutoUpperCase," which makes all entered text to be in upper case as it is typed. Then you've got "BackColor_Normal" and "BackColor_OnGotFocus." That's right, you can have it change to a different color when it receives focus (great for highlighting the current textbox when a user has a lot of fields to fill in). There's also "DefaultText" and "UseDefaultText." These are for having the text in the textbox revert to the default text after escape is pressed twice (the first esc is like an undo when you've started typing over something in the box). The latest feature is "TextType," which causes the textbox to only accept certain keystrokes, depending upon the property value. For example, there's AlphaNumeric, which allows everything, and then there's one for allowing only positive integers, and one for negative integers, pos/neg reals, alpha only, etc. This isn't like normal validation which checks the text after it's entered. This checks each keystroke and throws out the ones that aren't to be accepted. To run the tester .exe you'll need to register the cTextBox.ocx, or you can open the cTextbox.vbg file and run it from there. Let me know if you have any comments/suggestions/bug reports. Thanks! (and don't forget to vote :-) Oh! I just remembered, there's another property (two actually), "EntryTimerEnabled" and "MaxEntryTime." These are used to keep track of how much time it takes for a user to enter text in the textbox. If the maxentrytime is exceeded then the "EntryTimedOut" event is fired. This was added because my company often wants users to login to shop floor systems by scanning there badge ID and we needed to prevent the user from typing in an ID. Since barcode readers (or whatever type of scan device you use) are generally faster at generating characters than most typists, you can prevent typing in an ID by experimenting with the MaxEntryTime value.
This code produces a snap to effect exactly like Winamp. Uses POINTAPI type and GetCursorPos API. It gets the current x and y does a few calculations and snaps-to the screen edge. It does take into account for the taskbar but that may need some tweaking.
This proggy will set the text in your label box on fire! =)
I provide an easy to create the non-rectangle form with usercontrol. We may use the control to design a non-rectange form or a desktop animation easily.
Learn to have fun with caption, eg: make it glow..... please visit my homepage 4 more app at http://www.cyberway.com.sg/~dyrws
This ActiveX allow you to use animated gifs in your applications. I saw examples of modules before but not ActiveX.You can make OCX file from this and use it in other applications.
This code resizes a form and its controls according to the screen resolution. It also takes into account the size of the screen fonts (although this is untested!).
This code resizes a form and it's controls (and fonts) according to the users resolution.
This is a "Time Textbox". Kinda like the 'Windows > Control Panels > Date and Time' one... It has a separate input for hour, mins, am\pm. use the "up and down" arrows to chnage the time"..please try it out, and vote if ya like it. Provide some feedback too...
A VB control that, when placed on a form, causes it to act like the Taskbar (minus the Start Menu).
LED and SWITCH user control for technical applications. Just add led.ctl to your project as user control. Read readme.txt for properties.
Updated version of ButtonEx control replacement for CommandButton. Provides more control over the pictures displayed when mouse down, mouse up, mouse over and has focus. Provides "skin" support alongside of picture support. Did you ever wonder how WinAmp and other programs make the button "glow" when you move your mouse over them or press them? ButtonEx provides that through "skins" for each individual button state (up, over, down, focus, disabled).
Updated version of ButtonEx control replacement for CommandButton. Added BorderStyle property. Using BorderStyle and Appearance you can get lots of different combinations. Provides more control over the pictures displayed when mouse down, mouse up, mouse over and has focus. Provides "skin" support alongside of picture support. Did you ever wonder how WinAmp and other programs make the button "glow" when you move your mouse over them or press them? ButtonEx provides that through "skins" for each individual button state (up, over, down, focus, disabled).
Provides an improvement/replacement for VBs CommandButton. Allows graphics on the left of the button text, mouseover graphics, flat buttons, and setting backcolor and forecolor all of which can't be done or are hard to do with VBs CommandButton. A similar control exists on PSC called Gold Button and is by Night Wolf.
Let you lock your textbox for inputs and it will NOT be grey, but will be able to highlightning and scrolling. One line code is all you need!
The purpose of this extremely small code is to take a form within your application and keep it on top of all the forms within your application. (Modal Forms) Note however that when you use this code, it will make all other forms in your application inaccessible until that form is closed. This is great for times when you have a form like starting a new game, or a form that tells about your program that you want to stay on top and "stop" your program until it is closed.
The purpose of this code is to expand on what Ian Ippolito stated in an early post with the same code. I noticed that his same code did not state all the versions that can take advantage of this code. This code will center a form on the screen, not taking into consideration the taskbar. Yes, there are other ways of achieving this, api being one of them, but who wouldn't rather have a smaller, simpler code?
This is a complete drop in ActiveX control for the sole purpose of providing a simple way for you to scroll text "marquee" style. This control will allow you to scroll both vertical and horizontal, adjust the scroll rate, the number of times it repeats, load the text to scroll from a file, or build it dynamically. It will wordwrap your text if you want it to. You can align the scrolling text right, left, or center. It gives support for a "drop shadow" effect. You can specify the direction of the drop shadow either northwest, northeast, southeast, or southwest. You can choose your colors for the background, font and drop shadow. I've even included a property page with this control to make life even simpler for you. This control was developed in VB6, so you will need the VB6 runtimes in order to make it work properly. If you like this control, please rate it as I would really dig a copy of Ian's Help generator :-) This control is based on a previous example submited by "Steve" (I assume of VBTutor.com) located Here