Changeset 785


Ignore:
Timestamp:
Aug 8, 2013, 10:27:45 AM (12 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: Rearrange SMBMon pages

Location:
trunk/guitools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/shared/smbtree.vrs

    r784 r785  
    628628    interpret dyn
    629629    ok = stream(msgfile,'c','close')
    630     /* if delMsgFile <> "NODEL" then ok = SysFileDelete(msgfile) */
     630    if delMsgFile <> "NODEL" then ok = SysFileDelete(msgfile)
    631631   
    632632    drop msgfile msgstem
  • trunk/guitools/smbmon/smbmon.vrp

    r784 r785  
    88VRXWindow: __VREMainWindow,1,2180,3614,1024,6769
    99VRXWindow: __VRESectionListWindow,1,4083,11226,7372,6589
    10 VRXWindow: __VREToolsWindow,1,2156,1494,4968,1665
     10VRXWindow: __VREToolsWindow,1,2156,1494,5471,1659
    1111VRXWindow: __VREWindListWindow,1,964,11708,3132,3150
    1212UserFile: 1
  • trunk/guitools/smbmon/smbmon.vrx

    r784 r785  
    11251125_TabbedDialogSetup:
    11261126    IF options.!debug == 1 THEN SAY time()' _TabbedDialogSetup started'
     1127    w = VRLoad( "TDL_1", VRWindowPath(), "SW_DAEMONS" )
     1128    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(18)" ")
     1129
     1130    w = VRLoad( "TDL_1", VRWindowPath(), "SW_SMBTREE" )
     1131    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(19)" ")
     1132
    11271133    w = VRLoad( "TDL_1", VRWindowPath(), "SW_USERS" )
    11281134    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(15)" ")
     
    11331139    w = VRLoad( "TDL_1", VRWindowPath(), "SW_SERVICE" )
    11341140    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(17)" ")
    1135 
    1136     w = VRLoad( "TDL_1", VRWindowPath(), "SW_DAEMONS" )
    1137     ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(18)" ")
    1138 
    1139     w = VRLoad( "TDL_1", VRWindowPath(), "SW_SMBTREE" )
    1140     ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(19)" ")
    11411141
    11421142    w = VRLoad( "TDL_1", VRWindowPath(), "SW_SETTINGS" )
     
    19921992    say "  CurrentPageNr = "CurrentPageNr
    19931993
    1994     if CurrentPageNr = 5 then do
     1994    if CurrentPageNr = 2 then do
    19951995        ok = VRset("Pict_Throbber", "Visible", 1)
    19961996        ok = VRset("TM_Throbber", "Enabled", 1)
     
    24282428    ok = VRSet("DT_STATUSBAR","Caption", VRGet("Main", "HintText"))
    24292429    /* call _TabsStrip */
    2430    select
    2431         when page = 1 then do /* Users */
    2432             nop
    2433         end
    2434         when page = 2 then do /* files */
    2435             nop
    2436         end
    2437         when page = 3 then do /* service */
    2438             nop
    2439         end
    2440         when page = 4 then do /* daemons */
     2430    select
     2431        when page = 1 then do /* daemons */
    24412432            ok = VRSet("TM_RefreshDaemons","Enabled", 1)
    24422433            ok = VRSet("TM_RefreshDaemons","Delay",   3000)
    24432434        end
    2444         when page = 5 then do /* smbtree */
     2435        when page = 2 then do /* smbtree */
    24452436            ok = VRMethod( "CN_SMBTree", "GetRecordList", "All", "handle." )
    24462437            /* if the page is empty, populate it */
    24472438            if handle.0 = 0 then call PB_Refresh_Click
     2439        end
     2440        when page = 3 then do /* Users */
     2441            nop
     2442        end
     2443        when page = 4 then do /* files */
     2444            nop
     2445        end
     2446        when page = 5 then do /* service */
     2447            nop
    24482448        end
    24492449        when page = 6 then do /* Settings */
Note: See TracChangeset for help on using the changeset viewer.