![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: User Interface Code - Reuse SA UI components?lik Topic Summary: Can you reuse existing SA native UI components rather than VBA forms? Created On: 16-May-2007 15:41 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Is there anyone who knows whether you can address the inbuilt SA user interface components like the explorer, referenced by dialog, chooser dialog etc. Could SAUI / SADISPLAY be used in VBA code - I can't deduce how the functions are supposed to hang together. |
|
![]() |
|
![]() |
|
Although it is not possible to re-use the referenced-by browser, it is possible to create your own explorer, which lists specific types. These would be the same as the mini-explorers shown from SA's frameworks.
I'm guessing you might want your list of items to be more specific than just filtered by types though? If you are happy to program against the SA Object Model in Visual Basic (not VBA), it is possible to write a User Control which you could host in a docked window within SA. This is not as complex as it sounds. User Controls are very little more than forms, and the hosting in SA is a simple call consisting of the ActiveX control to host. As to the drag and drop code, we can supply a sample which works with VB/VBA, which allows the same behaviour as SA for dropping items onto diagrams. If you would like some more details on any of those topics I should be able to assist. Thanks Ian ------------------------- Senior Software Developer Telelogic UK Ltd. |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.