Results for "Category: Custom Controls/ Forms/ Menus"
gridClass is a read-only grid comprised of text box arrays. I use it to display information from an Access database and it was developed after expriencing total frustration with the grid provided with VB6. It could be modified to be updatable and I may find time at a future date to do that.
THE PROBLEM: VB allows regular forms to be instantiated from an ActiveX DLL...but does not allow MDI child forms to be instantiated from an ActiveX DLL! THE SOLUTION: MDIChildMaker! Now you can put your forms in a seperate ActiveX DLL and use them as MDI children forms in your main application's MDI form! NOTE: This is not a trivial example, but uses native VB subclassing techniques. This is one code solution EVERY VB programmer MUST have! Check out www.cyberbiz.com
To create an "Office-style menu" (or owner-draw menu) you must register that menu item with Windows as MF_OWNERDRAW and then process the WM_MEASUREITEM and WM_DRAWITEM messages sent to the menu's parent window. The attached project file simplifies this process by encapsulating all menu drawing operations in a class called "COwnMenu" and hiding the details of working with Windows in a code module entitled "OMenu_h." With this mini-system in place, all you have to do to get owner-drawn menus in your program is call SetSubclass on the menu's owner form and RegisterMenu to set a menu item as owner drawn. The provided example project contains complete documentation.
It's a single function, without API's, that loads an image and puts it in a destination PictureBox. If the source image is bigger that the destination PictureBox, then it will resized to fit in (mantaining the ratio). In other words, the image loaded will nicely fit the destination, but will not be deformed. If the source is smaller, then it will remain that size... This function is an upgrade (in speed, error trapping and results) of Jason Monroe original post. Thanks Janson.
This Code Show The Menu Hint In The Status Bar. Is a Control For You. Please DownLoad IT!!! I Change Some BUGs. The Source Code Is Here. No DLL. No OCX. Vote ME!!. FULL SOURCE CODE!!!!. . Muestra el item del menu sobre la Status Bar. Votenmen!!! Viva Argentina!!! Le cambie algunas cositas. Cuando se sale del menu se limpia el status bar.
Advanced Controls - SuperTree 1.0 NonStandard Tree based Data Browser, Customize your node look, and you can get really usefull non-standard hierarchical data browser.
Hi. This a control that act as a command button, option button, checkbox, frame, menu and more by setting just a couple of properties. Let me know what you think. Paul
**UPDATED 7-31** Now you can... ->Customize the toggle button ->Add a custom Icon ->Set the Titlebar Back Color ->Set the Titlebox BackColor **END UPDATE** A toolbox that is collapsable (see the screenshot) its pretty self explanatory, you can collapse/expand it programatically by calling the Collapse or Expand method. This conrol acts as a container too! Please vote for me if you like this control, I will update it as necessary. Please leave ANY comments that you have, and feel free to email me!
This is just like a standard progress bar except you can choose the color of the progressbar. You can specify and dynamically change the color of the progress bar at any time. Very easy to use, very small. NEW FEATURE*- Rounded Progress bar - give your progress bar a new look by making it rounded. To use feature, change the Shape property of the progressbar to 4. I tried to comment the best i can - but 1. I'm not a good commenter, and 2. The code is so simple its self-explanatory.
THE GREAT CHAMELEON BUTTON STRIKES BACK!!! THIS TIME WITH LOADS OF NEW FEATURES ADDED! IT NOW HAS 13 DIFFERENT BUTTON STYLES, SUPPORTS PICTURES, FONT EFFECTS AND MUCH MORE! SEVERAL BUGS HAVE BEEN CORRECTED AND A LOT OF FIXES WERE DONE TO THE CODE. ONCE YOU TRY IT, YOU WILL NEVER WANT ANYTHING ELSE THAN THIS! ADD STYLE TO YOUR APPLICATIONS, ADD VALUE TO THEM, BUILD MARVELOUS USER INTERFACES AND IMPRESS THE USERS OF YOUR PROGRAM. HAVE FUN!!! UPDATE: Some bugs/flaws fixed in ver 2.0.5 & 2.0.6 JUNE 08, 2003 >> A BRANCHED VERSION HAS BEEN POSTED TO FIX SOME CRITICAL BUGS, THIS IS STILL FOR NO COMMERCIAL USE. MORE INFO AT http://gonchuki.8m.com
[UPDATED] - Added three new Subroutines: LoadTEXT, SaveTEXT, and Clear. Also updated the sample application to show more of the functionality. Ability to Count Lines, Words, Characters, get the cursor position, Undo, ClearUndoBuffer, TopLine, BottomLine, UnSelect, LineLength, LineData, LineIndex, VisibleLines, IsDirty, ReadOnly (YES, it IS different from Locked), and others. It gives these abilities to make it easier to use these functions (some of which are found in the RichTextBox control) to a simple TextBox control. Read the README.txt contained in the ZIP (which is also included in the VB Project) to see how each property/function/subroutine is used. There is also a sample included.
The problem with standard TextBox is that it background isn't and can't be transparent, I've developed the transparent text with standard Label objects. You can't type in text in Label object at Runtime, but with help of PictureBox you can type characters and edit text in Label objects. All Label objects which you want to be transparent and editable you must put on one PictureBox, and PictureBox will then work with Label objects… You can use the transparent text with "Microsoft Forms 2.0 Object Library" - "FM20.DLL", but there is one problem: this ActiveX component is not recommended to use, and it'll work only on computers with Microsoft Office 98 or late installed.
Does what the title says, adds a big crosshair that follows your mouse in your whole application, dig it!
Credit for this code really must go to *vcv* who submitted this earlier and did a very good job on it. I simply added hooks to a status bar and fixed a SubScript error. The menu item and the status text may be set in the same sub to make it easy to keep in sync.
This is a more complete version of the code I uploaded a couple days ago... Has two forms.. Graphical and Non Graphical Both work together so if you start typing something in then switch modes it will copy the information over. I implemented this as a payment popup (this is just the credit card fields) I am not finished with the whole thing yet. The Mod10 is a lot smaller than any I have looked as of yet. It changes colors of the textboxes when invalid. Restricts input to digits only in the graphical version... non-graphical you could get some stuff through but the code was getting fat trying to stop all the errors. It also plays around with pictures, frames, extensively with textboxes. Also see "another money text field" I uploaded earlier today in which I still have to implement in this project. BTW Please vote or leave a comment (critisism(sp?) welcome)
The purpose of this control was to replace the standard VB command button with a button that was far more configurable and had many more options so that it would require less programming on the part of the developer to use nice looking buttons. This release corrects a problem with pushing the button several times very quickly and the button would only show the animation once per two quick clicks. Also fixed a bug in the Option Button implementation that would allow an option button to become "un-clicked" (value of false) without having another option button with a value of true. I've improved the modularity of the HSL color code and decided to use HSL blending for the new style borders and for the caption styles. This should be the last VB release of Gradient Button assuming there are no major bugs. The C++ version (v2.0.0) is coming along quite well, but there is still alot of work to be done. I still have to add an About box, OLE events and code, code tweaking, lots of documentation and lots of testing. It is still probably a few months away from full release.
We all know the progress bars used in Windows 2000 when u log on don't we? Well I simulated this and put it into an ocx file for ease of use. It is also alot nicer to look at. This is my first OCX file that i have ever created so it will be very messy, but don't be too harsh when judging.
Thank You all for voting this project that I have posted on PSC. I will lanch a new update in 3 months . In this I will include HyperLink property, stretch image property, and maybe the unsizable image insert in the RTB. Thank You all again. THIS CODE IS COMPLETLY NOT ON PSC..SEE SCREEN SHOT FOR INFO.>>>>PLEASE VOTE!!!!!!!!! I will make addition options like auto-url and html code edit with preview if you guys vote excellent.... There has been there are about 800 peoples who visted my source code... and only 11 voted...So please just take one minute to vote.. this.. so why not just waste 1 minute voting for me> Have you ever wonder how MS Word + Aim allowed the Highlight word function? Well this HL Rich Text Box has that function. It has a SelHColor Function. In addition, I also include a Transparency Function. You can add a picture so that you would have a background picture behind your RTB. PLEASE VOTE HERE IF YOU LIKE IT... EACH ONE OF YOUR VOTES REALLY HELP ME SO PLEASE PLEASE TAKE A MINUTE JUST TO VOTE; I WOULD REALLY APRRECIATE IT BECAUSE OF THE TIME I SPENT OF FINDING THIS CODE AND FOUND NOTHING SO I MADE MY OWN ....THX
Hi! So here I am again .. first of all let me tell you that this code is done by taking lot of help from various programming ideas that are available on the net .. by that I mean .. like the use of Image ComboList ... adding images to the ImageList at runtimes and stuff ... but anyway the idea behind his code is very much mine and till now I have not found anyone coming up with this idea of making font selector .. if there are codes with my idea then I beg pardon it is only coincidence and not my fault .... Well it is basically a font selector like you see in Microsoft Word or something where there is a preview of the fonts that you are selecting .. it is cool please download it to get a feel of what is going on ..... I have not made very detailed analysis of the code as it is very clearly Understood. I have used very long names for objects as I am feeling little down today and I don't know what to do .. so some crazy things like long variable and controls name .... Anyway I hope you guys like it and use it where you want it to and please vote for me if you like it ... Thanks .... 'Biswajyoti Das ([email protected])
Converts VB checkbox control values(checked/unchecked) into MS ACCESS value (0,-1) and vice versa. I came across this while I was doing my project. Seems like MS ACCESS doesn't support checkbox values yet. I couldn't find anything like it here in planet source code therefore I wrote this. I played around with MS A's boolean controls, and found out it returns values 0,-1.(not 0,1? )There for, I scribbled this up. Need to finish my project quick, hehe.Btw, if you guys have a better solution, or if there IS a solution, pls contact me, :P If you're using this code, pls credit me for my work, and vote for me !