12-17-2013, 05:03 PM
Hi Sankalp,
Again thank you for your recommendation.
using your code I get the following error message "Object doesn't support this property or method: 'currentStyle'."
Seems like the SAPGuiCalendar object does not support this property/method currentStyle.
The only methods I am able to use with Object. are the following:
Object.GetColor("selecteddate:=28/Dec/2010") this gives me the value 0 if I select another date with different background color I still get value 0 with this method
Object.GetColorInfo() for this method I am unable to make it work as I have to enter a color within the bracket of this method so not sure what value to input
Also I have used the following:
but for this code I get a blank message no value being returned.
Maybe I am missing something very simple, really hope someone can shed somelight into this.
Again thank you for your recommendation.
using your code I get the following error message "Object doesn't support this property or method: 'currentStyle'."
Seems like the SAPGuiCalendar object does not support this property/method currentStyle.
The only methods I am able to use with Object. are the following:
Object.GetColor("selecteddate:=28/Dec/2010") this gives me the value 0 if I select another date with different background color I still get value 0 with this method
Object.GetColorInfo() for this method I am unable to make it work as I have to enter a color within the bracket of this method so not sure what value to input
Also I have used the following:
Code:
msgbox SAPGuiSession("Session").SAPGuiWindow("Year Overview 2010").SAPGuiCalendar("Calendar_2").GetROProperty("color","selecteddate:=28/Dec/2010")
Maybe I am missing something very simple, really hope someone can shed somelight into this.