/* disable all the address related gadgets... */ DoMethod(xxx, MUIM_MultiSet, MUIA_Disabled, TRUE, ST_Name, ST_Street, ST_City, ST_Country, ST_Phone, NULL); /* note that the xxx object doesn't get disabled! */