That would have to be done in UI_Styler, which I think only interfaces with UG/Open API (Ufunc) programs, not GRIP.
I have thought of using TCL/Tk for the menu boxes using xspawn, write the data to a text file and then have the GRIP code create the part attributes from the data in the text file. Thinking about and getting a book on TCL/Tk it is as far as I have gotten, since I am busy working on the implementation of Pro/E and PDMLink to replace UG at our site. (Management decision, not mine!)
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
CAD/CAM System Analyst
Ingersoll-Rand