Results for "Category: Custom Controls/ Forms/ Menus"
The purpose is to demonstrate how to make an Intellisense control.
[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.
Add an animated system tray icon to your project with the help of this ActiveX control. Features: variable frame timing, multiple animation sequences, zoom to/from tray effect, popup menu, and customisable tip text.
This is the zipped version and it contains all the forms and code necessary to compile the .OCX Also included is a pre-compiled FTPx.ocx ready to use. Thanks This custom control allows applications access to FTP sites without the need to re-invent the wheel. Just set the Hostname, Username, Password and port properties and execute the Connected method and you're connected. You can Get, Put, Rename, Kill and Execute custom commands. The very best thing is progressing. This controls provides download and upload progressing.
This is an Active X control you can add to your apps and have nice, smoothly scrolling text which makes them look pretty good :) The ocx can scroll right->left or bottom->top and background+text colors are customisable. Text scrolls, optionally pauses at the edge for specified ms and then continues to scroll off It uses bitblt to do the drawing so its flickerless and goes pretty smoothly. Also, this code simulates an asynchronus function as i couldnt see a way to make/call an asynchronus function in vb. Please vote for it!
This is an OCX which opens up a server on your chosen port and it can accept however many users you chose it to. The server is accessible through any telnet client and handles backspacing. Both OCX and example are fully commented. Please Vote. -Paul Blower
It's a text box (or combobox) that will complete your typing for you, or popup a list as you type so that it doesn't annoy you while your typing. Includes standard text box events. Acts just like Internet Explorer's address bar! UPDATE: Popup List with matching items! URL Aware! Local FileSystem Path Lookup! Just like IE 5!! If your mother only knew!!
This is a screen that will allow you to do searches for anything. It uses control arrays, so you can keep adding search/sort criteria. Keep in mind that I was actually passing field objects to manage the various drop-downs, so you'll have to incorporate your own data access techniques. I had to strip out some things, because it dealt with my own Interface classes, but it should at least give you some ideas. If you use this, PLEASE VOTE. Email me @ paulbrower@browerconsulting.com if you have questions/comments.
AutoSize purpose is to help programmers maintain their forms without too much fuz. FormSizer makes the application remember the size and state of a window from time to time the program is run. (Code free!!!) ControlSizer lets you set up rules for how your controls should resize when the window resizes. The control takes care of the rest. (Coding is limited to two lines of code per control you want to be adaptive)
This UserControl Generate a Message Box that you can customize every detail of it. This is a 3rd update! Increase customizing performance, so you can adjust its... Title Bar Color & Font, Message Text Color & Font, Title Caption, Message Text, 4 Buttons Text, Button Highlight & Lowlight Color, Close Button Color & Back Color, Icon Back Color, Border Color, Border Style, Message Box Back Picture, Text Area Picture, and Message Box Back Color. Button now automatically recieve focus if you move your mouse over them, and the highlight color will be set to that button. Button also invisible if you don't set any caption data into it. If you think the desing is ugly can download it and customize yourself. In this version you also can insert picture in Message Box, and also another one as a background at text area. The screen shot is uglier that its real picture because this's .gif image. License problem is fixed so you shouldn't have problem with Regsve32 anymore. Old ugly close button now replaced with a better one. Please VOTE for me and leave comments. Good, bad, are strongly appreciate. Anyone who want to develop this with me just send an e-mail to hyperactive0000@hotmail.com . Note: if you know how to play windows sound (set by user) like when you click Start menu or Minimize program, please tell me so I can put it in this code. Anyway, in this version, if you launch a message box, it also generate "Beep" Sound. Console Panel now very cool and so colorful, but you won't see it in screenshot. Now have method "SetBtnFocus" so you can set highlight to any button. 3 screen picture are add as template picture to put it in message box. Every time button recieve focus it generate event seperately. Console now have status bar to inform when any event has been raised. All properties is run-time customizable. Was it buggy? well, not in this version (3.2 R17) anymore. The most important thing, don't forget to *V*O*T*E* for my code.
This Custom Message Box allow you to change the look of Message Box, which is often use in Windows. I think the Windows's one is boring, so I made it myself. There're still some little bug, but I promise I'll update it again soon. P.S. This version is already out-of-date. Please click on the link to my other submission below to download the updated version. P.S. Using of .gif picture made the screen shot look ugly, so please download the real program to take a look and VOTE. P.S.S. Please don't waste your time downloading this out-of-date submittion, go download another one using the link to my other submittion below. This version is buggy.
This is title scrolling at its simplest and best i suppose. Well The Purpose of this code is for ppl who are just learning like me, and want something that they can understand. Plenty of comments that are clear and make sense. Plus a second project inside to make things a little harder, it lets you work out how it was done. This isn't mega-stuff, its really for just learners =) Anyways, enjoy.
Simple timer class using GetTickCount API function, similar to standard timer control. Accepts long interval. Perfect for forms and/or user controls. Generates ONTIMER() event. Credits to code published by Riaan Aspeling in PSC, thanks Riaan.
A popup color selector active-x control, similar to a combobox, featuring 12 different palettes, and 2 color selection events: Click() and Change(). The popup window can be disabled, in which case the popup()event may be used to substitute your own color selection code, or access to the common windows dialog. Hue selection is done through mouse hovering using custom timer class. Credits to various PSC contributors as listed in the text file. Uses 12 API functions. Full source included - well commented. V1.1 now includes hWnd property. (Thanks Ross McCawley!)
Two active-x controls are included in this OCX library, a folder and file selector. The controls resemble a combobox, and when the dropdown button is clicked, a dialog is shown in which a folder or file may be selected. The BrowseFolder control uses the SHBrowseForFolder API function, and the BrowseFile the GetOpenFileName and GetSaveFileName functions. A call back procedure is implemented showing the currently selected folder in the browse for folder dialog. The user has the choice to select any system folder (Desktop, My Computer etc) as the root, or a custom folder. The BrowseFile control returns the filename and path separately from the full path. The standard inverse triangle on the dropdown boxes may be substituted for any 8 pixel wide bitmap (with varying heights), with a choice of mask colors. Full set of events are included, click() upon dialog close, Change() and DropDown() prior to opening of the dialogs. Source also implements BitBlt() API function to copy transparent images. This is an update to the original ArielBrowseFolder Control, which has been removed from PSC.
This is a slider control i wrote becouse the standard slider control isn't very customizable, with this one you can choose the background color, set a background picture and more...
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.