On Tuesday 14 June 2016 22:03:21 Krzysztof wrote:
> This is first time where I would like use TWidgetGrid. Added
> TStringEdit (which will be readonly color name) and TColorEdit. Now I
> need to init color names and actual colors in rows. What is the best
> example? Found this one:
> /mseuniverse/attic/msedocumenting/mse/trunk/help/tutorials/widgets/treeview
>/simple/main.mfm But it is using treeitemedit
>
At runtime the cell values of a grid widget can be accessed by 
<thegridwidget>[row], the value of the focused row is <thegridwidget>.value.
At designtime the column values can be defined by 
clicking on the ellipsebutton of <thewidgetgrid>.datacols[Col n].datalist.
Instead of using a readonly TStringEdit it is also possible to use 
<T*grid>.fixcols[Col -n].Captions.
An example is here:
https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/widgets/grids/coloredit

Martin

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to