Advertisement

Results for "Category: Custom Controls/ Forms/ Menus"

4_2005-2006 #171999
API_ProgressBar (20090506)

This API_ProgressBar control emulates most of the properties of Microsoft's ogirinal ProgressBar control. I wrote this control because I have an obsession with not including OCX files in my applications... because I prefer to create single-file programs without dependencies. Included is support for visual styles, if used, and properties specific to XP and Vista, such as Marquee and State. See included readme file for further details.

4_2005-2006 #172042
FAEL

FAEL is a template to buil a sales manager and inventary system

4_2005-2006 #172061
Urdu Programming Controls (Simple)

Pre-Requirements : Pak Urdu Installer Or East Asian Language Support (XP) http://www.mbilalm.com/download/ Introducing first time on the whole world of internet, there are all Urdu Programming Controls in VB6. You will not be able to find anywhere else. When I've started to fight for Urdu Language's Programming, i realized that there are no Urdu Programming Controls (UPC) available anywhere, that programmer can use for there Urdu Language programming. So, it is a effort by me to solve this problem. These are only the 'Simple' controls to show only that how these controls can be made and used in VB6 applications. I hope, all beginners & professionals will like it. I 'll feel glade to get feedback from all buddies. Please give me your feedback on my email address ([email protected]) about this code, Also must rate & vote for this code on PlanetSourceCode. Thank You. Join Urdu Programming at Facebook http://www.facebook.com/pages/Urdu-Programming-VB6/263338567072301

4_2005-2006 #172098
xFrame Usercontrol v2

This an update to the award winning code of Goober MPC wich you can find on http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=68342&lngWId=1. I amnot trying to take credit for his creation. Just added some extra functionality that is very usefull for me. I got tired of trying to figure out ways how to fit controlls in my forms in such a way you can expand of collapse the controll, so you could have more space for what you are doing at the moment and you can push other controlls witch are taking a lot of screenspace aside. I also figured that with resizing and collapsing controlls on the fly it would handy if you don't need to write code to resize inner controlls any time, so I made a small function for it. I have been getting a lot of great code and ideas from this website for years so I tought it would be fair to add something myself. =========================================== UPDATE TO PREVIOUS VERSION IS OUT 11-06-2010 =========================================== Fixed a view bugs and added some interesting new functionality - The frames can collapse jointly from left to right, from right to left, from top to down or from down to up, depending on how you set it - The borderstyle in the frames can be set to FLAT or SUNKEN or whatever FOR ALL CONTROLLS contained in the frame with one line of code. JUST DRAG IT ON yOUR FORM, EDIT SOME SETTINGS AND YOU ARE READY TO ROLL, so you can concentrate on what your app should do and not on those silly lines regarding resizing and organizing controlls on your form. The only interesting feature I would like to add is the ability to load forms in the frame, because then you could easily make dockable apps that don't act unpredictable and come with shiploads of code.

4_2005-2006 #172106
dsThumbnail View

This is the fastest thumbnail view control with mouse wheel support ever seen before, even in PSC please vote me if you like this code.

4_2005-2006 #172113
ucTabStrip

2º UPDATE: Fixed crash when more than 30 controls added. Add control array sopourt UPDATED: Fixed a Focus bug UserControl to replace SSTabDialog OCX. Works like te SSTab, you can add controls wich can only be seen in the active tab. Includes a PropertyPage to edit Tabs and change the active Tab. Please do not insert controls without the hWnd property or the control will fail

4_2005-2006 #172120
Picasa ListBox - Google Picasa ListBox Style

Picasa ListBox. Custom ListBox like Google Picasa ListBox Control. It's support almost all google listbox function. You can custom each header, item. It's support separator style for item too :D. See the screenshots. Hope you like it :D Please vote :D

4_2005-2006 #172149
Create custom snap areas for your VB forms (Updated)

