The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dialog pages
Author Message
richm
Journeyman
*

Posts: 58
Likes Given: 4
Likes Received: 4 in 3 posts
Joined: Aug 2014
Reputation: 0



Post: #1
dialog pages
Hello

Can someone explain the correct way to call different pages in dialogs? Ive never used them before Confused

I have created a dialog with 2 "pages" in GumpStudio. Page 0, 1 and 2.

I know page 0 is effectively background for the whole dialog, and Page 1 is the "start" page for the dialog.

I have 1 button on Page 1 and 1 button on Page 2. The idea is that Page 1 button opens page 2, page 2 button goes back to page 1. Like a forward/backwards button.

ON=0 // PAGE 1 BUTTON
SRC.DIALOG d_resources 2 //This seems to work
return 1

ON=1 //PAGE 2 button
SRC.DIALOG d_resources 1 //This seems to work also
return 1

However, despite "noclose" not being set, if I type the command to call the dialog at page 1 and then right click, it opens page 2. If i right click that it just stays there when it should close?




Also, the "x, y" part of the dialog seems to make no difference what so ever?

this is the bit i mean...

[DIALOG d_whatever]
50, 50 <-----------------------

I can set this to 0, 0 or 500, 500 and it doesn't change the location of the dialog when it pops up. Any ideas?

Thanks all
08-11-2014 02:35 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
dialog pages - richm - 08-11-2014 02:35 AM
RE: dialog pages - darksun84 - 08-11-2014, 03:17 AM
RE: dialog pages - richm - 08-11-2014, 06:35 AM
RE: dialog pages - darksun84 - 08-11-2014, 06:58 AM
RE: dialog pages - richm - 08-11-2014, 07:12 AM
RE: dialog pages - eberk - 08-11-2014, 10:15 AM
RE: dialog pages - Coruja - 08-11-2014, 10:41 AM
RE: dialog pages - richm - 08-11-2014, 06:09 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)