hallo
graag had ik een msgbox zelf ineen geknutseld
http://www.downloadcounter.com/cgi-bin/download.pl?username=ivanm&account=44
aan de hand van deze site heb ik het volgende trachten ineen te knutselen:
Option Explicit
Public b As Double
Public d As Double
Private Sub CommandButton1_Click()
Dim prompt As kt_MsgBoxPromptType
Call ktMsgBoxPromptTypeInit(prompt)
Dim rc As Variant
b = TextBox1.Value
d = TextBox2.Value
If b < d Then
rc = ktMsgBox(" de waarde van d > de waarde van b" _
, vbOKOnly, "fout in de dimensies !" _
, Top:=200, Left:=200 _
, BackColor:=vbWhite _
, IconFile:="g:\redshd.gif" _
, FontName:="Times New Roman" _
, FontSize:=9 _
, BackImage:="g:\naamloos.bmp" _
, ImageWidth:=280 _
, ImageHeight:=100)
TextBox1.BackColor = RGB(0, 255, 255)
TextBox2.BackColor = RGB(0, 255, 255)
Else
TextBox1.BackColor = RGB(255, 255, 255)
TextBox2.BackColor = RGB(255, 255, 255)
End If
End sub
ziet er iemand de fout? want ik krijg een foutmelding...
mataio
graag had ik een msgbox zelf ineen geknutseld
http://www.downloadcounter.com/cgi-bin/download.pl?username=ivanm&account=44
aan de hand van deze site heb ik het volgende trachten ineen te knutselen:
Option Explicit
Public b As Double
Public d As Double
Private Sub CommandButton1_Click()
Dim prompt As kt_MsgBoxPromptType
Call ktMsgBoxPromptTypeInit(prompt)
Dim rc As Variant
b = TextBox1.Value
d = TextBox2.Value
If b < d Then
rc = ktMsgBox(" de waarde van d > de waarde van b" _
, vbOKOnly, "fout in de dimensies !" _
, Top:=200, Left:=200 _
, BackColor:=vbWhite _
, IconFile:="g:\redshd.gif" _
, FontName:="Times New Roman" _
, FontSize:=9 _
, BackImage:="g:\naamloos.bmp" _
, ImageWidth:=280 _
, ImageHeight:=100)
TextBox1.BackColor = RGB(0, 255, 255)
TextBox2.BackColor = RGB(0, 255, 255)
Else
TextBox1.BackColor = RGB(255, 255, 255)
TextBox2.BackColor = RGB(255, 255, 255)
End If
End sub
ziet er iemand de fout? want ik krijg een foutmelding...
mataio