Attachments forums

List of attachments posted on this forum.


All files on forums: 135998

Re: Indicators with ON/OFF buttons

kvak, Thu Mar 24, 2022 3:44 am

PumbaPLS wrote: Wed Mar 23, 2022 8:40 am Could the option to put the button in the subwindow be added?

Thanks for your hard work.
In some BT template is easy...
Where start settings for button add this code...

Code: Select all

extern int                btn_Subwindow = 0;
And this line (133 in original file) change from this

Code: Select all

 ObjectCreate    (0,buttonID,OBJ_BUTTON,0,0,0);
to this

Code: Select all

 ObjectCreate (0,buttonID,OBJ_BUTTON,btn_Subwindow,0,0);
All files in topic