Widget properties

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Wed Apr 6 08:37:26 EDT 2022


Forgot to mention that his post also has a solution to fetch the list of all available properties for a widget.


> Am 06.04.2022 um 14:36 schrieb matthias_livecode_150811 at m-r-d.de:
> 
> That is not available according to this post from Ali Lloyd
> 
> https://forums.livecode.com/viewtopic.php?t=27183#p141945 <https://forums.livecode.com/viewtopic.php?t=27183#p141945>
> 
> 
>> Am 06.04.2022 um 14:03 schrieb Neville Smythe via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
>> 
>> Is it not a bug that
>> 
>>     the properties of widget “foo”
>> 
>> returns empty (for all values of foo)?
>> 
>> No rect, no visible, no disabled etc, even though these clearly are settable and functional properties of the widget.
>> 
>> You can
>> 
>>    export widget “foo” to array “bar”
>> 
>> but that gives the intrinsic properties of the widget not the usual object properties. Oh and don’t forget the reserved word “array” in the above line, that causes an IDE crash (bug 23655 <https://quality.livecode.com/show_bug.cgi?id=23655 <https://quality.livecode.com/show_bug.cgi?id=23655>> confirmed)
>> 
>> Neville
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 



More information about the use-livecode mailing list