Search Tools Links Login

Four Cool User Controls - GGCommand, GGProgressBar, GGMover and GGCommonDialog


Visual Basic 6, or VB Classic

4 cool user controls. !!! FOR ADVANCED USERS ONLY !!! NO SAMPLE PROJECT INCLUDED !!! Experiment with Properties Browser and methods and events. Look at the great events of GGCommand (I have not seen a Flat Command Button like mine on PSC yet :)) - MouseEnter and MouseExit. Supports transparent images and Caption and Picture position adjustments.
Usage of GGMover:
In MouseDown events of some object (Picture1 for example - set form and picture1 .ScaleMode to 3-Pixel):
GGMover1.CaptureObject X,Y
In MouseMove event:
GGMover1.MoveObject Picture1,X,Y,True,True,0,300,0,500
In MouseUp event:
GGMover1.ReleaseTargetObject
If you have any problems with these user controls just write me an email to gogox@yahoo com or gogox@lycos.com
This is my first submission to PSC.Enjoy

Original Author: Georgi Yordanov Ganchev

Side Effects

Be carefull with GGCommonDialog - Set .Flags before using it for Fonts - Use GGCommonDialog1.Flags = cdlCFBoth

API Declarations

A lot of API's in user control's source code.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 105 times

Categories

Visual Basic 6

Attachments

Four_Cool_78425522002.zip
Posted: 9/3/2020 3:45:00 PM
Size: 28,138 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.