Hello,
is it possible to modify the text over the buttons, when they were make using Visi?
For example, in this button:
// Winbutton1 1.0 generated 26/09/2012 23:35:35
img_SetWord(hndl, iWinbutton1, IMAGE_FLAGS, (img_GetWord(hndl, iWinbutton1, IMAGE_FLAGS) | I_STAYONTOP) & ~I_TOUCH_DISABLE); // set to enable touch, only need to do this once
img_Show(hndl, iWinbutton1); // show button, only do this once
img_SetWord(hndl, iWinbutton1, IMAGE_INDEX, state); // where state is 0 for up and 1 for down
img_Show(hndl,iWinbutton1) ;
(I tried to do it with:
img_SetWord(hndl, iWinbutton1, IMAGE_TAG, 24);
but it does not work...)
Another question:
Is it possible to use the same visi button image, to show many equal buttons, when only the text over the buttons is different?
Thanks,
is it possible to modify the text over the buttons, when they were make using Visi?
For example, in this button:
// Winbutton1 1.0 generated 26/09/2012 23:35:35
img_SetWord(hndl, iWinbutton1, IMAGE_FLAGS, (img_GetWord(hndl, iWinbutton1, IMAGE_FLAGS) | I_STAYONTOP) & ~I_TOUCH_DISABLE); // set to enable touch, only need to do this once
img_Show(hndl, iWinbutton1); // show button, only do this once
img_SetWord(hndl, iWinbutton1, IMAGE_INDEX, state); // where state is 0 for up and 1 for down
img_Show(hndl,iWinbutton1) ;
(I tried to do it with:
img_SetWord(hndl, iWinbutton1, IMAGE_TAG, 24);
but it does not work...)
Another question:
Is it possible to use the same visi button image, to show many equal buttons, when only the text over the buttons is different?
Thanks,
Comment