And while you are there ... Mask, default width (drop a typed item on a page
and have the fill-in auto adjust the width), tooltip, basic validation
(Min/Max/required).
All basic stuff - or at least you may have thought :(.
The closest I have come is an extender provider. At design time it draws the
text on the display area, at runtime it adds a 'text' item to the parent of
the textbox [or combo/radio etc]. I have hooked the default label up to the
'caption' property of the dataset [when the textbox/etc has databinding] and
custom xsd attributes for mask etc. As a starting point take a look at,
http://www.fawcette.com/vsm/2002_11/magazine/columns/desktopdeveloper/default.aspx
Although this does not include the label you are after the basic concept can
be extended.
I am used too building the UI elements from a schema [pick a field and drop
it onto a form]- so I have adopted the xsd for this manner. But this then
leads to a custom MSDataSetGenerator to accommodate the custom xsd
attributes ... and on it goes.
I keep thinking there must be a better way though - something already build
into VStudio.
Anyone care to comment.
- Colin
The
> Hello,
>
[quoted text clipped - 7 lines]
>
> Roland