Results for "Category: Custom Controls/ Forms/ Menus"
Make your own slider. Complete graphical slider control: Vertical/Horizontal orientation, ShowValueTip option, [Long] range... Sample project and some images included. __________________________________________________ Re-coded: 2005.05.29. OCX to private usercontrol.
A complete graphical button: Automatic 3D colors, all standard picture types supported with transparency ability, justify and alignment options, MouseIn & MouseOut events... __________________________________________________ Re-coded: 2005.05.29
A ListBox control with cool effects. Sample project demo.
This control joins ProgressBar and ScrollBar: 1) Choose back picture and 'fore' picture. 2) Select scroll orientation. 3) Set Min and Max values and 4) Choose caption format... Sample project included. __________________________________________________ Re-coded: 2005.05.29. OCX to private usercontrol.
Simple button control. (Re-coded: 2003.02.18). Zip 8Kb.
This is a custom EditBox that has all features of a textbox in addition to new and standard features like automatic undo, cut-copy-paste, replace and find strings, etc. The interface is specially worked out to be simple yet appealing, with a customizable margin colour, separator, etc. In the OCX project there are two controls one is a multiline textbox the other is LineEdit that is a single line box.
This shows how to Split MDI Forms. Actually there have been a lot of spliiter demos and controls but rearely some have dealt with MDI forms which this one goes in-depth on. There is DragBar highlighting, Title bar colour grading, and more - only uses a timer and a nice API call.
This is a complete TextBox in pure code without any RTF box or anything. It supports custom colour coding, and lots more - now even comment colouring. Also supports external draw events. The Demo is a Java IDE.
This is a label resembling LiteStep's labels. It stays on the desktop and shows system information such as memory usage, CPU usage, Time/Date/Uptime (with user-defined formatting), Active window and Active task, Multiline text, Computer name, Windows version, Processor type, etc. Full support for displaying as many images as you like within the label (e.g. icons). FULLY TRANSPARENT, if you like; or can be made to display a custom BackImage. Supports multiple profiles, so you can load more than one label with different info displayed on each. Shows CPU Usage as graphical progress bar as well. User-specified co-ordinates & size, image co-ordinates for each image, and co-ordinates for the CPU graph. (The included screenshot is within LiteStep, but SysLabel looks the same under a regular Windows shell as well).
Make cool custom buttons using only VB intrinsic controls. 13 types of buttons. Check out the screenshot.
A function to make CommandButtons flat. Easy. No API's, OCXes etc. Just pure VB.
Visual Basic will allow us to add control array to a Form at run time using the load statement. However with this code I will try to explain a way where you can dynamically add a control array to a Form at run time, and then catch the events generated by the added controls.
This project demonstrates you how to build an alert box like MSN Messenger has. It is displayed in the bottom-right corner of your screen. When an alert is shown while another one is still visible, it is placed on top of the existing box. By moving the mousecursor over the text it appears as a hyperlink. And to get a little bit of the Microsoft feeling I've added a simple gradient found elsewhere on PSC.
'Explodes/Implodes' form. (Look at screenshot to see what i mean) Looking for a nice touch when closing you'r forms? Then this might be something for you. Creates a nice effect, and can easily be modified to suit special needs. It also shows how to stop user from closing form with 'X' in one small line.
Use a standard picturebox as progress bar. This progressbar : 1. Don't use much code. 2. Change every aspect of appeareance in a simple way. 3. Fast. 4. Easy to use, create a picbox and place the call for the single sub in a loop. 5. Don't Flicker... New in this version is : Select % display alignment, optional CustomString to add before % display (looks better when doing multi tasks).. 100% Compatible with previous versions. - Now.. go vote! .. (Screenshot comming soon)
Style Sheet your apps OK, OK it's not exactly CSS. However, if you want to have orange frames and purple buttons at design time so you can see where those anoying borderless frames or flat picture boxes are, and then set it all to look pretty again at run time, without spending your life setting "back color" values and "font size" properties then this is a simple piece of code that might help.
This simple program shows how you can prevent anyone from using an illegal registration code that was generated AFTER your shareware program has been released. The user must have an active Internet connection when he starts your program. However, you can put checks in other parts of your program also. You must have web space to place a text file of the illegal names/codes. Sample program is included.
This is a standard system tray icon control with a "rare" feature in that it can detect when it should reload itself when explorer restarts. Have you ever noticed that when explorer.exe crashes and reloads, that most of the system tray icons don't reload? Well, now you can reload your icon automatically. Usefull, but I can't take full credit for the code. I got some of the code from a web site (the address is in the module header in the code). Any votes/suggestions welcome of course :-)
This is basically a smooth-scrolling progress bar that is able to take a caption. I know there are loads of these already on the site, but the code is well commented, and wth anyway :)
A way to EASILY Distribute you App over the internet in a single EXE. This program makes it easy to create BAS modules with embedded files such as: COMDLG32.OCX, TABCTL32.OCX, MSCOMCTL.OCX This means that your SPLASH SCREEN can automatically install components that are used by your other forms if DIR(Whatever)="". In a nutshell, this means that you can distribute your entire application as an EXE and if executed from a ZIP file over the Internet, you do not need a separate SETUP program at all! There is already code on PSC to handle the REGISTRATION of OCX files... so, this means that nobody needs to explain how to install an application to a user. Just Zip the final EXE and upload to your favourite download URL. The user just downloads the ZIP, runs it and executes your program on-the-fly with self-installing components. BTW, I have tested it with the above OCX's and it works GREAT!