I;ve not seen a native label control with the bevel.
Maybe draw it yourself (via the api) or use a locked textbox?
--
Dee Earley (dee.e...@icode.co.uk)
i-Catcher Development Team
iCode Systems
Options fo Label ->
BorderStyle = 1
Oh yeah...
Shows how little I use it.
I had assumed the OP was talking about a native win32 label though, in
which case they probably want the SS_SUNKEN style.
Neither of these will be themed at all though.
DIM BtnL As LABEL
with BtnL
' .Style=BtnL.Style OR &HB
.ExStyle=BtnL.ExStyle OR &HB ' + &H1000
.Parent=MainForm
.Top=2 ' Btn1.Top-2
.Left=2 ' Btn1.Left-2
.Height=24 ' Btn1.clientheight-2
.width=88 ' Btn1.clientwidth-2
.visible=True
.onclick=Scratchpad_tx
.Color = &HFFFFEE
.Caption=" ScratchPad"
.font=tahoma_18
' .ExStyle= &H0
end with ' BtnL as Label
In VB <= 6.0 (AKA classic) there is no label control with such properties.
Either you are working with VB.NET, or you are talking about a third party
control. If the first, you should ask your question in an appropriate
newsgroup (which has 'dotnet' in its name). If the latter, you should ask
the manufacturer for help (or, at least, tell us more about the control in
use).
--
Thorsten Albers
albers (a) uni-freiburg.de
fwiw, once-upon-a-time microsoft offered such a static/label
control, wrapped up in a container called "ieLabel.ocx".
It was obviously intended for use with IE, but could also
just as well be used with a vb (classic) project. It's main
claim to fame was that the label could be rendered at any
angle to the normal (x,y) axis.
But, the properties of the ieLabel control are not the same
as those mentioned by the OP, and so he/she must be using
some other control found elsewhere.
cheers, jw
And the class name of that control presumably wasn't just 'Label'...