PDA

View Full Version : setting item in a matrix



goyangiiiii
09-21-2014, 08:28 PM
hi,

i am trying to set items into the IlvMatrix.
the item i am trying to add is a string. for example "hello, welcome!".
how can i go about using the set function?

please advice thanks.

gtruong_rw
09-25-2014, 04:21 PM
Hello goyangiiii,

Have you look into using IlvLabelMatrixItem to add items into IlvMatrix?

http://www.roguewave.com/portals/0/products/visualization/docs/views/5.7/RefMan/refcppgadgets/classIlvLabelMatrixItem.html
http://www.roguewave.com/portals/0/products/visualization/docs/views/5.7/Views.html#page/ControlsGadgets/matrix.17.4.html

Also, <Your Views Directory>\samples\appframe\introspc directory contains the source
files of basic examples of using the Rogue Wave Views IlvMatrix

In addition, the following Knowledge Base article also contains a simple example of using IlvMatrix and IlvLabelMatrixItem that you can user as reference.

http://kb.roguewave.com/kb/?View=entry&EntryID=1828&Msg=

Giai Truong
Rogue Wave Software, Inc.
Accelerating Great Code
P 303.545.3205 | F 303.473.9137
www.roguewave.com / support@roguewave.com