Hello,
I have the following question:
on a screen I have some ActiveX controls (piping), I made 2 pipe systems, like Hot and Cold. So I named this controls hotLine1, hotLine2 etc and coldLine1, coldLine2 etc..
Now I would like to change the fillColor of these controls like following (pseudocode):
*****
long int red = 255;
long int blue = 125465;
FOR (all controls in this screen)
IF (control.Name contains "hot") THEN SetFillColor(lpszPictureName,control, red)
ELSE IF (control.Name contains "cold") THEN SetFillColor(lpszPictureName,control, blue)
END IF
******
can somebody please help me to program this?
ThanK you very much,
Tom
I have the following question:
on a screen I have some ActiveX controls (piping), I made 2 pipe systems, like Hot and Cold. So I named this controls hotLine1, hotLine2 etc and coldLine1, coldLine2 etc..
Now I would like to change the fillColor of these controls like following (pseudocode):
*****
long int red = 255;
long int blue = 125465;
FOR (all controls in this screen)
IF (control.Name contains "hot") THEN SetFillColor(lpszPictureName,control, red)
ELSE IF (control.Name contains "cold") THEN SetFillColor(lpszPictureName,control, blue)
END IF
******
can somebody please help me to program this?
ThanK you very much,
Tom