Kamis, 28 Agustus 2014

Re: [MS_AccessPros] Re: widths and heights

 

Doesn't work for me.  Access says Run-time error 5, "Invalid procedure call or argument".


On Thursday, August 28, 2014 2:11 PM, "yahoo@craven.de [MS_Access_Professionals]" <MS_Access_Professionals@yahoogroups.com> wrote:


 
The Quick n' dirty way of getting the Ribbon height is (I have to admit, I had to pick my jaw off of the floor after i found this...)

Application.CommandBars(" Ribbon").Controls(1).height

Yes, "Good old" Commandbars. If the Ribbon is the normal height it returns something over 100 and if it's minimized it's under 100.  The actual numbers will depend on Access Version etc.


__._,_.___

Posted by: Stuart Schulman <stoughy@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (43)

.

__,_._,___

Tidak ada komentar:

Posting Komentar