- Status Waiting feedback
- Percent Complete
- Task Type Bug Report
- Category Application
- Assigned To No-one
- Operating System All
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#235 - Slider | Position
I take Position to be the initial position (value) of the slider.
I set Position to 40. It appeared not to generate any code. I did run. The slider showed at the left end of its range.
TAProgress seems to have the same problem.
Can't confirm that. It's generating ok for me.
Here is how the Position didn't get set:
But if I press Enter after step 3, call to GUICtrlSetData is generated.
I then changed the Name to s. Generated code included $s = GUICtrlCreateSlider(
So Position needs an Enter for the new Position value to be accepted, but Name doesn't.
Yes, this always was so. Name (and Caption) need to be updated in different places, so need to behave in this way. All numeric properties require Enter to confirm.
Sorry to be an advocate of the devil!
I will ensure that all the tutorials say to press Enter for numeric fields, and add an FAQ saying press Enter for numeric fields.
I do not see why Enter is required for numeric fields but not for string fields. I would have expected both to be updated, al latest, when they lose focus.