Hi Eros,
if I define trackbar as following:
[code=thinbasic]
control add trackbar hDlg, %tbrSpeed, "", 5, 5, 80,15
[/code]
... it will not be visible. It seems I have to include at least style to make it visible:
[code=thinbasic]
control add trackbar hDlg, %tbrSpeed, "", 320, 80, 80,15, _
%WS_CHILD | %TBS_horz | %WS_VISIBLE | %TBS_TOP | _
%tbs_noticks | %WS_TABSTOP
[/code]
As other UI controls do not need any style by default, I think it would be nice if the same was valid for trackbar too.
Thanks,
Petr
P.S. + F1 key in IDE does not take me to the help topic, although it exists
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Thank you Petr.
You are an invaluable support!
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Bookmarks