arrange_button_pos (Library) [Version 1.7 or later]


Specify the button arrangement (position, size, and so on) on the screen.


arrange_button_pos (<number of displayed buttons>,<button display starting X coordinate>,<button display starting Y coordinate>,<number of buttons on screen width>,<number of buttons on screen height>,<head button number>,<horizontal button gap>,<vertical button gap>,<button display panel number>)


This program uses parameters required to arrange buttons as arguments to determine the button positions on the screen.
This program specifies the number of buttons on the height of the screen as an argument parameter for button creation like the set_button_size function.


<button.h> is necessary.


call arrange_button_size (BUTTON_NUM,ORIGIN_PX,ORIGIN_PY,PANEL_M,
PANEL_N,,B_START_NUM,H_GAP,V_GAP,PANEL_NO)


Top