Hallo Oliver
Habe deinem UI Skript ein wenig das Laufen beigebracht.
Hier das Ergebniss
+++ IM UI-SKRIPT +++
UI_DIALOG "Einstellungen", 444,266
!******* Seite 1 **********
UI_PAGE 1
UI_CURRENT_PAGE gs_ui_current_page
ui_infield{3} "gs_ui_current_page", 50,0, 300,20,
2, "", 4, 1,
20, 20, 10, 10,
"", `aktuelle anzeige`, 1,
"", `voreinstellungen minimal`, 2,
"", `voreinstellungen entwurf`, 3
UI_OUTFIELD "bin auf 1",360,100
UI_BUTTON UI_FUNCTION, "home", 0,0,41,20,1
UI_BUTTON UI_FUNCTION, "goto 1", 0,30,41,20,1
UI_BUTTON UI_FUNCTION, "goto 2", 0,60,41,20,2
UI_BUTTON UI_FUNCTION, "goto 3", 0,90,41,20,3
UI_BUTTON UI_PREV ,"<<",360,0,41,20,gs_ui_current_page - 1
UI_BUTTON UI_NEXT ,">>",399,0,41,20,gs_ui_current_page + 1
!******* Seite 2 **********
UI_PAGE 2
ui_infield{3} "gs_ui_current_page", 50,0, 300,20,
2, "", 4, 1,
20, 20, 10, 10,
"", `aktuelle anzeige`, 1,
"", `voreinstellungen minimal`, 2,
"", `voreinstellungen entwurf`, 3
UI_OUTFIELD "bin auf 2",360,100
UI_BUTTON UI_FUNCTION, "home", 0,0,41,20,1
UI_BUTTON UI_FUNCTION, "goto 1", 0,30,41,20,1
UI_BUTTON UI_FUNCTION, "goto 2", 0,60,41,20,2
UI_BUTTON UI_FUNCTION, "goto 3", 0,90,41,20,3
UI_BUTTON UI_PREV ,"<<",360,0,41,20,gs_ui_current_page - 1
UI_BUTTON UI_NEXT ,">>",399,0,41,20,gs_ui_current_page + 1
!******* Seite 3 **********
UI_PAGE 3
ui_infield{3} "gs_ui_current_page", 50,0, 300,20,
2, "", 4, 1,
20, 20, 10, 10,
"", `aktuelle anzeige`, 1,
"", `voreinstellungen minimal`, 2,
"", `voreinstellungen entwurf`, 3
UI_OUTFIELD "bin auf 3",360,100
UI_BUTTON UI_FUNCTION, "home", 0,0,41,20,1
UI_BUTTON UI_FUNCTION, "goto 1", 0,30,41,20,1
UI_BUTTON UI_FUNCTION, "goto 2", 0,60,41,20,2
UI_BUTTON UI_FUNCTION, "goto 3", 0,90,41,20,3
UI_BUTTON UI_PREV ,"<<",360,0,41,20,gs_ui_current_page - 1
UI_BUTTON UI_NEXT ,">>",399,0,41,20,gs_ui_current_page + 1
+++ IM MASTER-SKRIPT +++
Nichts
+++ IM PARAMETER-SKRIPT +++
VALUES "gs_ui_current_page" 1, 2, 3
parameters gs_ui_current_page = GLOB_UI_BUTTON_ID
Der Parameter gs_ui_current_page mus als Ganzzahl definiert werden.
gruss koma