Search found 74 matches

by Frank Hileman
Fri Apr 20, 2007 6:02 am
Forum: Samples
Topic: TranslucentForm sample fixes problems
Replies: 0
Views: 47808

TranslucentForm sample fixes problems

http://www.vgdotnet.com/support_files/advanced_translucent_form_sample.png VG.net version 4.0/3.0 contains bugs in the TranslucentForm class. It is difficult to change the form location and size programatically, unless you use the WindowOperation property on Elements. This project contains a class ...
by Frank Hileman
Thu Apr 12, 2007 1:22 pm
Forum: Samples
Topic: Bird's Eye View: Miniature Map Overlay
Replies: 0
Views: 47421

Bird's Eye View: Miniature Map Overlay

Image

This demonstrates how to create a miniature map overlay showing the visible area.

Bird's Eye View Sample Source Code
Update: The most up-to-date version of the code is included in the samples provided with VG.net.
by Frank Hileman
Wed Apr 11, 2007 3:15 pm
Forum: Samples
Topic: Anchoring, Docking Sample Code
Replies: 3
Views: 69559

Hello Onit, I added a new sample, and put the link in the first message. If you are interested in reviewing how VG.net 4.1 will implement anchoring and docking (as well as other layout enhancements), I can send you a link to a google doc containing preliminary documentation. I cannot give you a buil...
by Frank Hileman
Tue Apr 10, 2007 4:51 pm
Forum: Samples
Topic: SCADA Valve: Overriding SetBoundsCore and GetBoundsCore
Replies: 0
Views: 57517

SCADA Valve: Overriding SetBoundsCore and GetBoundsCore

This post describes the purpose of the SetBoundsCore and GetBoundsCore methods in a Picture component. SetBoundsCore is passed a rectangle. If you wish to leave the Picture bounds unchanged, you return false from the function. So the first thing you might do is see if the passed in rectangle is equa...
by Frank Hileman
Tue Apr 10, 2007 4:44 pm
Forum: Samples
Topic: JoistRectangle: Filling an area with replicated shapes
Replies: 0
Views: 46729

JoistRectangle: Filling an area with replicated shapes

This sample sub-Picture draws "joists" to fill a given area: JoistRectangle.zip Create a VB project, add the Picture, add another top-level Picture, compile, open the JoistRectangle and close again to add it to the tool box, the add it to your top-level Picture and resize it. This is a good example ...
by Frank Hileman
Mon Mar 26, 2007 8:57 am
Forum: Samples
Topic: Printing a Picture
Replies: 0
Views: 48767

Printing a Picture

In the full version, use the Picture. RenderTo function to print. The Lite version has no printing support. You will need code to initialize the transformation and clipping on the printer graphics. Here is a sample: Printing Sample Here is an extract from the above sample. PageSetup and Print are th...
by Frank Hileman
Mon Mar 26, 2007 7:26 am
Forum: Samples
Topic: Circular Gauge
Replies: 0
Views: 48109

Circular Gauge

http://www.vgdotnet.com/screen_shots/gauge_components_simple.png Download the Gauge Components sample code. It contains a RadialScale component you can use to add scales to any gauge. It should not be too difficult to add minor scales to that, or you can use two, one for major, one for minor, as we...
by Frank Hileman
Fri Mar 23, 2007 5:20 am
Forum: Problems
Topic: Install error, Windows Vista
Replies: 5
Views: 99904

Hi Tim,

Thanks for posting that. You are not the first, but we have to change the installer. We may move away from MSI.

Regards,
by Frank Hileman
Sun Mar 18, 2007 8:47 am
Forum: Problems
Topic: Are you missing buttons on the toolbar or context menu?
Replies: 7
Views: 126111

Hello Zahid, To see the drawing tab you must first right click on your project, select "Add New Item...", and select "VG.net Picture." At that point a Picture is added. When the designer opens for the Picture, you should see the drawing tab, as well as the toolbar at the top. Before the designer ope...
by Frank Hileman
Wed Mar 07, 2007 8:30 am
Forum: Samples
Topic: Node and connector sample
Replies: 0
Views: 47885

Node and connector sample

Image

Node and connector sample executable

Node and connector sample source code

The sample includes a state diagram. Note that it could be simplified; the three "Over" states could be combined.