Hi Chip,

I haven't tested it myself but your last line of code using List item parent 
doesn't look right.
According to the documentation the format is:

List item parent ( {* ;} list ; itemRef | * ) -> Function result

It looks like your format is following the GET LIST ITEM format:

GET LIST ITEM ( {* ;} list ; itemPos | * ; itemRef ; itemText {; sublist ; 
expanded} )

Are you using the wrong command?

Best Regards,
-Tai B.





-----Original Message-----
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip Scheide 
via 4D_Tech
Sent: Wednesday, August 16, 2017 1:20 PM
To: 4D iNug Technical
Cc: Chip Scheide
Subject: v12 & v13 - HLists

I have an Hlist,
1 menu item has a submenu (just one level), with 3 possibilities

In both v12 and v13 I have the following code:
GET LIST ITEM($List_Ref;*;l_Selected_Item_Ref;$Item_Text->)  // works 
f_Action_Selected:=Not(utl_is_Empty ($Item_text))  // works $Parent_Ref:=List 
item parent($List_Ref;l_Selected_Item_Ref)  /works

If ($Parent_Ref>0)  //the selected item is a sub-list item List item 
parent($List_Ref;$Parent_Ref;$Parent_Ref;$Parent_Text->) // works v12, not v13

in v12 Parent_Text gets a value.
in v13 not so much.

any ideaS

Thanks
Chip
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to