Hello, after one hour, I just cannot figure how to change the displayed text with the command
ObjectCreate(IBName, obj_Text, 0, Time(0), High(0));
where IBName is the sting variable containing my object name. This works and itdisplays TEXT
I then try to set the text property with
ObjectSet(IBName, OBJPROP_TEXT, 'my text');
But I get a compiler errror saying incompatible type "double" and "string"
How can I change the TEXT displaied after using the ObjectCreate ?
Thank you
Text Label Object
- Terranin
- Site Admin
- Posts: 833
- Joined: Sat Oct 21, 2006 4:39 pm
Re: Text Label Object
plaforte wrote:Hello, after one hour, I just cannot figure how to change the displayed text with the command
ObjectCreate(IBName, obj_Text, 0, Time(0), High(0));
where IBName is the sting variable containing my object name. This works and itdisplays TEXT
I then try to set the text property with
ObjectSet(IBName, OBJPROP_TEXT, 'my text');
But I get a compiler errror saying incompatible type "double" and "string"
How can I change the TEXT displaied after using the ObjectCreate ?
Thank you
Use function ObjectSetText instead.
Hasta la vista
Mike
Mike
Who is online
Users browsing this forum: No registered users and 23 guests