View Full Version : Web links
markstaylor
08-13-2004, 10:08 PM
Can you add a http link in a dialog.message command?
Mark
longedge
08-14-2004, 03:17 PM
Do you mean something like -
answer = Dialog.Message("Go to Web Site", "Do you want to go to the IR web site?", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);
if (answer==6)
then result = "http://www.indigorose.com/site/index.php"
else
result = Dialog.Message("Notice", "OK bye bye", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Application.Exit();
end
And then for your web object -
Web.LoadURL("Web1", result);
Intrigued
08-14-2004, 06:57 PM
Do you mean something like -
answer = Dialog.Message("Go to Web Site", "Do you want to go to the IR web site?", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON1);
if (answer==6)
then result = "http://www.indigorose.com/site/index.php"
else
result = Dialog.Message("Notice", "OK bye bye", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Application.Exit();
end
And then for your web object -
Web.LoadURL("Web1", result);
Another way would be to create a separate .exe file from AMS that has a Web Object the same (or close to) size as the Project dimensions. Next, create an HTML page with the link(s) you want them to be able to click. Then after creating such you can then put this new .exe in your original application and then use a File.Open action to show your message.
Tip: Turn off the scrollbars to give it a more 'flat' look. eg. <BODY scroll="no">Web Link Here</BODY>
Sincerely,
markstaylor
08-14-2004, 09:09 PM
Looking more for in the dialog message text to have a link.
For more information
contact us at www.testboxstudio.com
or write to us at .....
But i can do the .exe file no problem.
Thanks
Intrigued
08-14-2004, 10:46 PM
Looking more for in the dialog message text to have a link.
For more information
contact us at www.testboxstudio.com
or write to us at .....
But i can do the .exe file no problem.
Thanks
I agree... the Dialog.Message with clickable links would be nice.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.