Results for "Category: Custom Controls/ Forms/ Menus"
A reporting control to ease printing of reports. The control will also enabled preview of reports, save to file and printing to the printer. With this control, user have control on the printing format (code level) as to using the a third party ReportWriter
This is an example on how to create borderless, resizable and skinned forms. It would be nice with some comments(and votes to;P)
Update: ClearUndoBuffer called when opening a document and also when creating a new document. This will prevent performing an undo event or redo event after creating a new document. Also added undo and redo (CTRL+Z and CTRL+Y) to the removehotkeys function so it won't double undo or double redo. Also noticed in replaceall I had left a debug.print which was the biggest reason for it's incredibly slow speed. Removed that. This is a wrapper for Scintilla. For those of you who don't know it's a source code highlighting component wrapped in a DLL. It is written in C++ and regularly updated. The main portion of this code is a class file which provides control like properties and functions. It also has a Find, Replace and Goto form, and several modules. Thanks to Steve McMahon from VbAccelerator who helped me on several things when writing this. Also thanks to the author of ScintillaVB which I did get some pieces of code from and plenty of ideas. And most of all thanks to the authors of Scintilla. This code is not yet complete and honestly probably never will be due to how often scintilla is updated, but it's got a good ammount of support for Scintilla built in. I will post updates in features and bug fixes as they are done. Please if you find a bug or wish to see something of scintilla added which is not already available post it on the forums at http://www.ceditmx.com. Please leave comments an d suggestions :)
Update 4 September 06 ---------------------------------------------------------------------- - Added CodePage support as a property. Default is 0 which has no support for unicode. UTF-8 adds some basic unicode support. The support is largely based on the font used. The default font used is courier new which does support a few character sets. - Find includes multiline or single line find. - Bug fix to the ucTreeView from QuitriN to support extended languages - Few minor bug fixes. ---------------------------------------------------------------------- This is a large update to the Scintilla VB ActiveX control. Using this control gives you fairly easy access to the Scintilla library available at http://www.scintilla.org for providing excellent source code highlighting support, including but not limited to code folding, code tips, autocomplete, highlighting, and more. This release offers enhanced codetip support, a faster routine for marking all, more options built into the options dialog, a lot of new properties, a more stable interface thanks to Paul Caton's newest subclassing code, and much more. Several demo's are available in the demo's folder to demonstrate some of it's built in features. I'd like to thank the following people: Stu Collier (Wrote the new code tip routines, Paul Caton (Wrote the new subclassing code), Steve McMahon - http://www.vbaccelerator.com (Helped me overcome a few problems), Carls P.V. (Self contained treeview which I used in the options dialog), Tom De Lange (Wrote the Ariel Color Box also used in the options dialog), and Nick Gisburne (Wrote an excellent small tab control which I used in the options dialog). I'd also like to thank the PSC community as a whole because I got a lot of idea's on here. Please if you have any comments including negative or positive share them. I'd like to continue developing this and enhancing it and all the feedback I can get will be greatly appreciated. If you find a bug please feel free to post it here or on the forums at my site. Thank you.
Update: Thanks to neal who added the support for the maximize like button which makes the docked window maximize along with titlebar appearing on the side on top/bottom windows. TabDock is designed to provide Docking support similiar to that seen in Visual Basic itself, VC++, and a number of other programs available on the market today. It was originally written by Marclei V Silva and though an excellent control it was somewhat on the buggy side and was missing a number of features. This version has many of the desired features and all the known bugs have been worked out of it. It also directly incorperates the ssubtmr.dll from vbaccelerator so it is no longer a seperate requirement. New titlebar drawing methods are offered as well to give you options on how titlebars are drawn, and bottom/top docking is done side by side instead of on top of eachother. Also a persistant option is included which allows the tabdock control to automaticly load it's saved state up for you. It saves it even if the persistant state is off but will only read it and use it if the persistant state is on. It uses the registry. Comments are welcome, and appreciated. You may modify and repost this code. The original author gave myself and Neal permission and the same permission is extended from us to you. This code is fairly advanced, and uses a lot of subclassing to achieve it's effect. Please note it is not recomended you close the IDE while running this through the IDE, it will likely crash if you do. Anyway enjoy :)
This is an FTP OCX control. What it does is provide easy to use FTP access to applications. Applications can choose weather to download the file to a location using this control or to strictly store it in a string and make it accessible to the application. This way you could use it to say download a text file from an FTP site in your text editor. I know this control will work in vb6, and I'm almost positive it will also work in VB 4 and 5 because it just uses API to achieve it's goal. Leave comments and suggestions. Thanks :)
The movie Scroller component is something I did to use in my about box for a program I'm working on. But I figured I might as well make it public so anyone else who wishes to can use it. The movie scroller component is better than the one's I saw available though I suppose there may be ones I missed which do beat it out. Here's some of the things it can do that most can't: - It uses double buffering so no flickering. - It utilizes a simple per line script that lets you define how each line of text looks. This allows you to set font, font style, and font color. - It allows you to display a shadow and control the offset and color of the shadow.
An alternate to using Sliders, Scrollbars and UpDown controls. Not just an enhanced version of an existing type of control, but a new type of control altogether. Scrolls values up and down with the use of Visual thumb wheel, includes the ability to "Spin Over" to Minimum value when Maximum value has been attained and visa-versa.
Three self-drawn bevelled controls, no bitmaps used to create the full 3D effect. BUTTON control usable as command, option or check button. NUMERIC DISPLAY control with built-in interchangeable Base display, Display format, Angle Units and others, suitable for use as a calculator display. WHEEL control, this is a vast update of an ealier submission, may be used in place of scrollers, sliders, up-down control and progress-bar. This a beta version only, Property Pages have not yet been constructed and documentation needs to be expanded. Whether you like, dislike or hate this, please VOTE and reply with CONSTRUCTIVE comments.
Three self-drawn bevelled controls, no bitmaps used to create the full 3D effect. BUTTON control usable as command, option or check button. NUMERIC DISPLAY control with built-in interchangeable Base display, Display format, Angle Units and others, suitable for use as a calculator display. WHEEL control, this is a vast update of an ealier submission, may be used in place of scrollers, sliders, up-down control and progress-bar. This a beta version only, Property Pages have not yet been constructed and documentation needs to be expanded. Whether you like, dislike or hate this, please VOTE and reply with CONSTRUCTIVE comments.
Use FLAT BUTTON IN TOOLBAR like Office 97 without OCX... Just an API function. Very simple and optimizing code size.
This module allow you to explodes or implodes a form.
This program registers OCX Threed32.ocx since many users don't possess the licensa for this OCX. Please Vote to Me.
This ActiveX control makes it extremely easy to create server applications. It uses an array of Winsock controls to handle multiple connections. Start the server with one line of code! I included a sample project and a detailed explanation of all the events, properties, and methods, so you can see exactly how it is used (readme.rtf). Since PSC removes the OCX file from my zip, you can get it here: http://www.bouncefilterware.com/drew/ServerControl.ocx -- Your comments/questions/suggestions are welcome. UPDATE: I added a broadcast function. Although it's not the proper way to broadcast data, it works.
I got irked at the way the standard CommonDialog control responds to multiple file selection so I wrote my own. This one mimics the standard CDialog but has some extra features. Properties: Cancelled = true after showopen if user cancels DialogCaption = Caption of the dialog DialogX & DialogY = position of dialog DirectoriesOnly = browse for directories FileCount = Number of files returned after Showopen FileNameArray = Array of filenames returned Filter = filter as used in normal common dialog e.g. "All Files|*.*|Text Files|*.txt|Executables|*.exe" FilterIndex = Which of the above to start with e.g. 0 would refer to All Files, 1 to Text Files, etc InitDir = specifies initial directory to start, must exist ShowOpen (method) call the dialog You can customize this anyway you see fit. One thought would be to skin the Dialog form or add properties for fonts, fore & back colors, etc. I included a test project but you must first compile the ocx to use it. The ocx is in the zip but PSC may remove it. Enjoy.
Allows user to resize a control at runtime. Put the UserControl on a form and use the Attach method to size a particular control. There is an API way to do this, using CreateWindowEx, but I wanted to do it with a UserControl & here's the result. Enjoy.
Ever wanted your VB6 apps to fit in with Windows XP? Now you can do just that. There are other samples on this site that accomplish this, but they use user controls or images - which means that the controls are slow and may not be resizable - and they're large. Want a better solution? This is it. Real Windows XP controls on Windows XP that match the user's visual style (i.e. theme), without user controls or images, with only one API call. You can even use the standard Visual Basic controls (buttons, scrollbars, checkboxes, etc.) and it will work - all with the speed of a native application. Because it is a native application, using Windows to draw the controls.
Numeric textbox with complete control, including number of decimal places, negative number acceptance, number and position of the negative sign and the decimal separator, automatic replacement of the decimal separator according to the users PC international settings.
This source is an example of how you can take any picture, declare a 'transparent' color and make a shaped form (skin) from it. It's simple, complete, and it WORKS!
I've seen a lot of progress bar code on this site, but I haven't seen any that show you how to set up the caption so it will change color as the bar moves over it. This is a very basic example of how to do that. The trick is setting the DrawMode to "Not Xor Pen"; you can also use "Merge Pen Not". This example is only to get you started. You'll have to play around with the BackColor, ForeColor and RGB color used for the bar to get the color effect you want. Have fun.