Go to content Go to navigation

G4 Button Disable

30 April 2010, 09:42 by Chad Reynoldson

Disabling a button, while maintaining it’s visibility is a good UI practice to keep the user from wondering “what happened to that button”. Using the BMF command on a G4 button makes this a piece of cake.

// Enables button #171:
SEND_COMMAND dvTP1a,'^BMF-171,0,%EN1%OP255'

// Disables button #171, but maintains opaque visibility:
SEND_COMMAND dvTP1a,'^BMF-171,0,%EN0%OP100'


Share This Article

Comments

Comments are turned off for this article.