Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tom van de poel

Pages: [1]
1
General Board / Win32 Checkbox
« on: December 06, 2013, 12:38:28 am »
Using the toolbox Win32 User Interface Modelling and modelling a (win32) Checkbox. Now I want to "check" the checkbox, because in the specifications it needs to be.
Still can't find where / how to do that.

2
Automation Interface, Add-Ins and Tools / Re: Show tags automatically
« on: October 15, 2013, 04:54:10 am »
Well just finished coding with the following and it works. Not all the subroutines included but just for the idea ;)

Code: [Select]
Private Sub UpdateFeatureTags(eaConn As EAConnector, lsObjectID As String
    Dim SQL   As String
    Dim IDs() As String
    
    SQL = "SELECT objectstyle FROM t_diagramobjects WHERE object_id=" & lsObjectID
    If BuildArrayFromSQL(eaConn.EARepos, SQL, "objectstyle", IDs) Then
        eaConn.EARepos.Execute ("update t_diagramobjects set objectstyle = '" & IDs(0) & ";Tag=1;AttCustom=0;OpCustom=0;RzO=1;;10199;' where object_id = " & lsObjectID)
    End If
End Sub

3
Automation Interface, Add-Ins and Tools / Re: Show tags automatically
« on: October 15, 2013, 02:12:18 am »
Ok firing a SQL query something like update t_diagramobjects set objectstyle with the string "tag=1" will do the job?
Lets try :)

4
Automation Interface, Add-Ins and Tools / Show tags automatically
« on: October 15, 2013, 12:59:43 am »
I wrote a script which creates elements and with tagged values. Also it draws the elements automatically on a diagram. So far so good.
Now i'm trying to find how to display the tagged values automatically.
Read the book Scripting EA, search the internet, but can't find the right method or property.

Somebody can help?

Pages: [1]