Results for "Category: Custom Controls/ Forms/ Menus"
It is a neat way to edit the "display only" MSFlexgrid without locking the user into the TextBox and still permitting "multiple cell entries". Slightly revised and some dead code and typos elimination. Posted as a .vbp & .frm file. Unzip, then load the .vbp file. Added a couple of functions.(9-14-99) (9-23-99) MAJOR ADDITIONS: - (1)In-Cell Cursor control,(2) ADD, DEL, INS, EXTRACT Columns or Rows, (3)"" recovers from accidental OVERTYPE. - Try finding that in MSDN! Please send comments as to useability! 1-4-2001 Backspace annoyance fixed!
This code unloads all the forms of the program returning the resources back to the computer
Being optimistic, I have made a code that will resize an image, allowing the user to save the image as a thumbnail. Here's hoping I've solved problems. Even if it doesn't work for you, it should give you a small idea of how it's done.
Ever wanted to create a form with a shape defined by a picture? If so, this is what you have been looking for! With this simple example, you will be able to use any standard image to define the shape of a form. Along with the example, there is an ReadMe HTML file that explains how to create your own Image Shaped Forms! This is a new, improved version of my previous upload, with come corrections for WinNT!
Do you wan't to make your controls really flat, like the ones in Office Toolbars (TextBoxes, CommandButtons, ComboBoxes, etc.)? Then this is what you need! Please, do Vote! By voting, you'll make the programmers efforts well spent!
This program shows many of the easiest, most common functions of the TEXTBOX. This is ideal for beginers. Very easy.
Gets how many times your form was loaded
Makes Your Form Have A Bubble Entrance!!!
Puts Your form on top.
Have you ever seen a picture that looks like a picture of something, but when you came up close you saw it was really made up of a lot of different pictures? This example shows you how to create a picture like that. It takes a picture of Drew Carey and creates a big picture of that picture out of little pictures of that same picture. It's kind of neat.
This is an example that shows how to create your own kind of listbox control. This listbox does most of the stuff the normal vb listbox does, except it also lets you use a picture for the background and lets you add pictures next to items. The listbox is also done in a different style.
This Code clears all textboxes in a form.This code is useful if u use so much textbox contols in a form and have to clear all of them when the user selects (New Record) selection.
Put a animated gif in a form.
If any of you saw my submission awhile ago that converted RTF to HTML. This has the original code from that post, but also has a function that converts HTML to RTF.
This dynamically creates menus on your form with API. Then subclasses it to see if you clicked it. It also demonstrates how to create a sub-submenu. This example was requested by a couple of people, so I made it. Enjoy =)
Make your form shape like the items placed on it.I saw a code posted a view days ago, this code made the form shape like SHAPE-Controls painted on it. But this OCX not even recognizes Shapes. It also recognizes Buttons, Check-Boxes,..... if you want it to do.
This code allows you to have an autocomplete function on any text boxes by creating an instance of the class module below and setting a text control on a form to is CompleteTextbox property. Ideal for those situations when you have multiple autocompletes. (Visual Basic 6 Only - Can easily be modified for 5.0 users)
This is used to get the MX records of a host. This is a usercontrol, with a demo project. It has a ton of good code. Including how to get the DNS of your local machine in code in every possible way (there are many). So the control can find the dns itself. This code has code from Jason Martin (http://www.planetsourcecode.com/xq/ASP/txtCodeId.11006/lngWId.1/qx/vb/scripts/ShowCode.htm)
ADDED: AutoHide features. Control can be downloaded/viewed from: http://www.planetsourcecode.com/xq/ASP/txtCodeId.24861/lngWId.1/qx/vb/scripts/ShowCode.htm
*UPDATE 1.6* Added the AutoHide features that people have been requesting. The control now has 4 properties that are for the AutoHide feature: 1. AutoHide, Boolean This tells the bar to hide when the mouse is no longer over it. 2. AutoHideWait, Integer This tells the bar how long to wait before hiding (in case you accidentally move the mouse off of it, it wont immediately hide) It is in Milliseconds so 1000 = 1 second. 3. AutoHideAnimate, Boolean This tells the bar to "slide" off screen instead of just disappearing. 4. AutoHideAnimateFrames, Integer This is the # of frames to split the "Slide" effect into (more frames is slower, but smoother) I recommend 50 - 100 frames. From my testing it seems to be the best. *UPDATE 1.5* Fixed the icon drawing problems when comipled on windows 2000. Re-wrote a lot of code to optimize for speed, and to make the code easier to read/understand. Added a lot more and better comments. *UPDATE 1.4* Fixed the drawing on windows 2000/nt/95. Fixed the bar to work when used with a compiled exe. Fixed some drawing problems with the coolbar style. *UPDATE 1.3* Fixed one more windows 2000 bug. still having the compiled issue on win2k. Added a new style (now you can select the style property), Coolbar. *UPDATE 1.2* fixed the win2k bug. Now works perfectly in windows 2000. ADDED: Color settings, for every button state, and for the bar itself. Fixed many bugs (none left that I know of) Added the menu. Now when you right click on a button on the task bar, it shows the system menu from the form that the button belongs to. This ia fully working Taskbar for an MDI form. Works just like the windows task bar. It was originally written by Maxx Zephyr Technology and uploaded to www.freevbcode.com. That version had problems, and also was not a stand alone control, it had to be included in your project because it was dependant on the Forms collection. I went through the code, cleaned it up, removed the forms collection (used the api to replace it) and made the user control into a full stand alone ocx, that you can simply drop on an MDI form.