I would like to also thank Christian, and wish him a `happy birthday` for today.
Also many thanks to all others who presented - a very interesting day.
I have now put some examples on the web of RS projects to create a simple container control,
populate a form with a few instances of a control via code and to create a slider
control based on the ones I use in the scanning project.
Examples were developed and tested under Windows and are in a zip file at:-
http://www.cmas-net.org.uk/rslug/examples-120404.zip
The zip contains 3 example projects and a sub-folder containing the images used.
The powerpoint slides with screenshots etc are at:-
http://www.cmas-net.org.uk/rslug/powerpoint-120404.zipIf anyone wants a description of any other element of the scan app I will try to help, if possible.
Small technical note:...
The subject of `flashing` on the screen when presenting some UI elements came up
at the meeting and I've had a bit of a think on that - and experimented a little :
I found that if I use a label control for text on the slider that I get some flashing of the
text if the slider is moved quickly. The fix was to remove the label and draw the text string
directly in the `paint` event for the canvas.
For elements like the current scanner state animation, I do use code to ensure I do not
force a refresh / repaint if the state has not changed.
For many control.Refresh calls I add the parameter `false` to stop the background being erased
as the control, is redrawn.
Best regards
Chris Carter