Search:

Type: Posts; User: HMIdeveloper123

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    296

    Re: Align Static Text on Screen

    Sorry, 1= left.
  2. Re: Setting dyn proprties for BackColor & LinkedFont to indexed values

    I have got values which work experimentally.<br><br>For font it seems all you need is the dynProperties("Font") = 2 (or whatever the index is in the font table)<br><br>For the colour from the palette...
  3. Replies
    2
    Views
    296

    Re: Align Static Text on Screen

    Did some experimenting on this as I was curious while investigating a similar issue.<br><br>For some reason the values seems to be:<br><br>Left = 0<br>Center = 8<br>Right = 4<br><br>Found these by...
  4. Re: Setting dyn proprties for BackColor & LinkedFont to indexed values

    If I do DynPropertiesEnum("") for the particular object I'm trying to apply these to (a button) then I find that there isn't a 'LinkedFont' property, but there is a 'Font' property.<br>The font as...
  5. Setting dyn proprties for BackColor & LinkedFont to indexed values

    Hi,<br><br>I'm trying to set the DynProperties for an element but its not liking it as I'm trying to set them to 'linked' values.<br>
    elbutton.DynProperties("BackColor") = "8000000E"<br><br><br>...
  6. [SOLVED] Re: Problematically creating symbols - unique PropSymbolNumber

    Ok, never mind I have realised how to do this.<br><br>Instead of creating a blank symbol using elements.create, I used the .InsertSymbol method instead (it seems to assign a sensible...
  7. [SOLVED] Problematically creating symbols - unique PropSymbolNumber

    Hi,

    I'm using some code to create linked symbols on a screen & have run afoul of not using unique Symbol numbers (Dynproperty PropSymbolNumber).

    Is there a method to check for existing values?...
  8. Re: Multiple binary inputstest to analogue value

    Ursula,<br><br>Thanks for the reply.. I will certainly give that a try, although I was hoping there would be way to do this without using Zenon Logic... in the editor only. Is there at least a way...
  9. Multiple binary inputs to analogue value

    Can anyone give some thoughts on the best way to take multiple single binary inputs and convert them to an analogue value?

    We have a tap changer which gives us discrete binary output for each tap...
  10. Replies
    0
    Views
    1,942

    64-bit VBA code for file browse

    In case anyone needs to get a 64-bit file browser working here's how I got it to work (code adapted from code written by someone much smarter than me online).<br><br>I used this code for browsing...
  11. [SOLVED] Re: 32bit VBA editor not working, but 64bit does

    To anyone experiencing the same issue, this was fixed by uninstalling &amp; then reinstalling Zenon.
  12. [SOLVED] Re: How to programmatically set the reaction matrix?

    I've written a function to do this now, so will post here in the spirit of Cunningham's law..


    Public Function GetRemaIndex(RemaName As String) As Integer


    Dim i, j As Integer
    j =...
  13. [SOLVED] Re: How to programmatically set the reaction matrix?

    so I have been able to set this based on the post here:<br><br>https://forum.copadata.com/showthread.php?3417-Rema-Object-einem-Limit-zuordnen&amp;highlight=dynproperties<br><br>only using the 'ID' of...
  14. [SOLVED] How to programmatically set the reaction matrix?

    Hi,<br><br>I'm trying to create a macro that will create new variables in the editor.&nbsp;<br><br>I can set properties such as net address &amp; offset, but if I try to set the reaction matrix this way...
  15. [SOLVED] 32bit VBA editor not working, but 64bit does

    Hi,<br><br>I'm trying to load the VBA editor window from Zenon 32 bit editor, but when I click on it nothing happens. If I instead load the 64bit Zenon editor I can launch the VBA editor no problem....
  16. [SOLVED] Re: Send control when unack alarm is raised

    Thanks, I went back through my project &amp; realised I was missing something (I had put it in ealrier for testing &amp; then deleted as I thought it wasnt working), which is why it did not work as...
  17. [SOLVED] Re: Send control when unack alarm is raised

    <br>
    <br><br>Ursula,<br><br>Thanks for the feedback. I can see now how to assign a variable for no unacknowledged alarms, and I have linked my reaction matrix which contains the functions for On &amp;...
  18. [SOLVED] Re: Send control when unack alarm is raised

    Ok, more rambling...<br><br>I can set up the alarm group to trigger my 'on' function when any alarms in that group are activiated via the function option for the group. I can then change my R.M. for...
  19. [SOLVED] Re: Send control when unack alarm is raised

    Ok, I have half answered my own question now.<br><br>I used 2 functions to 'write set value' directly to my variable. I had to set the value to 3 (latch on) for alarm on &amp; 4 (latch off) once...
  20. [SOLVED] Send control when unack alarm is raised

    Afternoon,<br><br>I was wondering what the best method would be for activating a control output when there are unacknowledged alarms standing in the system.<br><br>In my case I would like to activate...
  21. Replies
    4
    Views
    1,267

    [SOLVED] Re: Tab navigation issues

    Ok, I seem to have this working as per the example, which is ok.

    The issue seemed to be with my actual username / password text objects. To make it work as per the example I had to untick the...
  22. Replies
    4
    Views
    1,267

    [SOLVED] Re: Tab navigation issues

    Steffi,

    thanks for uploading this example... I can see in the example that it does work (although you must press enter first before tab will move to the next box).

    As far as I can see I have...
  23. Replies
    4
    Views
    1,267

    [SOLVED] Tab navigation issues

    Hi,

    I've been trying to get text box tab navigation working as per this thread: https://forum.copadata.com/showthread.php?960-Textbox-navigation-with-tab-key/

    When calling my screen, I run a...
  24. [SOLVED] Re: Format control element text (response variable)

    Ok, thanks Ursula. At least I know for now it can't be done... maybe for my next project when 7.60 is ready :)
  25. [SOLVED] Format control element text (response variable)

    Hi,

    I'm trying to make my command processing window look nice. It seems from my inital testing that it isn't possible to format text which is placed on the window as a "TYP: STATIC" i.e. Response...
Showing results 1 to 25 of 29
Page 1 of 2 1 2