How do I use the setMethod function in V4RB

Kevin Windham kevo at gatorgraphics.com
Thu Sep 23 17:31:03 CDT 2004


Here is what I've tried. There is no error returned in the error number 
for the BO. vF is a VField, bo is the baseObject. The type is Long, and 
the method text is "6/3"

vf = 
bo.CreateField(fFieldName.text,pFieldType.RowTag(pFieldType.ListIndex))
if cbIsMethod.value then vf.SetMethod(fMethodText.Text)
i = bo.DataBase.ErrNumber

I'm clueless as to why it's not working, and why there is no error 
returned if the method is invalid.

TIA,
Kevin



More information about the Valentina mailing list