manowar Posted July 26, 2013 Report Posted July 26, 2013 Hello. First, sorry about my poor english. I'm trying to add all variables (values) on page while running citect scada. I tried this with DspText() function, but I can't include X,Y coordinates where to put this text. What I would like to do is: - On a page i would click a button. - With this button I would start Cicode function - Cicode function would read all variables in var_list.dbf using DevOpen command (this is allready working). - At the same time, the function would draw value of each variable on page (using some increment function for X, Y coordinates). - Like in Visual basic's command Dim c As Control ' Create and add the new control. Set c = Controls.Add("VB.TextBox", "Text1") ' Make the new control visible. c.Visible = True ' Set the initial text. c.Text = "Hello" Can something be done in CITECT? Thanks.
manowar Posted July 26, 2013 Author Report Posted July 26, 2013 Hello. Since now I have found this "solution" But the problem is that this function creates new form. The form is limited to 131 pixels width and 131 pixels heigth. What I would like to do, is to put text to opened page. Not creating new FORM and use it to display values... Any ideas? . . . hform = FormNew("Kurac Palac", 131, 55, 1+2+4+8); FormField(j, i, 19, 1, 3, sLine, sLine, 0); FormButton( 1, 52, " &Cancel ", 0, 2); FormRead(0) . . .
Dippy Posted September 7, 2014 Report Posted September 7, 2014 Use a Super Genie Page to popup. You can then create as many text displaying lines as you wish.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now