OpenDCL Forums <-- Back to OpenDCL.com
September 09, 2010, 02:46:32 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Login Register  
Pages: [1] 2
  Print  
Author Topic: Border Style with Html control  (Read 1476 times)
velasquez
Sr. Member
****
Posts: 278


« on: February 04, 2010, 10:16:51 AM »

The property BorderStyle doesn't work correctly with Html control. 

See the two calls in the way with the control.

BorderStyle.gif
Logged
owenwengerd
Global Moderator
Hero Member
*****
Posts: 1678


WWW
« Reply #1 on: February 04, 2010, 01:27:24 PM »

I believe the HTML control is hosted inside another window; is the problem that the inner control does not honor the border style setting of the outher host window?
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #2 on: February 04, 2010, 03:30:06 PM »

Excuse me I didn't understand your question. 
I made the tests with HTML.odcl of the directory Samples of OpenDCL.

Logged
owenwengerd
Global Moderator
Hero Member
*****
Posts: 1678


WWW
« Reply #3 on: February 04, 2010, 05:04:26 PM »

Sorry, I'm not sure what the problem is.
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #4 on: February 04, 2010, 05:47:34 PM »

Sorry, it should be some problem with my form.   
I will see this better.
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #5 on: February 06, 2010, 11:11:10 AM »

I got to reproduce the problem with the property Border Style of the control HTML. 
The problem appears when the property Allow Resizing in the form is FALSE. 
I posted the modified file. 
Thanks

 
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #6 on: February 06, 2010, 11:13:34 AM »

Sorry 
It follows the file.

BorderStyle.png
HTML.odcl
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #7 on: February 06, 2010, 12:30:29 PM »

I made other tests to reproduce my project. 
The problem with Border Style happens in all situation. 

I hope to help with the files.

Thanks

HTM-Control.LSP
MyHtm.odcl
Logged
owenwengerd
Global Moderator
Hero Member
*****
Posts: 1678


WWW
« Reply #8 on: February 06, 2010, 09:43:19 PM »

I still don't understand what the problem is. I tested your project, but I don't see any difference no matter whether form resizing is enabled or disabled.
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #9 on: February 07, 2010, 02:45:52 AM »

Sorry my English is not good.
 
These images show the problem better with the property Border Style of the control HTML. 
I made the tests with AutoCAD 2006-09-10 working with WINDOWS XP.

HTML In OpenDCL STudio.png
HTML in AutoCAD 2006-09-10.png
Logged
owenwengerd
Global Moderator
Hero Member
*****
Posts: 1678


WWW
« Reply #10 on: February 07, 2010, 06:57:42 AM »

What does it look like if you clear the loaded page?  What exactly changes if the form is resizable?
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #11 on: February 08, 2010, 03:54:38 AM »

The property Allow Resizing is same FALSE in this form. 

Sorry, as I can clear the loaded page? 
Will this make the borders of the control HTML they disappear?
I didn't see a function for this.

Thanks
Logged
owenwengerd
Global Moderator
Hero Member
*****
Posts: 1678


WWW
« Reply #12 on: February 08, 2010, 06:17:42 AM »

You can navigate to "about:blank" to clear the HTML.  I ssume the border is part of the document.  My suggestion is to test this by loading an empty document.
Logged
velasquez
Sr. Member
****
Posts: 278


« Reply #13 on: February 09, 2010, 04:56:34 AM »

Hello Owen
 
1 - I worked with (dcl_Html_Navigate MyHtm_BorderTest_Html1 " about:blank ") to clean the control, but the border is still shown. 
2 - the same thing happens if I work with an empty document. 
3 - if I don't work with dcl_Html_Navigate the property BorderStyle works well. 

Thanks
Logged
owenwengerd
Global Moderator
Hero Member
*****
Posts: 1678


WWW
« Reply #14 on: February 10, 2010, 06:58:19 PM »

I have investigated this further, and as I suspected, the border is part of the HTML document.  There is a flag that removes the document border, so I have changed the code for the next build to remove the document border.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!