Results for "Category: Custom Controls/ Forms/ Menus"
[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.
This sample app demonstrate how to use the designed button constructed under Flash and incorporated it with vb6 in a way that such button shall behave the way a vb6 normal button does (Click Event in this example). Please vote..thanks. In this way we shall be able to add more better look for the interface which we would think would only be applicable on the web browsers. by default, shockwave control add-in in vb application does not support click event.
This is a DLL for reporting. PSC is not that good on this subject so I've made it myself and share it here. Well, it's not ready yet, but I'm still working on it and as soon as it is ready, it will print even in Draft Mode(character printing)
I created this control because i was sick of putting a command button in a couple picture boxes to get the effect of the button being part of the combo box control. The button click event and most of the combo box properties and events can called from the single new control. It's pretty slick. I use the control to list differnt names and categories. When i need to add a name or category i use the click event from the command button to launch a new form which i can enter the new data. At the end of the click event i refresh the data in the combo box. Hope someone else can get some use out of it. I know it's simple... i looked for something like it, but found nothing... granted i didnt search too long since i knew i could create it in only a few minutes. I should have done it a while ago... LOL. Oh well... vote for me please. Thanks!
With this you can produce three types of alert boxes in the bottom right corner of the screen. You can make new MSN style, Old MSN style and a simple flat one. The MSN boxes are pretty good reproductions of the real thing. I should probably remake with API instead of timers etc. but this will do for now. Basically a little alert slides up, waits for five seconds and slides down again. Enjoy (and vote)!
This project will show how you can download any file (image, file, page etc) from the internet without the use of Winsock or API calls. All done with straight VB code (and not much of it either). Very straight forward (at least to me). The logic here can easily be added to ANY project without any modification.
UPDATE : 2009/11/06----------------------------- Finally, I've update this little control and now you can have it in your EXE, no need to compile as an ocx or ..., some bugs about speed of chart were fixed, Sorry for the delay and hope you enjoy, ----------------------------------------------- This is My Animated Chart Version 2, with 4 new themes: PersianGulf, Sky, Neon and Normal. Some changes in animating mode, now all bars grow simultaneously instead of one by one, some bugs fixed and now you can show bars descriptions and ... This is the first Animating Chart in PSC and I can't found any commercial instance (of course you can found some Flash Maker), Hope you like it, I', waiting for your feedbacks and if you like this please vote,
UPDATE 2009/12/13-------------------------------- Clear method bug fixed, ------------------------------------------------- UltraChart, the next generation of WINNER Animated Chart (as i promise before), There are lots of improvements: Multi Series added, Full OwnerDraw , Animation On/Off, Print, Save, Now using Tooltip to show data informations rather than label, Customize text rotation and ... Animated Chart is the first PSC Animation Chart, now all Bar Charts grow simoltaneously, Hope you like this, please vote and let me know your idea about UltraChart,