Results 1 to 2 of 2

Thread: Problems / UI / TRACKBAR has no default styles

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736

    Problems / UI / TRACKBAR has no default styles

    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

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,817
    Rep Power
    10

    Re: Problems / UI / TRACKBAR has no default styles

    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

Similar Threads

  1. Trackbar size
    By Lionheart008 in forum UI (User Interface)
    Replies: 5
    Last Post: 10-02-2009, 19:28

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •