Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic System Architect (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 16-May-2007 15:41
User is offline View Users Profile Print this message


Tim Jones

Posts: 6
Joined: 20-Jul-2006

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.

The principal reason for wanting this is to be able to create more focussed explorer / chooser windows, especially for the large definition collections and wanting to reuse the windows drag drop built in to create diagrams quickly.

Since these windows would be used very frequently it would be nice to be able to display them in the SA interface itself with its more recent docking behaviour, rather than in VBA windows.

Thanks,

Tim

Report this to a Moderator Report this to a Moderator
 17-May-2007 14:42
User is offline View Users Profile Print this message


SA Team

Posts: 148
Joined: 18-Nov-2005

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.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic System Architect forum.
There are currently 1 users logged in.
The most users ever online was 16 on 30-Oct-2008 at 14:46.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.