PDA

View Full Version : MLGRID Style and ExStyle Options



RADRAD
14-05-2013, 11:05
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?

ReneMiner
14-05-2013, 11:25
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

ErosOlmi
14-05-2013, 20:55
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