getParent

parte:getParent() --> Parte

Ritorna la parte padre di <parte>. La parte radice TOP restituisce se stessa come padre (non nil).


Esempio 1. Esempio getParent

local prt   = top_ptop():find("BIELLA")
local padre = prt:getParent()
print("\nPadre: " .. padre:getName())
-- Nota: la radice TOP restituisce se stessa come padre

Created with the Personal Edition of HelpNDoc: Leave the tedious WinHelp HLP to CHM conversion process behind with HelpNDoc