Hello,
I use a trackbar to select a certain image out of a list of images.
This works fine so far. But as there are many images it is impossible to get the correct immage just by scrolling. The sensitivity is too poor.
In a pictureBox I show the selected image using the trackbar value as index to get the path to the image file from the list of images.
To do the fine adjustment I added a
Plus 1 and a
Minus 1 button to step one by one through the list entries.
But now I have a problem, I want the trackbar to show the adjusted position.
Question: is that possible. I have not found a method nor a property that adjusts teh trackbar position.
Value just gives you the actual value but does not change the bar. And what
TabIndex does ist not clear to me.
The lines commented out in the short example below both do not yield the desi
red effect.
private void btnEM1_Click(object sender, EventArgs e)
{
actEnd = actEnd - 1;
if ((actEnd < numberFiles) && (actEnd > -1))
{
txtBxStartFrame.Text = fileListS[actEnd];
showFrame(actEnd, true);
}
else
{
actEnd = 0;
}
}
Many thanks in advance for any hint.