Latest Books and eBooks from Packt
Help me find a book...
Do you know what you want to do, but aren't sure which of our books is right for you? With so much choice and so many versions available, this is a common question. We suggest you visit our comprehensive book selection center. To narrow down your options click here.
Latest News
Improve the performance and maintainability of web applications using RequireJS with Packt's new eBook
Packt is pleased to announce the publication of Instant Dependency Management with RequireJS, a concise guide on how to improve the performance and maintainability of JavaScript applications with RequireJS. Packed with step-by-step instructions and practical examples, this book covers basic and advanced techniques to use with the AMD script loader, RequireJS.
Read Improve the performance and maintainability of web applications using RequireJS with Packt's new eBook in fullDevelop exciting browser-based games using GameMaker with Packt's new book and eBook
Packt is pleased to announce the release of HTML5 Game Development with GameMaker, a comprehensive and practical guide that will help readers to master the GameMaker language and teach them how to build browser-based games and social networking games on the go, including games for Facebook. This book is available now in print, eBook, Kindle, and selected library formats.
Read Develop exciting browser-based games using GameMaker with Packt's new book and eBook in fullDynamically enable a control (Become an expert)
There may come a time when you need to prevent the user from being able to click one of your command buttons. The Revit API supports enabling and disabling commands by implementing the IExternalCommandAvailability interface and applying it to a button class. Your reasons for disabling a command can be just about anything you want. Some examples might include scenarios such as the state of the current model not meeting your application's requirements, the model name may not meet a specific requirement that you specify, or maybe the wrong flavor of Revit was used to open the model.
In this article by Don Rudder, author of Instant Autodesk Revit 2013 Customization with .NET How-to [Instant], we are going to cover recipes for enabling and disabling control for commands.
Read Dynamically enable a control (Become an expert) in full