Hello Med.

> if  ????.col[i]  is tdbintegeredit then b1 else b2

In a form1.mfm, the kind of widget is declared as this:

object atwidgetgrid: twidgetgrid 
   ...
    datacols.count = 1
        datacols.items = <              
                item[something]
                  width = 20
                  widgetname = 'mycol'
                  dataclass = tgridintegerdatalist
             end              
...

So I did try to access the "dataclass" property with this:

  if atwidgetgrid.datacols.items[0].dataclass = tgridintegerdatalist then  ;

Sadly this does not work (Error: (5038) identifier idents no member
"dataclass" ).

Maybe somebody knows the synthax how to access that "dataclass" property.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to