codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Trying to make backcolor change after I enter values  evermoor at 18:01 on Tuesday, April 13, 2010
 

Hi,

I am trying to make the backcolor change from Black to green on a bit map after I give x and y coordinates. I have two text boxes One for X: and the Other for Y.

My code looks like this:

Private Sub Text43_BeforeUpdate(Cancel As Integer)
Dim Image302 As Image
Dim Text598 As Integer
If Text43 = 5 And Text598 = 5 Then Image302.BackColor = vbGreen
End If
End Sub

It compiles but it doesn't work. Can anyone help please.

thank you so much.
Ever Moor










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: open excel file in html page
•  Java Generics, JPA 2, J2EE, JSF 2, GWT, Ajax, Oracle`s Java Strategies, Flex, iPhone, Agile ALM, Grails, Groovy at India’s No.1 Software Developer Conference
•  Trying to make backcolor change after I enter values
•  Re: Difference between two dates including From & To date
•  Disabe onbeforeunload event?
•  Re: MS Access connection in JSP
•  Re: execute linux commands in perl script
•  Re: Server Name or Address could not be resolved?
•  Re: is null or not an object error


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010