Posted 26 Jul 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. Share this post Link to post Share on other sites
Posted 26 Jul 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) . . . Share this post Link to post Share on other sites
Posted 7 Sep 2014 Use a Super Genie Page to popup. You can then create as many text displaying lines as you wish. Share this post Link to post Share on other sites