Working with the PictureBox Control
To Create a Bound PictureBox
- Create a text field in your table first, then set the PictureBox control to be bound to the field.
- The PictureBox control will display the file specified in the text field.
Create an Unbound PictureBox
- Create a new PictureBox contol.
- Specify its FixedPath property.
- Or set its image file using SetControl() command at run time.
Working with the Scribble Control
To Create a Bound ScribbleBox
- Create an OLEObject field in your table first, then set the ScribbleBox control to be bound to the field.
- SprintDB will then save your scribbles in the ScribbleBox into the underlying field automatically, and also display the scribble in the scribble control when you navigate records.
Create an Unbound ScribbleBox
- Insert a Scribble object first
- Then insert a command with the SaveScribble() command to save the scribble into a file in BMP or JPG format.
|