Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

Button CommandEnabled property

I am having problems disabling a command.
In fact even getting the Enabled property is returning null.
I can get the caption in the same little bit of code, so the syntax looks OK.

Caption=Get_Property(OLE_RIBBON,"OLE.CommandCaption[CALCULATE_ALL]")
ENABLED=Get_Property(OLE_RIBBON "OLE.CommandEnabled[CALCULATE_ALL]")


I have tried adding the Key within the section and within the button but no luck.
I suspect I am doing something wrong, but cant figure out what.

Is there a small XML example which is properly defined which I can try and see if I am following syntax.

- - - - -

Comments

Sign In or Register to comment.