Advertisement

Results for "Category: Custom Controls/ Forms/ Menus"

5_2007-2008 #172265
How to use the common dialog control

Use of 3 types of common dialog boxes:1: choose printer, 2: choose font, 3: choose color. http://137.56.41.168:2080/VisualBasicSource/vb4usecommondialog.txt

5_2007-2008 #172269
StayOnTop

Keep a form always on top (topmost floating form) in windows 95. Albetski, Allan"

5_2007-2008 #172270
Use of the Toolbar Control

Short tutorial on how to use the toolbar in VB4/5 32 bit. http://137.56.41.168:2080/VisualBasicSource/vb4toolbar.txt

5_2007-2008 #172272
DegreesToXYsubroutine

The DegreesToXYsubroutine, calculates the X (horizontal) and Y (vertical) coordinates of any point, measured in degrees, on the circumference of a circle or ellipse.

5_2007-2008 #172289
Exclusive Mode (Updated)

This function allows the application to enter and exit exclusive mode. In this mode any message boxes or prompts from Windows and other applications will not show up infront of the program. This is useful when you don't want anything to come up infront of your application window.

5_2007-2008 #172290
IsLoadedForm

Tells whether a form is loaded or not

5_2007-2008 #172291
Change Form Shape

Can Change The Shape of any form

5_2007-2008 #172293
Make Form Transparent.

Makes a Form Trans Parent

5_2007-2008 #172294
ComboBox on Toolbar

This subroutine shows how to Really put a ComboBox (or any control with a hWnd) onto a ToolBar (or any other control/window with a hWnd).

5_2007-2008 #172298
Easy tiled-image form backgrounds

This code, which was inspired by a similar snippet of code by Ian Ippolito, permits tiling an image onto a form's background. This variant, though, resides in a module and is called by a form instead of residing within the form's code itself. This permits using the feature project-wide without redundant code all over the place.

5_2007-2008 #172299
Tiled backgrounds on an MDI parent form? Yep!

This code, which was inspired by a similar snippet of code by Ian Ippolito, permits tiling an image onto an MDI parent form's background. Getting an image onto an MDI parent is easy. Getting a tiled one is another story. We could try using a Clipboard operation, or build a big tiled background and save it and then laod it into the MDI parent's Picture property, but these are nasty, anal-retentive, and likely to simply not work. This code, however, works...

5_2007-2008 #172312
Center a form, relative to the available workspace

Centers a form, relative to the available workspace. This means that if your users have high, or wide taskbars, or other apps which restrict the workspace, your forms will still center properly.

5_2007-2008 #172314
Coolbutton

It's a coolbutton. :) Those flat things that MS uses now. This one supports setting images for mouse over, mouse down, mouse up, drawing bevels for those 3 states, setting the colours of the bevel, automatically generating the mousedown and mouseup images by varying the brightness of the original, setting text positioning... lots of stuff.

5_2007-2008 #172322
Sliding Divider (slider bar)

Resizes two text boxes AS a divider is dragged left or right. Maintains full bounds checking. The methods used can be applied to other controls as well. This is a form of splitter bar.

5_2007-2008 #172328
3D-Stars in a Form

Draws a nice 3D-Starfield in a Form (uses X,Y,Z positions) width a very short code Shades each star depending on the distance.

5_2007-2008 #172329
rsform.bas

This .bas module allows you to re-size your form and all the controls re-size with it. I kept looking for code out on the internet that would do this right but I was never successful. So, I wrote this to eliminate the need for any ocx's or dll's. It resizes the SStab control which I found was a problem with most resizing routines (check it out for yourself). It also handles lines. It's also alot quicker. All you have to remember is two things. First, add the resize module (rs_form.bas), Second, Add one line of code (ResizeForm Me) to each form you want to re-size.

5_2007-2008 #172331
Capturing the Screen

Capture a screen in a window, this one actually works...

5_2007-2008 #172364
Center a form - Short, Simple, and Sweet

This code allows you to quickly center a form within the screen without eating up alot of cpu time.

5_2007-2008 #172382
TextEffect

The following code will add great text effect to your applications. It changes the spacing between the characters. By changing spaces, the characters move on the screen.

5_2007-2008 #172383
EditFlexGrid

This code allows users to edit in a MSFlexGrid

Languages
Top Categories
Global Discovery