Results for "Category: Custom Controls/ Forms/ Menus"
Sub Classes the standard ComboBox and makes it look like the Windows XP one
Sort of Emulates the Windows XP Statusbar
Lots of people including me, have or still are, creating custom controls that emulate the look and feel of Windows XP. To some this may seem as a waste of time because a Manifest will do all the hard work for you and repaint the boring normal controls in the new XP look. However so many client machines don't have XP yet and if someone has made these XP style of controls for you then why not use them. Also if you want to use a Progress Bar, Status Bar or Tab Strip control you still have to carry around that Comctrl32.ocx which almost every Vb`er hates. If its a Tab Strip control you are looking for, then I hope this one is good enough for you to freely use in any of your projects. The control is far from being perfect and future enhancements will be made when I have the time. Enjoy
A Tab strip control emulating the look of Win XP Looks the same as version 1 but more features.
A graphical form
This control uses an invisible mask along with a mask type of text, numeric, or date. A user can only type in an entry that fits the mask (see html page included). There is plenty of code in here that could be ripped out and placed in other controls.
Enhanced combobox with various levels of Auto complete (including Access style), Auto drop down, settable dropdown width, and an easier coding interface.
[v 1.01] This is a control that provide selection one of more options. It's builded from standard option button control but instead of true/false it returns an index of selected option. It's usefull when you need many options controls.
This usercontrol is a very interactive replacement for old VB shape control. Interactive just in IDE, the end user of an app gets the nice design only. But the programmer maybe gets the most interactive VB usercontrol ever ;-) ! Adjust gradient parameters, postions, designs directly on the screen, no need to use the property box for every single value. Thx to Carles P.V. we have fantastic gradients and thx to Lavolpe we have MANY fancy forms for modern screen designs. Anti-aliased circles, endless combinations of colors with shapes are inviting to play arround with. All put together in a selfcontained, ownerdrawn and documented usercontrol (without any subclassing or timers) by Light Templer. Enjoy ;-) _________ UPDATE 1: (1) Fixed the error raised when drop a new control error onto form with 'Break on all Errors' switch activated. (2) Added a VB5 "version" - Its totally the same control just stripped out the usercontrol property VB5 don't have (ClipBehavior). Sorry for just a simple demo form here. _________ UPDATE 2: Rebuild the demo form and added a 2nd (more serious) demo as requested. _________ UPDATE 3: Fixed the problem coming from german VB version (storage format of single var properties in .frm demo file) with a universal small function to get the value in all cases. _________ UPDATE 4: Finally got this strange error of don't working on some systems! A BIG sorry! Now it should be fine on every VB / SP version.
=> VeryWellsStatusBarXP - Sorry folks for my upload mistake! For new release 1.2 (6/10/2003) with fine new feature plz goto ___ http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=45877&lngWId=1 ____ All votes are welcome - thx !
VeryWellsStatusBarXP Update to V. 1.2b - More than a fine usercontrol statusbar in Windows XP, Office XP or much more looks! Very lot of advanced features, also useable as a modern TOOLBAR! Have a look to the screenshot with nine examples and the panels propertypage. Include things like gradients and frames to panels, integration of all kind of controls and many more! We have autosize, spring to contents and alignment for text, alignment for panel pictures, more events, no more need for timer controls ... Sorry for the bugs I did'nt find yet. Tell me and I will fix it soon. If you like my uc come back regulary for updates! ____ New to V.1.2: * 'Bold'-Fontstyle for panels captions and * background pictures for the statusbar! (Now e can do things like skinning ... ). Some bug-fixes, finetuning and removing of no more used code (less is more ;) ) [UPDATE 1.2b: Bug fixes & changes to Pulic defs] ____ UPDATE 1.2c: Fix with ToolTipProperty _____ Regards Light Templer ___=== BTW: VOTES are welcome and motivating ;) - Thanx! === ____
]]] An improved AutoResize Usercontrol [[[ Put this small selfcontained usercontrol to your form, add three chars to the tag property of every control to handle. Ready. Thats all! Based on the very good submission of Hamed Oveisi (look/vote at PSC CodeId=49740) I tried to improve/change some things ('Refactoring' is the trendy word for ;) ): * More possibilities in resizing (look at the 3D lines (frames) ). * No more flickering when forms gets too small. * No more call in the Form_Resize event neccessary. (In fact you didn't need ANY code.) (Ups! Just check out Hamed's last update. He did the same ;) ) * The tag value still can be used for "standard" purposes. (But you will need a (very) litte change in your code, sorry ;( ) * Its faster. * Handling is easier/more straight forward. (Only two simple digits in tag value to enter, not four) * Prepared for handling 'Lines', too. (Not done by me - I don't use lines ;) ) * A var naming convention is used, so code is easier to read/modify. * Demo and description extended. * ... All -(C) Copyleft on 11/10/2003 - Light Templer (LiTe)
This is a routine that add a table to the current selection in a RichTextBox. I didn't find how can I do this on the web, so I made it by looking on the rtf Specification. I expect that this would be helpfull for those who are using RTB. If you find how to fix the problems i found please send me your work. (Sorry for my english ;) )
Candy Button - is a nice button that can look like XP button, XP Toolbar button, Cristal (OSX) and IceBlock (Based on Cristal) all buttons can have Checked/Unchecked state. Use it if you like, I have seen some buttons here that are forbidden for commercial use and I think it's absurd!! This is a small gift to this community. Features *Small api usage (only 4 apis) *4 different styles Some votes wouldn't be bad! ;) -------------------------------------------------- Updates: Now is Subclassed!!!!(No Timer) *Code was sorted and reduced *Drawing now is faster!!! *Font propertys (thank's Kenneth Foster!) *No more green background, no flickering problem or Click event outside the button Thank's to all for your opinions, suggestions and solutions!!!(and of course for the votes!) (now around 10 apis are used). Tell me what you think, it was tested only for xp. ------------------------------------------ *Some bugs in design mode fixed (Special thank's to Heriberto and Ken Foster) *Subclass method now sorted (Thank's to Paul Caton for his advise)*Introduced a new button style: Plastic. I hope you like it ;) -------------------------------------------------- News: Some bugs were fixed, speed was really improved (and I mean a lot!), and new properties were added (thanks to Steppenwolfe) Enjoy it! And don't forget to leave a feedback ;) -------------------------------------------------- Small bugs fixed and speed was improved again, know it should be fast for almost any purpose. Check it out!!! :o 1 Last revision for those who could not load the style.
WORKS ONLY ON WINDOWS 2000/XP!!! This is my first submission on PSC and I know there is a lot of fade effects here, and transparent samples too. But I've merged the functions in a module, with two simples subs called in form_load and form_queryUnload. Also check constants in module to set transparent degree and fade speed. you can use this in your apps to add cool look.
A datepicker. See screenshot. Supports themes, different date formats, hand cursor, short day names, non month days and first day of week assignment. The main advantage of this code is that it is a single usercontrol, not an OCX. Update: Changed the test to see if themes were enabled for 2000 users.
The screenshot should give you a good idea of what this control does. It slows down your code. It's like a DoEvents you can manage. Great for background tasks. I had an app that needed to do database maintenance to a very large number of records. Firing the maintence sub caused the cpu to run at 100% for several minutes during which time the user could not do anything as their system all but locked up. Hence this handbrake. Using it you can run your process in the background without causing the user any inconvenience. If you set CPULimit to 0 it will introduce a one second wait into each itteration of your loop. This will create a burst effect where your routine does a process, then waits for 1 second, then does another burst etc. Alternativly you can set CPULimit to the maximum level at which your app can process to. So you could create a situation such as... do the work, but dont exceed 10% of the cpu useage. If the user is doing something then the control will just hold your app suspended until CPU useage falls, or if the user isnt using the CPU then your app can grab it and process in the background. It is important to structure your loop properly. See sample for how to use.
A button that changes its display based upon the theme capabilities of the computer it is run on. See screenshot to see what I mean. If themes are detected buttons can: Include Icons. Be shown in Toolbar or Button style. Offset the Caption and Picture so they can be drawn exactly where you want. Draws icon disabled when button is disabled. If no themes are detected you get a normal graphical button. The button: Changes display with theme change. Contains No Timer. Is in a single usercontrol. You would use this button to provide backward comptability in your display whilst presenting modern buttons with icon support. Suggestions, Votes and Feedback appreciated. Update: Fixed bug on midi forms and added a deleteobject for the region.
This project contains a form with command button to make the form transparent, round or oval.
This is an updated version of my Previous submission about Flash buttons in vb6 forms. this time i have provided a much more better capability, buttons can now play a wav file on the Mouse-Over triggered event. be sure you have our speaker on to hear the accompanying wav. Please Vote..thank you.