S309PictureBox Tips, Hints, Tricks, Bugs for
NS Basic and VBCE
General
1) If your image does not load, try setting the property
.ImageLoadBufferSize = 4096
2) Use .DrawMouseMoveLine or .DrawMouseMoveLineEx methods in
the _MouseDown, _MouseMove and _MouseUp events to draw smother lines with the
stylus.
VBCE
1) Set the property .Visible = True in code for each
s309Picturebox to get it to display even if you have set it in design mode.
2) Set property .AutoSize = False in the code prior to loading
an image. If you need to AutoSize the control see the next item.
3) If you need the S309PictureBox to AutoSize itself you will
need to set the property .AutoSize = True and have a _VBCEAutoSize event for the
control and set the .Height and .Width properties in
the event procedure.
Private Sub
S309PictureBox1_VBCEAutoSize(ByVal nWidth As Long, ByVal nHeight As Long)
S309PictureBox1.Width = nWidth
S309PictureBox1.Height = nHeight
End Sub
4) When using the .Height and .Width properties outside of the
VBCEAutoSize event, you will need
to subtract 6 pixels in order for VBCE to display it in the correct dimensions.
5) The .Hide and .Show methods do not work with VBCE.
6) The .Refresh method does not work with VBCE.
NS Basic
1) The LostFocusX and GotFocusX events need to be used to
track the focus of the control.
|