Indigo Rose Software
  #1  
Old 12-21-2007
FoxLeader's Avatar
FoxLeader FoxLeader is offline
Forum Member
 
Join Date: Nov 2006
Location: Quebec, Canada.
Posts: 432
Web Object border mode

Hello,

In listbox, combobox and others, border mode is pretty useful. It allows them to be nearly seemlessly integrated in the application, however the IE object has that f*** (sorry, I'm just frustrated because this destroys my app design) border and the scrollbar is always there.
Wouldn't it be possible to choose, like "Vertical:Auto/On/Off", "Horizontal: Auto/On/Off and Border Mode: None/Flat/Sunken/Custom Colour).
Note that the "Custom Colour" would be helpful on much of this type of "embedded" objects.

Thanks and sorry for botering you guys with my personal frustration

Regards,
FoxLeader
Reply With Quote
  #2  
Old 01-02-2008
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
Hi FoxLeader,

Thanks for the suggestion, I have made a note of it in our database. Since the Web object uses the Internet Explorer we are sometimes hamstrung by the options that it makes available, however will will look into this and see what we can do.

REF: 17091
__________________
MSI Factory The Next Generation Intelligent Setup Builder
Reply With Quote
  #3  
Old 01-02-2008
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,059
Put my vote in, again, for this suggestion.

__________________
Intrigued
www.amsuser.com
Reply With Quote
  #4  
Old 01-04-2008
Ulrich's Avatar
Ulrich Ulrich is offline
Indigo Rose Staff Member
 
Join Date: Apr 2005
Location: Sao Paulo, Brazil
Posts: 823
Hello FoxLeader,

I had the same problem with the border and the right scrollbar of the web object. But then I figured that I could mask out the borders of the object and have it showing seamlessly on the screen. It takes one line of Lua script and one additional image to make it work. You may want to try this...

Say, for example, that you have a page that you wish to have occupy exactly 380×60 pixels on the screen. You have to size the web object to 405×64 pixels. This corresponds to 2 additional pixels for the border around the window, plus an extra 21 pixels for the vertical scrollbar at the right.

Then place something like this in the OnLoaded script for the web object:

Window.SetMask(Web.GetProperties("webobj").WindowH andle, "AutoPlay\\Images\\mask.png", false, 0);

The example PNG mask.png image to mask out the borders is here:


Now all that remains is the web window you wanted (the white area in the mask), without the annoying borders. Hope this helps or gives some ideas.

Cheers,
Ulrich

Last edited by Ulrich; 01-04-2008 at 02:27 PM.
Reply With Quote
  #5  
Old 01-04-2008
nicoh nicoh is offline
Forum Member
 
Join Date: May 2007
Posts: 52
It works fantastic

Thanks man, you are a genius
Reply With Quote
  #6  
Old 01-08-2008
FoxLeader's Avatar
FoxLeader FoxLeader is offline
Forum Member
 
Join Date: Nov 2006
Location: Quebec, Canada.
Posts: 432
Hello,

Thanks to everybody. Upeter's workaround is probably the best way, and it will work for now.

Maybe an idea on how to do this would be to add an option, in the attributes of the object, to mask it (the same way we can choose an image to mask the page). This would not be exactly the complete solution I wanted, however this would remove some lines of code, which I think is important to help have an easy to debug/work-on app.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Object Right Click Management Roboblue AutoPlay Media Studio 7.5 Examples 9 12-24-2007 02:56 PM
Removing Web Object Border d3m0n1x AutoPlay Media Studio 6.0 3 04-27-2006 05:57 PM
Delete the border in web browser object? xtreme AutoPlay Media Studio 4.0 3 10-26-2003 06:28 PM
HOW TO: Return a Web Browser Object to the Original URL after a Page Jump Support AutoPlay Media Studio 4.0 Examples 0 02-03-2003 10:18 AM
INFO: Minimum requirements for the Flash Object, Media Player Object, and Web Browser Object Support AutoPlay Media Studio 4.0 Examples 0 10-04-2002 11:09 AM


All times are GMT -6. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software