![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: add scroll bar to a dialog box Topic Summary: Created On: 2-Dec-2004 23:12 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Easiest method, is to spawn new dialog box -- do the work and then close the dialog box to proceed. Dialog boxS can be made to be independent of each other if you want. This is not as sophisticated as tabs -- but it can get the desired results. | |
![]() |
|
Is there a way to add a scroll bar to a huge dialog box?
Thanks! Catherine |
|
![]() |
|
![]() |
|
You cannot add scroll bars to dialog boxes.
Perhaps using tabs may be a better solution? ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
I have TABs on one of my dialogs. It was a nightmare. I had to write 4 or so library functions and call each function for each DBE I was using. You couldn't say "this tab is active" and then put your DBEs. You had to put all your DBEs and then remove the top/left/right/bottom connections of each, put it in the correct TAB, then reconnect it up where you want. You then had to define hide/show functions in a tab-callback-function. Yuuuuuck.
Is there a better way? - Louie |
|
![]() |
|
![]() |
|
there shouldn't be any need to adjust connections to DBEs - you only need to do this once when you create each tab, then use show/hide to display the DBEs you need
there are some helper functions in /utils/tabUtils.inc... showElements(Skip elementsSkip) hideElements(Skip elementsSkip) showSelectedTab(Skip tabSkip,int selection) if you create a skiplist of skiplists Skip tabSkip then create a skiplist for each tab then, for each tab, create each DBE element, arrange it on the dialog, then add it to the skiplist then add each skiplist to tabSkip with the tab index as the skiplist index then you can use the above helper functions to automatically do the hiding/showing when you define a tabbed dialog, you specify a selection function callback, e.g... theTabbedDB = tab(parentDB, TabLabels, 500, 400, TabSelectionFn) void TabSelectionFn(DBE whichTab) { int selection = get whichTab showSelectedTab(tabSkip,selection) } all the helper function does is to call "hide" for all elements not in the selected tab and "show" for all elements in the selected tab. still yuck, but a bit tidier. |
|
![]() |
|
![]() |
|
Easiest method, is to spawn new dialog box -- do the work and then close the dialog box to proceed.
Dialog boxS can be made to be independent of each other if you want. This is not as sophisticated as tabs -- but it can get the desired results. |
|
![]() |
|
![]() |
|
Thanks a lot for all the great feedback. I think I will go with using multiple dialog boxes.
Catherine |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
add scroll bar to a dialog box
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.