PDA

View Full Version : How to set current real geometry color?


VINIT
12-22-2005, 09:00 PM
Dear All,

Can any one help me on following for my program?

1) Retrieve the current real geometry color (At dialog Initialize state)
2) Set the color to Green
3) Reset the color to old color as per user settings (Dialog terminate/command completion/cancel state)

What are the functions/commands that I must use? I tried using (docu::AM_GEO_DEFAULT :COLOR :rgb 0,1,0 :done), but it works sometimes and sometimes it doesn't. Secondly, the program gives error "Negative Index -1".

Regards
Vinit