GetColor() return
Posted: Wed Apr 01, 2015 3:45 pm
I can not considere an error when cancel during at GetColor selection and returns {Nil,Nil,Nil}
but...
in my criteria, when we define at first parameter as aDefaultColor, the returned value must be aDefaultColor at least.
IMHO, If this would be fixed, most of runtime errors and extra routines needed would it be avoided.
As it is now, when we use GetColor() is needing an user routine in order to avoid this error.
It would be marvel if we can count to use nested function without runtime error...
Like this, for example:
My_SetStatusBarBackColor("Form_1",GetColor(My_StatusBarColor))
Without the main concern of user cancel during GetColor selection.
This is my point of view. I do not know what my colleagues thinks. But this it could be easy improved.
but...
in my criteria, when we define at first parameter as aDefaultColor, the returned value must be aDefaultColor at least.

IMHO, If this would be fixed, most of runtime errors and extra routines needed would it be avoided.
As it is now, when we use GetColor() is needing an user routine in order to avoid this error.
It would be marvel if we can count to use nested function without runtime error...

Like this, for example:
My_SetStatusBarBackColor("Form_1",GetColor(My_StatusBarColor))
Without the main concern of user cancel during GetColor selection.
This is my point of view. I do not know what my colleagues thinks. But this it could be easy improved.