Announcement

Collapse
No announcement yet.

auto_V_Scroll in Listbox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scott Turchin
    replied
    Thanks Lance, I DO like that look, lets them know they can put more files in!


    Scott

    ------------------
    Scott
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Lance Edmonds
    replied
    To expand Semens answer slightly:

    Equates starting with %ES_ are for Edit Controls (ES = Edit Style).

    Equates starting with %WS_ are generic Window/Control styles. Controls generally use use at least some of these styles, but it depends on the type of control in question.

    In your case, you need to use a generic %WS_VSCROLL style. You may wish to include the %LBS_DISABLENOSCROLL is you want the scrollbar to be visible even if the list does not exceed the extent of the listbox.


    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Semen Matusovski
    replied
    %WS_VSCROLL, not %ES_AUTOVSCROLL



    ------------------
    E-MAIL: [email protected]

    Leave a comment:


  • Scott Turchin
    started a topic auto_V_Scroll in Listbox

    auto_V_Scroll in Listbox

    I'm currently using this listbox:

    Control Add ListBox, hDlg, %IDLISTBOX1,,5,5,%FRAME_WIDTH,115,%LBS_SORT Or %WS_TABSTOP,%WS_EX_CLIENTEDGE

    and would like to have a vertical scroll bar on it?

    can it be done? Help file shows nothing and %ES_AUTOVSCROLL does not work on it


    Help! hehe

    Scott

    ------------------
    Scott
    mailto:[email protected][email protected]</A>
Working...
X