Results 1 to 3 of 3

Thread: MLGRID Style and ExStyle Options

Share/Bookmark
  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 ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Germany
    Age
    47
    Posts
    1,213
    Blog Entries
    1
    Rep Power
    132
    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.
    Windows 10 on
    Desktop: Intel Core i5-3330 @3.0 GHz, 8 GB Ram, nVidia GeForce GT630 2 GB
    Laptop: Intel Core i3-4005U @1.7GHz, 8 GB Ram, nVidia GeForce 940M 2 GB


    The limit is Imagination

  3. #3
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,063
    Blog Entries
    2
    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/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

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

Posting Permissions

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