May 27, 2024, 12:22:54 AM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


How enable toolbar buttons

Started by aurelCB, June 14, 2008, 08:50:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aurelCB

Hi all...
My question is how enable or disable buttons in toolbar?
I try but dont work,only work with standard buttons.
maby someone has idea how do this...
thanks advance...
zlatko

LarryMc

In the Help file under CONTROLS/Using Toolbar Controls is:

QuoteCONTROLCMD  window | dialog, toolbarID, @TBENABLEBUTTON, buttonID, enable
Enables or disables the button specified by buttonID. use 1 to enable and 0 to disable the button. A button that is disabled can not be pressed and has a 'grayed out' appearance.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

aurelCB

Oh my i forget this :-[
I try with ENABLECONTROL so that dont work!
Thanks mr. Larry!