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 - alvinhsieh

Pages: [1]
1
General Board / Can I Disable Image auto Resize in Diagram ?
« on: August 22, 2007, 12:50:53 am »
in V7.0 B815  Image in diagram was auto resize, how to disable it  ???

2
Set att = Elm.Attributes.GetAt(f)
att.Update
att.Scale =1

assign integer ,result is same.

3
in help->
mk:@MSITStore:C:\Program%20Files\Sparx%20Systems\EA\EA.chm::/attribute.htm
scale attribute is  String
'Scale  String  Read/Write.  Scale value. '

this problem seem come from VB6 ,because  in design time VB6 IDE  'att.scale ="10"' will turn to red.

4
VB6 can't recognize This line' att.scale ="10" '

But,in debug windows i can print  att.scale.

5
Automation Interface, Add-Ins and Tools / can't set  scale  Attribute ???
« on: September 19, 2006, 10:42:52 pm »
For f = 0 To elm.Attributes.count - 1

Set att = elm.Attributes.GetAt(d)

att.Scale="10"

Next
,
i can print att.scale ,but can't setting it ?
please help me
thanks


6
Hi,
Has Any Keyword can show Link's Stereotype AND Link's Name  in

HTML TEMPLATE ->'Link Line Item' Session.
I Was Try #STEREOTYPE# ,but  not work. ???

7
HI,
'How can I use Package's Element to get Package's PackageGUID ???
'in some case  The Package's Element's ElementGUID  is not EQ. Package's PackageGUID ???
'EA 6.1-B791,JET3.5 , VB6
'-----------------------------
Public Function Check_Package(ByVal o_package As EA.package) As String
Dim pkg As EA.package
Dim C_package As EA.package
Dim x As Integer
Dim Elm As EA.Element

Set Elm = o_package.Element
 
 
  If Elm.ElementGUID <> o_package.PackageGUID Then
 
 
  Stop

   
 End If
 
   For x = 0 To o_package.Packages.count - 1
      Set pkg = o_package.Packages.GetAt(x)

        Call Check_Package(pkg)
        DoEvents
   Next
 

End Function

Pages: [1]