Hello!
I'm writing application in Scada-iFIX. I’m new in iFIX and I need some help with my application. In application will be sixteen boxes. I want to write a code which will modify width and height of all sixteen boxes when button is pressed. Size unit must be millimeter. So far I wrote:
Private Sub SetSize()
Dim visina
Dim sirina
ActiveDocument.unit = cdrMillimeter
visina = CDbl(Sprememba.TextBox1.Text)
sirina = CDbl(Sprememba.TextBox2.Text)
Set Shape = Pic.BuildObject("KVADRAT")
With Shape
.height = visina
.width = sirina
End With
End Sub
Can you help me?
I'm writing application in Scada-iFIX. I’m new in iFIX and I need some help with my application. In application will be sixteen boxes. I want to write a code which will modify width and height of all sixteen boxes when button is pressed. Size unit must be millimeter. So far I wrote:
Private Sub SetSize()
Dim visina
Dim sirina
ActiveDocument.unit = cdrMillimeter
visina = CDbl(Sprememba.TextBox1.Text)
sirina = CDbl(Sprememba.TextBox2.Text)
Set Shape = Pic.BuildObject("KVADRAT")
With Shape
.height = visina
.width = sirina
End With
End Sub
Can you help me?