[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2587.0. "Problem with multiple UID's" by STKHLM::MNILSSON (Mats Nilsson, ACT - Stockholm) Tue Apr 10 1990 02:53

    In the interest of "objectorientedness" I would like to use separate
    UID-files for each "object" (may be a dialog box) as opposed to one 
    big file. What I try to do is the following:
    
    open hierarchy (file = main UID)
      fetch main window
    close hierarcy
    main loop
    
    when an event triggers instantiation of "object":
    open hierarchy (file = dialog UID)
    	fetch dialog box
    close hierarchy
    
    The problem is that the fetch dialog box doesn't work - it does not
    find the dialog box. Open hierarchy doesn't return an error. 
    
    Any ideas ?
T.RTitleUserPersonal
Name
DateLines
2587.1Is anybody out there ?STKHLM::MNILSSONMats Nilsson, ACT - StockholmTue Apr 17 1990 08:083
    Was the question to silly to deserve an answer or.... ?
    
    Mats
2587.2One ideaTOOLEY::B_WACKERTue Apr 17 1990 10:582
I think you're supposed to give it the whole list of files and open 
hierarchy once.
2587.3Ok, but it's not what I wantSTKHLM::MNILSSONMats Nilsson, ACT - StockholmThu Apr 19 1990 03:515
    I know... but that would be inconsistent with my OO-Design. There must
    be sombody who can tell me if the scenario in .0 is supposed to work or
    not. Nothing in the documentation says it's not allowed. 
    
    
2587.4Should work...LEOVAX::TREGGIARIThu Apr 19 1990 08:577
    What you are doing should work (but I'm not sure it's a good idea
    for performance reasons.).  There is a version of UIL (I think
    it's DECWindows V2) that has a bug where it sometimes can't
    fetch objects by their name.  You might try the CLT::UIL-DRM
    (I think it's called) conference for more information.
    
    Leo