How can I set a property in an Activex ?

new topic     » topic index » view thread      » older message » newer message

I'm a beginner in Euphoria, trying to use my favorite activex control
  (MSFlexGrid). I was able to modify the SHEET.EXW example in Eucom and I can see
  the grid, but I dont know how to set a simple property. In VB i use something
  like Grid1.Rows = 10. How can this same thing be done in Euphoria? I suppose that
  the invoke( ) can be used, but in my tests everything fails. I'm testing the
  following line and some variations of it, but nothing works:
void = invoke( Grid1, {MSFlexGrid_p_Rows,DISPID_PROPERTYPUT}, {4}, {VT_I4},
  DISPATCH_PROPERTYPUT )
Can someone help me ? I would like to know, too, how to read the .Rows
  property.
  Thanks in advance.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu