Reply To: Custom MVO INFIELD

Home Forums Problems and solutions in GDL Others Custom MVO INFIELD Reply To: Custom MVO INFIELD

#3283
Bruce Walker
Participant

Code:

“Header fields”: ! (hf)

hf_menu_w = 280
hf_menu_h = 25
hf_button_h = 21
hf_button_w = 32
hf_gap = 1
hf_x = 0
hf_y = 0

UI_STYLE 0, 1
UI_INFIELD{3} “gs_ui_current_page”, hf_x, hf_y, hf_menu_w, hf_menu_h,
2, “”, 2, 1,
0, 0, 0, 0,
1, “Site”, 1,
2, “Cabinets”, 2
UI_STYLE 0, 0

hf_x = hf_menu_w + hf_gap * 2
hf_y = 2
UI_BUTTON UI_PREV, “<<“, hf_x, hf_y, hf_button_w, hf_button_h, gs_ui_current_page – 1
hf_x = hf_x + hf_button_w + hf_gap
UI_BUTTON UI_NEXT, “>>”, hf_x, hf_y, hf_button_w, hf_button_h, gs_ui_current_page + 1

hf_y = hf_menu_h + 5
UI_SEPARATOR 0, hf_y, ui_max_x, hf_y

RETURN

www.brucepwalker.com
https://www.mindmeister.com/65450406

AC20 6005 AUS Full & AC 21 3009 NZE Full | Win 10 Pro 64 | Intel i7-7700HQ 2.80GHz | 16 Gb RAM
NVIDIA GeForce GTX 1060 8Mb