cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Make an extra page

Anonymous
Not applicable
Hello everyone,
I am currently struggling with gdl objects more specifically user interface scripting.
I would like to create an extra page in the dialog box. Can anyone help me with that?
5 REPLIES 5

Barry Kelly
Moderator
That depends on how the pages are scripted.
Are you using the Hierarchial Pages?


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Anonymous
Not applicable
I have attached a screenshot of the interface script. I have to say that I am really new at this and I am just trying to learn. I felt like I have to mention that in case the answer was really obvious and under my nose the whole time

Barry Kelly
Moderator
Ah, you are trying to edit a Graphisoft object.
Good Luck

Yes it is using Hierarchical pages (the button at the top is active).

However this script is CALLing another - "Kitchen Cabinets UI macro"

If you open that you will see the script you need to edit.
But I don't fully understand it.
Maybe someone else can help.


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Peter Baksa
Graphisoft
Graphisoft
Normally you'd start a new page by simply writing
UI_PAGE id, -1, "title", ""
(The id's have to be continuous)

In this case "Kitchen Cabinets UI macro" restricts the possible pages, using a command in the parameter script:
values "gs_ui_current_page" get(nsp)
gs_ui_current_page is a special parameter, using VALUES on it limits the possible pages. So you need to modify the macro too if you need to extend it.
Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest

Barry Kelly
Moderator
Peter wrote:
In this case "Kitchen Cabinets UI macro" restricts the possible pages, using a command in the parameter script:
values "gs_ui_current_page" get(nsp)

Thanks Peter.


Barry.

One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!