I’m trying to switch various variables to objects and object notation. I’m
having some difficulties using object notation with picture values with 4D
methods that accept picture variables. See below…
The following…
SET LIST ITEM ICON(sBar_RecordsSelect;1000;o_Images.sidebar_All)
Results in an error: “4D was expecting a table or a pointer”
However, the following…
$i_sidebar_All:=o_Images.sidebar_All
SET LIST ITEM ICON(sBar_RecordsSelect;1000;$i_sidebar_All)
Works fine
I’ve also tried the above objects using string with bracket notation.
Another instance of it not appearing to accept picture values from objects
is when assigning a picture object value to a button variable in the
property list. It appears to be ignored.
Using: 4Dv17R6
Perhaps someone can tell me what I am doing wrong.
Thanks in advance...
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************