OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: TimSpangler on January 19, 2011, 09:38:52 AM

Title: dcl_Control_SetToolTipTitle
Post by: TimSpangler on January 19, 2011, 09:38:52 AM
When did this property become available?  I have someone whom is running the latest released version and are getting an error:

Error: Invalid Argument
Function: dcl_Control_SetToolTipTitle
Argument: 0

Property <ToolTipTitle> Not Found

Thanks.
Title: Re: dcl_Control_SetToolTipTitle
Post by: Fred Tomke on January 19, 2011, 10:33:20 AM
Hi,

make sure that the VarName has a valid value. Be aware of typemismatches!
The property ToolTipTitle is only available for controls, not for forms and tabs.

Regards, Fred
Title: Re: dcl_Control_SetToolTipTitle
Post by: TimSpangler on January 20, 2011, 04:09:16 AM
Everything seems to be fine.  it works for everyone else who has been using it as well.?
Title: Re: dcl_Control_SetToolTipTitle
Post by: Fred Tomke on January 20, 2011, 05:04:43 AM
Yes, me :) !

I have about 100 places in my code when I use SetToolTipTitle, either in loops or directly.
I always use the VarName, not the construct of "project" "form" "control".

Regards,
Fred


P.S. Maybe a sample code would help.
Title: Re: dcl_Control_SetToolTipTitle
Post by: owenwengerd on January 20, 2011, 11:05:12 AM
Tim, is everyone using the same version of OpenDCL? It's conceivable that newer versions remove the property from a control that shouldn't have had it, but I'd need to see an actual project file to verify this. What type of control is it? Does the property show up in Control Browser for the control?