dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: shape command?

  1. #1
    Join Date
    Oct 2002
    Location
    asian
    Posts
    116

    shape command?

    hi!

    What is a shape command? what does it do? Is ther a website that show sample for a shape command? Is it easy to manipulate?

    Thanks for the info.!!!
    Thanks!!!
    Kristine

  2. #2
    Join Date
    Apr 2002
    Posts
    388
    Perhaps you mean the Shape Control

    From MSDN:
    The Shape control is a graphical control displayed as a rectangle, square, oval, circle, rounded rectangle, or rounded square.

    Syntax

    Shape

    Remarks

    Use Shape controls at design time instead of, or in addition to, invoking Circle and Line methods at run time. You can draw a Shape control in a container, but it can't act as a container. The effect of setting the BorderStyle property depends on the setting of the BorderWidth property. If BorderWidth isn't 1 and BorderStyle isn't 0 or 6, BorderStyle is set to 1.
    or the Shape-Property
    from the MSDN:
    Returns or sets a value indicating the appearance of a Shape control.

    Syntax

    object.Shape [= value]

    The Shape property syntax has these parts:

    Part Description
    Object An object expression that evaluates to an object in the Applies To list.
    Value An integer specifying the control's appearance, as described in Settings.


    Settings

    The settings for value are:

    Constant Setting Description
    vbShapeRectangle 0 (Default) Rectangle
    vbShapeSquare 1 Square
    vbShapeOval 2 Oval
    vbShapeCircle 3 Circle
    vbShapeRoundedRectangle 4 Rounded Rectangle
    vbShapeRoundedSquare 5 Rounded Square
    mfg Ungi

    Music, music and VB. VB is like music: You never know how it is interpreted.

  3. #3
    Join Date
    Apr 2000
    Location
    Southampton, UK
    Posts
    329
    I assume rather that you are referring to the SHAPE command as in Data-Shaping, this allows you to build hierarchical recordsets where you can mirror the grandparent, parent, child hierarchy of data in a single manipulatable data set.

    Now as to how easy they are to use, the simple answer is *NOT*. The data shape can be a very powerful tool, however you not only need to understand the relationships between your tables and data elements but also the rather unintuitive syntax for the shape command itself.
    TimCottee
    I know a little about a lot of things and a lot about very little.

    Brainbench MVP For Visual Basic
    http://www.brainbench.com

    MCP, MCSD, MCDBA, CPIM

  4. #4
    Join Date
    Oct 2002
    Location
    asian
    Posts
    116

    Shape command

    Is there a website that you can recommend that has sample codes for the SHAPE command? Im interested in learning it.

    Thanks for the help guys!!!
    Thanks!!!
    Kristine

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)