Subscribe:

Ads 468x60px

Pages

Showing posts with label component. Show all posts
Showing posts with label component. Show all posts

Thursday, April 28, 2011

Problem to add images on XP style command buttons?

Problem to add images on XP style command buttons? Not anymore! Use JCButton control!

JCButton: An Ownerdrawn Multistyle Button
Thanks to Juned Chhipa, the creator of this control! It is really a great work!
It can be used as an alternative to Command Button. It is a lightweight button control which will emulate new command buttons.

Now we can draw nice multistyle buttons for our VB6 application. We can also add image to this nice looking command button, where we can't do using standard command button in XP style.

Saturday, April 16, 2011

Make Your Coding Easier with This Collection of VB6 Controls

Commonly used controls with auto-highlighted, auto sendkeys "{TAB}", auto-formatted feature WITHOUT CODING.

1. TTextBox
a. Auto-highlighted when got focus.
b. Auto sendkey "{TAB}" if press Enter.
c. Character Casing: Normal, Upper, Lower.
d. Multiline: can set maximum lines.
PropertiesBackColorGotFocusBackColorDisabledForeColorGotFocusForeColorDisabled, CharacterCasing, MaxCRLF, MultiLine, SelectTextOnFocus, SendTabOnKeyEnter

Monday, April 11, 2011

TDatePicker: Ready to Use XP Style Date Picker

At my previous articles, we've discussed about applying XP style to our VB6 applications. However, there are some controls don't work with XP style such as DateTimePicker, MonthView, etc.

Here is a ready to use XP style date picker. I created this control for about 3 days and sharing it free with you now :) This control named TDatePicker (attention! not TDateTimePicker, I created another control for time picker separately). However, to have it in XP style, you must create manifest file for its executable. Read how to create manifest file to apply XP style.

Monday, April 4, 2011

Add XP Style to Your VB6 Application

As we know, although our VB6 application run on Windows XP, it's still not using XP style. This article shows you a very simple way to add XP style to your VB6 application.

1. First, add component Microsoft Windows Common Controls 6.0 (SP6) (Mscomctl.ocx) to your project.
Project > Components > check on Microsoft Windows Common Control 6.0 (SP6) > click OK

2. Then, put any of its control to your Startup Object.
To know your Startup Object, click Project > Properties > tab General.
Lets say we put a StatusBar to your Startup Object. You may set it to be unvisible.