|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
||||
|
||||
|
Put my vote in, again, for this suggestion.
|
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
It works fantastic
![]() Thanks man, you are a genius
|
|
#6
|
||||
|
||||
|
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. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
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.










Linear Mode

