Results 1 to 3 of 3

Thread: MLGRID Style and ExStyle Options

  1. #1

    MLGRID Style and ExStyle Options

    CONTROL ADD MLGRID, hwnd, ctrlID, Caption, xPos, yPos, Width, Height [, [Style] [, [ExStyle]]] [[,] CALL CallBack]
    ---------------------------------------------------------------------------------------------------------------

    The Help documentation indicates that Style and ExStyle options can be set when an MLGRID is created.
    I can't seem to find any further reference as to what these settings can do.

    Can anyone point me in the right direction?

  2. #2
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,527
    Rep Power
    170
    I don't find them in help either, but I suggest, look equates on other controls and pick together what makes any sense here.
    F.e. styles %WS_HScroll, %WS_VScroll etc. or ex-styles as %WS_EX_CLIENTEDGE are used on more than one control so you might find most of the needed equates on controls that have similar properties
    Last edited by ReneMiner; 14-05-2013 at 11:28.
    I think there are missing some Forum-sections as beta-testing and support

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

    there is not much you have to indicate, thinBasic will do it for you.
    If no Style/ExStyle is indicated, a default will be used:
    %WS_VISIBLE Or %WS_BORDER Or %WS_CHILD
    
    You can avoid %WS_BORDER if you want a semi-flat design and just use:
    %WS_VISIBLE Or %WS_CHILD
    
    Ciao
    Eros
    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. Loading data into MLGrid Control
    By RADRAD in forum UI (User Interface)
    Replies: 4
    Last Post: 12-05-2013, 16:44
  2. MLGrid: new sheets functionality
    By ErosOlmi in forum UI (User Interface)
    Replies: 0
    Last Post: 06-09-2011, 11:30
  3. MLGrid for evaluating formulas
    By Petr Schreiber in forum Sources, Templates, Code Snippets, Tips and Tricks, Do you know ...
    Replies: 0
    Last Post: 27-01-2009, 14:04
  4. Coding Style Ideas
    By kryton9 in forum thinBasic General
    Replies: 2
    Last Post: 13-12-2006, 21:49

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
  •