changing a LET property with VBscript in a webpage? 
Author Message
 changing a LET property with VBscript in a webpage?

Hi,

Another question about LET property defined in a VB project and changing
its' value in a VBScript in a webpage.
Again, it's a simple textbox (text1) with a LET property for the backcolor:

Public Property Let bckcolor(ByVal vNewValue As OLE_COLOR)
Text1.BackColor = vNewValue
PropertyChanged "BckColor"
End Property

I tried this in a webpage:
<OBJECT id="test"
classid="clsid:2955A3DA-3D24-4E19-9EB6-22FDE513C7CF">
</OBJECT></BODY>
<script language=vbscript>
sub test_onclick()
test.bckcolor="255"
end sub
script>

But it doesn't work. Any idea?
thanks
dave



Fri, 07 May 2004 19:29:44 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. VBscript in webpage changing LET property?

2. Changing text on a webpage with vbscript

3. property get / property let

4. Property Let, Property Get

5. VBScript engine doesn't let VBScript runs???

6. Property Let vs. Property Set

7. How to get/change Offline-property of Outlook-Folders with VBScript

8. property let and get,

9. Property Get, Set Let with Classes

10. Error 451: let property not defined

11. Property Let Procedure Error

12. VBScript for Webpage-How do I test for a file using %windir%\

 

 
Powered by phpBB® Forum Software