Results for "Category: Custom Controls/ Forms/ Menus"
Hotspots part1. (Basic Hotspots) This program will show new users of Visual Basic how to create hotspots and custom buttons using the image control. See how variable arrays can be used to switch graphics on a single image control. See how you can use control arrays with different graphics. Use a shape control to identify the screen location for your hotspots. You will see how to make custom buttons using graphics and the image control. And finally, you will see the underlying thought process on how an "Interactive Multimedia" program is built in VB. As always, your comments and votes keep these examples coming. Please take a minute to tell me what you think.
Welcome to this new activex control. NetscapeDialogs provides the new Messagebox and buttons of the Netscape 6 Browser Technology. FULL SOURCE CODE, BUT ALPHA PREVIEW !!!! Including the graphics and the new msgbox-icons ! Copyright (c) 2000 Netscape , http://www.netscape.com ActiveX Control, Copyright (c) 2000 Andreas Schwarz, http://www.futureprojects.de
Do you want an open dialog in your program ? Then you dont want to add an OCX to it. This code includes one form and one module. You dont have to include any OCX's to your program with this code.
This code views the Browse For Folder window.
UPDATED VERSION !!! Graphic Filters: Updated Version , original by Samantha E. . Now faster and easier. Including how to use a statusbar with a progressbar. easy for understanding. Download and Vote for Samantha E. and me ! bye !
Simplified NT Like Progress bars. No OCX overhead! Any colors you like can be used. I also wrote support for each bar in the Dual meter. I put them in my templates directory. Thanks to Jerrame Hertz for bits of code and concept!
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.
I've spent hours making this the most flexible 8-sided control in PSC today. You can now change the colour of the borders, have different border styles, use bitmaps for the backgrounds of the control and align the text to the left, right or middle. You can also align icons in the bsOctButton! Support for this control, as I have spent a while on it, would be greatly appreciated. A vote would be too.
FINALLY A FUNCTION THAT EVERONE CAN USE - Microsoft should have thought of this. This is a DATE/TIME calendar dialog that is created using only native Windows API. (See ScreenShot) NO FORM NEEDED! It is used / called like any normal function. EXAMPLE: MyText = ShowDate() This will show the Date/Time Calendar and allow the user to select a date/time from a calendar / clock. You can also supply a 'default' date for the calendar to start at. This is my first attempt at hooking with VB and researched all of the requirements online at the MSDN libraries. Vote if you are so inclined. I would appreciate any comments or suggestions. *AMPM bug fixed *sorry* ENJOY
Very basic example of creating a user control. This one has actually turned out to be useful in an application I wrote. I kept the features to a minimum in this one so that it would be easier to see how it works.
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
I've seen a lot of progress bar code on this site, but I haven't seen any that show you how to set up the caption so it will change color as the bar moves over it. This is a very basic example of how to do that. The trick is setting the DrawMode to "Not Xor Pen"; you can also use "Merge Pen Not". This example is only to get you started. You'll have to play around with the BackColor, ForeColor and RGB color used for the bar to get the color effect you want. Have fun.
a horizontal scrollbar on which you can set textcolor, startcolor and endcolor You have the ability to show the percentage. You can choose if the endcolor is relative to the width, or absolute
This is very advanced type of container control based on virtual viewport. You are able to put other controls on it but also outside of visible area, enable scrollbars (created at runtime) and use them to navigate viewport. It has a very fast angle-defined two-color gradient feateure. Includes mouse tracking, so you can (optionaly) drag the content of the control by holding LMB. This code teaches you a lot of window API for ex: using windows api's on usercontrol, dynamic scrollbar creation and manipulation, drawing on usercontrols. Vote if you find it usefull/educative.
Scroll Bar in your Image Box
This ActiveX control uses BitBlt to draw a reel, or reels in a PictureBox and then spin/nudge them. It is quite quick (no Timers !!). Properties include: Reels, PicsPerReel, SpinDirection, NaturalFinish, EnableHold, Etc. It has useful subs/functions like Spin, Nudge, IsHeld, ReelPos, StopSpinning, Etc. Also includes OnReelStart, OnReelStop, OnEachFullCycle, and OnReelClick events. As it uses BitBlt I've included a handy Masker/Spriter program but it's not mine !! Please comment, feedback is much appreciated, but go easy on me - it's my first control!! Full source and an example project included. Enjoy! (Oh yeah - full instructions if you have problems figuring anything out in the ReadMe.doc)
a Liquid Character Display with the ability to display a picture too. check out picture. BIG thanx to Omar Al Zabir for his HIve class and to Manuel Augusto Santos for his Fast Graphics Filters (partly used). ANY feedback is welcome.
RichLabel: (formerly ColorLabel) this is to the normal label, what RichTextBox is to the TextBox! check out the screenshot to see what i mean, and don't forget to visit my webpage for quality codes: geocities.com/mdsy_2000
A very Impressive Menu
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!!