Snapping a form to the edge of the screen is easy enough in VB... that is, if you don't mind subclassing. If you'd rather not have to worry about subclassing and the pitfalls involved then these solutions may work for you. The implementation issue with VB is that it provides no mechanism for determining when you've clicked on the caption bar. The two examples presented in this article show how you can overcome this limitation in a couple of ways without resorting to subclassing. The first example, "Snap with Caption using Timer", shows how you can use a standard VB Timer control to determine when the mouse is requesting a form to move. The form's Moveable property is set to False at design-time and all movements are handled by our code. This allows us to take full control over positioning and snapping behavior. The second example, "Custom Snap Areas", demonstrates how snapping can be done without a Timer, so long as you don't mind having a captionless form. This example also demonstrates setting up custom snap areas independent of the screen size. Thanks for reading and I hope you find my code useful.

5_2007-2008 #172174
Center_Form

To center all of your forms nicely on the screen, use this as the first line in the Form_Load event--resolution independent. 'note:call this function like this: Center_Form Me

5_2007-2008 #172212
MyTicker Control

When you need to display the history of a changing value, there is a bit of work that must be done. This UserControl does that work for you in all sorts of colors and styles. Don't forget to vote!

5_2007-2008 #172218
StopTextBoxFromBeeping

Show how to make a text box not beep but do something else when I hit the Enter key. This code example makes nothing happen, for an extended period of time:

5_2007-2008 #172224
Dragging a form by a control

This code is reusable and small enough to paste into whatever you're doing and instantly have a form that has no need for a title bar.

5_2007-2008 #172226
Cool screen wipes

You can achieve some cool form wipes with judicious use of the Move method. For example, to draw a curtain from right to left use this routine. It is also possible to wipe a form from bottom to top, and from both sides to the middle, using similar routines

5_2007-2008 #172228
Create a form bigger than the screen!

The primary focus here is to allow you to display forms that are larger than the screen can show. Need an 8½" x 11" Form? NO Problem!The size used in this example is 8½" x 11", but it could just as easily be landscape, envelope, or any needed size.

5_2007-2008 #172229
Create multi-Colored forms without using the API

Although using the API is a nice way to create multi-colored forms, there might be a reason why you would wish to create one without using the API.

5_2007-2008 #172240
control subclassing switchboard

The Switchboard:A method for handling subclassing in ActiveX controls f you develop ActiveX controls and intend to subclass or hook a window, you'll very quickly discover a problem when you attempt to site multiple instances of your control. The subclassing, which worked fine with a single instance of your control, now no longer works and is, in fact, most likely is causing a GPF. Why is this happening? The AddressOf operator requires you to place the callback routine in a module. This module is shared between all instances of your control and the variables and subroutines that the module provide are not unique to each instance. The easiest way to visualize the problem is to imagine a shared phoneline (or a partyline as we hicks call it) where multiple parties are trying to dial a number, talk, and hangup, all at the same time. What's needed is an operator, a routine that controls the dialing (hooking), the talking (the callback routine), and who routes information to the instance of the control that requested it. The Switchboard subroutine (see below) and it's supporting code provides a method for subclassing from multiple instances of your ActiveX control. It is not memory intensive, nor is it slow. It's biggest weakness is that it is hardcoded to intercept particular messages (in this case, WM_SIZE, to trap resize events) and will require some minor modification on your part to use.

5_2007-2008 #172244
Lost Focus / Got Focus Event--text box validation

These events are usually ignored or inconsistent amongst programs. For the users benefit, highlighting the current textbox, or tab control will aid in their navigation of your forms. But how to keep all these events consistent? Here is the answer. (Well our answer anyhow... until full-inheritance in VB 5.0)

5_2007-2008 #172262
Getting a Reference to a VB 5.0 UserControl

Visual Basic 5.0 allows you to use UserControls to create ActiveX controls in your projects. The following code snippet does two things: It gets a reference to the form in which a UserControl is placed, and it gets a reference to that control on the form. by David Mendlen

5_2007-2008 #172263
Full example of Drag and Drop within a application

Suppose you have a listbox with some elements and want to drag&drop a selected one into a textbox. http://137.56.41.168:2080/VisualBasicSource/vbdraganddrop.txt

5_2007-2008 #172264
Clear all textboxes on a form at run-time

handy code for clearing all text box controls at run-time so you don't have to bother doing it at design time. http://137.56.41.168:2080/VisualBasicSource/vbworkingwithtextbox.txt

Languages
Top Categories
Global Discovery