Mathias Bauer wrote: > > So to change toolbar states you must intercept the status updating > procedure. Unfortunately this is not possible using any Basic, neither > OOo nor VB. You have to use a programming language that allows to > implement UNO objects (C++, Java, Python). >
I'm really sorry because MAYBE I'm reading a different suggests... I don't know If I'm reading good, but my understanding is that I can't hide toolbar's button from VB .NET, but Jurgen said "Everythig you do in the macro can be done from VB.Net directly and it is possible to disable commands." and I can hide Print and Save button from toolbar with a OOBasic macro, as I show in my first post. Mathias Bauer wrote: > > The only case where you can do this without implementing objects is when > you want to disable a certain command *all the time*. This is possible > with using a simple configuration file, not code is needed. > Anyway, I need to hide or disable some functions, like Print or SaveAs. The requirement is to show the content of the ODT file, and don't need to Print or Save. Thank u all! -- View this message in context: http://www.nabble.com/-RESEND-to-mailing-list-couse-a-bad-message-format----OOBASIC-Macro-and-VB-.NET-tp16492951p16537551.html Sent from the openoffice - dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
