RestoreGameDialog(); from Hotspot works but no color change for GUI

Started by barefoot, Wed 14/04/2010 20:04:49

Previous topic - Next topic

barefoot

Hi

I have used

Code: ags

function hHotspot1_Interact()
{
  RestoreGameDialog();
}



To work from a text Hotspot Load Game at start option.

It works ok, except that although I have changed its GUI colours it still appears Grey...although changes are seen if loading from Top display GUI.

I note that the GUI name is gRestoreGame..

Any thoughts/help appreciated


barefoot






I May Not Be Perfect but I Have A Big Heart ..

Khris

RestoreGameDialog() always opens the internal (grey) dialog.
To use your own, simply call
  gRestoreGame.Visible = true;

barefoot

Excellent..  works as i wanted it to..

something else ive learnt..

many thanks khris

barefoot
I May Not Be Perfect but I Have A Big Heart ..

SMF spam blocked by CleanTalk