Changeset 894


Ignore:
Timestamp:
Mar 12, 2016, 2:44:59 PM (9 years ago)
Author:
Alex Taylor
Message:

Various UI tweaks, see changes for details. Enabled detection of Blue Lion system. Added some missing icons.

Location:
trunk/guitools
Files:
3 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/guitools/evfsgui/changes

    r875 r894  
    1313  under all conditions
    1414 
    15 Version 2.5.0 2014-??-??
     15Version 2.5.0 2016-??-??
     16+ Added: [ALT] Now detects whether running under Blue Lion OS
     17+ Added: [ALT] "Trac wiki markup" setting on About window now saved in INI
     18! Fixed: [ALT] "Trac wiki markup" setting on About window is now honoured correctly
     19+ Added: [ALT] Implemented better fallback logic for locating plugin when look4dll
     20               is not present
     21* Changed: [ALT] Copying About string to clipboard now adds tabs for readability
     22* Changed: [ALT] Removed enforcement of minimum frame size and replaced with logic
     23                 to switch from resizing to clipping below a certain size; this
     24                 fixes nasty jittering and inconsistent sizing behaviour when
     25                 resizing, especially on low resolution screens.
     26* Changed: [ALT] Language file stem is now limited to the first 6 characters of
     27                 the executable name.
    1628+ Added: Detect when master browser suffers from broken databases
    1729+ Added: If browsing is not allowed for user, retry as guest (useful for print
  • trunk/guitools/evfsgui/evfsgui.vrp

    r875 r894  
    33VRX: wps_open.VRX
    44VXOFile: VROBJEX
     5VXOFile: VRSPLIT
    56ClassFile: VRSPLITB.DLL
    6 MacroPath: VRM:U:\Develop\Samba\trunk\guitools\evfsgui
     7MacroPath: VRM:G:\netlabs\svn\samba\trunk\guitools\evfsgui
    78EXEPath:
    89RunParameters:
    9 RunDirectory: U:\Develop\Samba\trunk\guitools\evfsgui
    10 VRXWindow: __VREMainWindow,1,1963,2361,1012,7841
    11 VRXWindow: __VREFileListWindow,1,2204,7950,2665,3358
    12 VRXWindow: __VRESectionListWindow,1,1168,12382,12238,6914
    13 VRXWindow: __VREToolsWindow,1,3084,12479,5468,1665
    14 VRXWindow: __VREWindListWindow,1,650,10262,4963,3150
     10RunDirectory: G:\netlabs\svn\samba\trunk\guitools\evfsgui
     11VRXWindow: __VREMainWindow,1,1831,2457,1012,7841
     12VRXWindow: __VREFileListWindow,1,2072,7950,2665,3358
     13VRXWindow: __VRESectionListWindow,1,217,13057,12238,6914
     14VRXWindow: __VREToolsWindow,1,2951,12479,5468,1669
     15VRXWindow: __VREWindListWindow,1,566,10262,4963,3150
    1516UserFile: 1
    1617UserWindow: Main,1
     18UserWindow: SW_ADVANCED,1
     19UserWindow: SW_LOGIN,1
     20UserWindow: SW_MOUNTPOINT,1
     21UserWindow: SW_SETTINGS,1
     22UserWindow: SW_ABOUT,1
     23UserWindow: SW_SMBTREE,1
     24UserWindow: SW_CONDET,1
  • trunk/guitools/evfsgui/evfsgui.vrx

    r875 r894  
    9191__VXREXX____APPENDS__:
    9292/*
    93 #append U:\Develop\Samba\trunk\guitools\shared\cltinit.vrs
    94 #append U:\Develop\Samba\trunk\guitools\shared\inittempdir.vrs
    95 #append U:\Develop\Samba\trunk\guitools\shared\nlv.vrs
    96 #append U:\Develop\Samba\trunk\guitools\shared\rexx_md5.vrs
    97 #append U:\Develop\Samba\trunk\guitools\shared\smbtree.vrs
    98 #append U:\Develop\Samba\trunk\guitools\shared\textini.vrs
    99 #append U:\Develop\Samba\trunk\guitools\shared\usercredmem.vrs
    100 #append U:\Develop\Samba\trunk\guitools\shared\rxrpclib.vrs
     93#append ..\shared\cltinit.vrs
     94#append ..\shared\inittempdir.vrs
     95#append ..\shared\nlv.vrs
     96#append ..\shared\rexx_md5.vrs
     97#append ..\shared\smbtree.vrs
     98#append ..\shared\textini.vrs
     99#append ..\shared\usercredmem.vrs
     100#append ..\shared\rxrpclib.vrs
    101101*/
    102102return
    103103/*:VRX         _AboutSambaClientGetInfo
    104104*/
    105 _AboutSambaClientGetInfo: 
     105_AboutSambaClientGetInfo:
    106106    call VRSet "SW_ABOUT", "Painting", 0
    107     if VRGet("CB_TRAC","set") then BR = '[[BR]]'
    108                               else BR = ''
    109 
    110     ok = VRMethod( "CN_About", "RemoveRecord", "All" )
     107    BR = ''
     108
     109    ok = VRMethod( "CN_About", "RemoveRecord", "All" )
    111110
    112111    /* OS Version */
    113     if VRFileExists(SysBootDrive()||"\ECS\ECS_INST.FLG" ) then do
     112    if VRFileExists(SysBootDrive()||"\SYS\ARCANOAE.FLG" ) then do
     113        OS = linein(SysBootDrive()||"\SYS\ARCANOAE.FLG")
     114        OS = subword(OS,1,2) '('translate(word(OS,3))')'
     115        ok = stream(SysBootDrive()||"\SYS\ARCANOAE.FLG",'c','close')
     116    end
     117    else if VRFileExists(SysBootDrive()||"\ECS\ECS_INST.FLG" ) then do
    114118        OS = linein(SysBootDrive()||"\ECS\ECS_INST.FLG")
    115         OS = strip(left(OS,pos(word(OS,4),OS)-1))
     119        OS = subword(OS,1,3)
    116120        ok = stream(SysBootDrive()||"\ECS\ECS_INST.FLG",'c','close')
    117121    end
     
    125129    ok = VRMethod("CN_ABOUT", "SetFieldData", DummyRH, About.DscFH, "File system", About.ValFH, fs.!name' Version 'fs.!version)
    126130    ABoutStr = "Samba Client Versions:"||BR
    127     AboutStr = AboutStr||'0D0A'x||"File system "||fs.!name' Version 'fs.!version||BR
     131    AboutStr = AboutStr||'0D0A'x||"File system "||'09'x||fs.!name' Version 'fs.!version||BR
    128132    plugindll. =""
    129133
     134    /* Plugin */
    130135    address cmd 'look4dll.exe ndpsmb.dll >'samba.!msg
    131136    if RC <> 0 then do
    132         /* Plugin */
    133         NDFSDir = value("NDFSDIR",,"OS2ENVIRONMENT")
    134         if NDFSDir = "" then NDFSDir = SysBootDrive()'\ecs\dll'
    135         ok = SysFileTree(NDFSDir'\ndpsmb.dll', "plugindll.", 'FOS')
     137        /* Look4DLL not installed or failed, try fallback search */
     138        if rc == 1041 then do   /* look4dll not found, use REXX-based search */
     139            pluginpath = _DLLSearch('ndpsmb.dll')
     140            if pluginpath <> '' then do
     141                plugindll.0 = 1
     142                plugindll.1 = pluginpath
     143            end
     144        end
     145        else plugindll.0 = 0
     146        /* DLL is not in libpath; as a last resort, check some well-known places */
     147        if plugindll.0 < 1 then do
     148            NDFSDir = value("NDFSDIR",,"OS2ENVIRONMENT")
     149            if NDFSDir = "" then do
     150                OSDir = value("OSDIR",,"OS2ENVIRONMENT")
     151                if OSDir == '' then OSDir = SysBootDrive()'\os2'
     152                NDFSDir = OSDir'\dll'
     153            end
     154            ok = SysFileTree(NDFSDir'\ndpsmb.dll', "plugindll.", 'FOS')
     155        end
    136156    end
    137157    else do
     
    149169        DummyRH.1 = VRMethod('CN_About', 'AddRecord')
    150170        ok = VRMethod("CN_ABOUT", "SetFieldData", DummyRH.1, About.DscFH, "Plugin file", About.ValFH, plugindll.J)
    151         AboutStr = AboutStr||'0D0A'x||"Plugin file "plugindll.J||BR
     171        AboutStr = AboutStr||'0D0A'x||"Plugin file "||'09'x||plugindll.J||BR
    152172
    153173        address cmd 'bldlevel.exe 'plugindll.J' >'samba.!msg
     
    172192                DummyRH = VRMethod('CN_About', 'AddRecord')
    173193                ok = VRMethod("CN_ABOUT", "SetFieldData", DummyRH, About.DscFH, "Plugin "Desc, About.ValFH, strip(Vers))
    174                 AboutStr = AboutStr||'0D0A'x||"Plugin "Desc" "strip(Vers)||BR
     194                AboutStr = AboutStr||'0D0A'x||"Plugin "Desc '09'x||strip(Vers)||BR
    175195            end
    176196        end
     
    197217    DummyRH = VRMethod('CN_About', 'AddRecord')
    198218    ok = VRMethod("CN_ABOUT", "SetFieldData", DummyRH, About.DscFH, "Commandline utilities", About.ValFH, ClutVer)
    199     AboutStr = AboutStr||'0D0A'x||"Commandline utilities "||ClutVer||BR
     219    AboutStr = AboutStr||'0D0A'x||"Commandline utilities "||'09'x||ClutVer||BR
    200220
    201221    /* GUI Version */
    202222    DummyRH = VRMethod('CN_About', 'AddRecord')
    203223    ok = VRMethod("CN_ABOUT", "SetFieldData", DummyRH, About.DscFH, "EVFSGUI", About.ValFH, VRGet("Main", "HintText"))
    204     AboutStr = AboutStr||'0D0A'x||"EVFSGUI"||VRGet("Main", "HintText")||BR
     224    AboutStr = AboutStr||'0D0A'x||"EVFSGUI "||'09'x || VRGet("Main", "HintText")||BR
    205225    call VRSet "SW_ABOUT", "Painting", 1
    206226return
     
    215235/*:VRX         _BrowseBuildPath
    216236*/
    217 _BrowseBuildPath: procedure expose options. icons. samba. sharerh 
     237_BrowseBuildPath: procedure expose options. icons. samba. sharerh
    218238    if options.!debug == 1 then say time()' _BrowseBuildPath started'
    219239    rh = arg(1)
     
    221241    finished = 0
    222242    BrowsePathStr = ''
    223    
     243
    224244    do while \finished
    225245        parentrh = VRMethod("CN_SMBTREE","GetRecordAttr",rh,"Parent")
     
    230250        resname = strip(resname)
    231251        /* say "  Not connected - cannot open!" */
    232         select 
     252        select
    233253            when udatatype = "SERVER" then do
    234254                BrowsePathStr = '\\'resname'\'BrowsePathStr
     
    254274*/
    255275_BrowseDirectory: /* This must not be a procedure */
    256     if options.!debug == 1 then say time()' _BrowseDirectory started' 
     276    if options.!debug == 1 then say time()' _BrowseDirectory started'
    257277
    258278    /* Turn off painting */
     
    261281
    262282    /* Make sure credentials are usable */
    263     if UserCred   = 'USERCRED'   | UserCred = '' | UserCred = '--user=%' then UserCred = '-N'   
     283    if UserCred   = 'USERCRED'   | UserCred = '' | UserCred = '--user=%' then UserCred = '-N'
    264284
    265285    /* We have to remove the double % for smbclient.exe - not entirely clear why */
     
    275295    address cmd samba.!smbclientexe' \\'machine'\'sharename' 'UserCred' --command="dir 'browsepath'" 'debuglevel' 2>NUL 1>'samba.!msg
    276296
    277     if UserCred   = '-N' then UserCred = ''   
     297    if UserCred   = '-N' then UserCred = ''
    278298
    279299    if OldUserCred <> "" then do
     
    329349                        when wordpos(Ext, 'ZIP') > 0                 then ficon = icons.!zip
    330350                        when wordpos(Ext, 'INF HLP') > 0             then ficon = icons.!view
    331                         when wordpos(Ext, 'TXT') > 0                 then ficon = icons.!paintext
     351                        when wordpos(Ext, 'TXT') > 0                 then ficon = icons.!plaintext
    332352                        otherwise ficon = icons.!defaultfile /* default file icon */
    333353                    end
     
    340360
    341361                ok = VRmethod("CN_SMBTREE", "SetRecordAttr", fh.I, "userdata", ftype'|'fsize' Bytes 'fday'-'fmonth'-'fyear' 'ftime,'icon',Ficon)
    342            
     362
    343363            end
    344364            otherwise nop /* no other line type */
     
    353373    call VRSet VRWindow(), 'Pointer', '<default>'
    354374    ok = VRSet("CN_SMBTREE","Painting", 1 )
    355     if options.!debug == 1 then say time()' _BrowseDirectory done' 
     375    if options.!debug == 1 then say time()' _BrowseDirectory done'
    356376return
    357377
    358378/*:VRX         _BrowseObjectOpen
    359379*/
    360 _BrowseObjectOpen: procedure expose samba. options. cd. icons. 
     380_BrowseObjectOpen: procedure expose samba. options. cd. icons.
    361381    machine    = arg(1)
    362382    sharename  = arg(2)
     
    368388
    369389    DO i = 1 TO records.0
    370         if VRMethod( "CN_CONDET", "GetFieldData", records.i, CD.StatusFH) = icons.!active then do 
     390        if VRMethod( "CN_CONDET", "GetFieldData", records.i, CD.StatusFH) = icons.!active then do
    371391            if options.!debug == 1 then say '  'VRMethod( "CN_CONDET", "GetFieldData", records.i, CD.StatusFH)' 'VRMethod( "CN_CONDET", "GetFieldData", records.i, CD.MPointFH)' 'VRMethod( "CN_CONDET", "GetFieldData", records.i, CD.ServerFH)' 'VRMethod( "CN_CONDET", "GetFieldData", records.i, CD.ShareFH)
    372392            if machine = VRMethod( "CN_CONDET", "GetFieldData", records.i, CD.ServerFH) &,
     
    389409
    390410    /* Remove all files and directories whose parent is our share */
    391     ok = VRMethod( "CN_SMBTREE", "GetRecordList", "All", "AllRH." ) 
     411    ok = VRMethod( "CN_SMBTREE", "GetRecordList", "All", "AllRH." )
    392412    do I = 1 to AllRH.0
    393413        AllParentRH  = VRMethod("CN_SMBTREE","GetRecordAttr",AllRH.I,"Parent")
    394         if AllParentRH = rh then ok = VRMethod( "CN_SMBTREE", "RemoveRecord", AllRH.I ) 
     414        if AllParentRH = rh then ok = VRMethod( "CN_SMBTREE", "RemoveRecord", AllRH.I )
    395415    end
    396416    ok = VRSet("CN_SMBTREE","Painting", 1 )
     
    451471    NBFH       = VRMethod( "CN_smbtree", "AddField", "String", "NetBIOS name" )
    452472    IpFH       = VRMethod( "CN_smbtree", "AddField", "String", "IP"  )
    453     MBFH       = VRMethod( "CN_smbtree", "AddField", "String", "Role" )   
    454     OSFH       = VRMethod( "CN_smbtree", "AddField", "String", "OS" )   
     473    MBFH       = VRMethod( "CN_smbtree", "AddField", "String", "Role" )
     474    OSFH       = VRMethod( "CN_smbtree", "AddField", "String", "OS" )
    455475    VersionFH  = VRMethod( "CN_SmbTree", "AddField", "String", "Version" )
    456476    CommentFH  = VRMethod( "CN_smbtree", "AddField", "String", "Comment" )
     
    468488/*:VRX         _ContextMenuSelectedSet
    469489*/
    470 _ContextMenuSelectedSet: 
     490_ContextMenuSelectedSet:
    471491    /* Fixme: This routine only works for CN_SMBTREE right now */
    472492
     
    485505    ok = VRSet("Menu_Selected_DetailsView","Visible",1)
    486506 */
    487     select 
     507    select
    488508        when SMBObj.udatatype = "DISK" then do
    489509            ok = VRSet("Menu_Selected_Connect", "Visible", 1)
     
    544564/*:VRX         _DelSMBObjectShares
    545565*/
    546 _DelSMBObjectShares: procedure expose samba. options. SMBObj. rh 
     566_DelSMBObjectShares: procedure expose samba. options. SMBObj. rh
    547567    /* Purpose: Delete shares for a given Object (as handle) */
    548568
    549     rh = arg(1)   
     569    rh = arg(1)
    550570
    551571    ok = VRMethod("CN_smbtree", "GetRecordList", "All", rh.)
     
    555575
    556576        if ParentRH = rh then do /* we found a share belonging to our server */
    557             ok = VRMethod("CN_SMBTree", "RemoveRecord", rh.J ) 
     577            ok = VRMethod("CN_SMBTree", "RemoveRecord", rh.J )
    558578        end
    559579    end
     
    591611return
    592612
     613/*:VRX         _DLLSearch
     614*/
     615_DLLSearch: PROCEDURE
     616    PARSE ARG dname
     617    _bd = SysBootDrive()
     618
     619    IF _bd == '' THEN
     620        _bd = FILESPEC('DRIVE', VALUE('COMSPEC',,'OS2ENVIRONMENT'))
     621    _csys = _bd'\CONFIG.SYS'
     622
     623    CALL SysFileSearch 'LIBPATH=', _csys, 'match.'
     624    DO i = 1 TO match.0
     625        PARSE UPPER VAR match.i _lead 'LIBPATH=' _lpath
     626        IF (_lead == '') & (_lpath <> '') THEN LEAVE
     627    END
     628
     629    _lpath = SysQueryExtLIBPATH('B') || ';'_lpath';' || SysQueryExtLIBPATH('E')
     630
     631    CALL SETLOCAL
     632    _testenv = 'TEST_'dname'_LIBPATH'
     633    CALL VALUE _testenv, _lpath, 'OS2ENVIRONMENT'
     634    location = SysSearchPath( _testenv, dname )
     635    CALL ENDLOCAL
     636
     637RETURN location
     638
    593639/*:VRX         _dropdeprecated
    594640*/
    595 _dropdeprecated: 
     641_dropdeprecated:
    596642    /* The stem-less counterparts of these variables are considered deprecated and should be removed wherever possible
    597643       The _dropdeprecated routine will drop any value in order to make sure the stem actually works
    598644       If another variable is added to the stem, ensure to also drop it in dropdeprecated otherwise it will not be exported
    599645     */
    600     drop rh     
    601     drop parentrh     
     646    drop rh
     647    drop parentrh
    602648    drop gparentrh
    603     drop icon     
    604     drop resname   
    605     drop comment   
    606     drop udatatype 
    607     drop udatamsg 
     649    drop icon
     650    drop resname
     651    drop comment
     652    drop udatatype
     653    drop udatamsg
    608654return
    609655
     
    618664/*:VRX         _GetSMBObjectProperties
    619665*/
    620 _GetSMBObjectProperties: procedure expose samba. options. SMBObj. rh icon resname udatatype udatamsg parentrh icons. 
     666_GetSMBObjectProperties: procedure expose samba. options. SMBObj. rh icon resname udatatype udatamsg parentrh icons.
    621667    if options.!debug == 1 then say time()' _GetSMBObjectProperties started'
    622668
     
    649695
    650696    SMBObj.parentrh = VRMethod("CN_SMBTREE", "GetRecordAttr", SMBObj.rh, "Parent")
    651     if SMBObj.parentrh = "" 
     697    if SMBObj.parentrh = ""
    652698        then SMBObj.gparentrh = ""
    653699        else SMBObj.gparentrh = VRMethod("CN_SMBTREE", "GetRecordAttr", SMBObj.parentrh, "Parent")
     
    678724/*:VRX         _GetSMBObjectShares
    679725*/
    680 _GetSMBObjectShares: procedure expose samba. options. SMBObj. rh 
     726_GetSMBObjectShares: procedure expose samba. options. SMBObj. rh
    681727    /* Purpose: Return stem with shares for a given Object (as handle) */
    682728
    683     rh = arg(1)   
     729    rh = arg(1)
    684730
    685731    SmbObj.shares. = ''
     
    782828    if (mtype.1 = '' & mtype.2 = '' & mtype.3 = '' & mtype.4 = '') THEN DO /* we do not seem to have an NLV file */
    783829        /* we fill the array with the list predefined directly in the GUI control */
    784         ok = VRMethod( "CB_MOUNT", "GetStringList", "mtype." ) 
     830        ok = VRMethod( "CB_MOUNT", "GetStringList", "mtype." )
    785831    end
    786832
     
    790836    CALL NLVSetText 'PB_SMBTREE_HELP',                "Caption", 4
    791837    CALL NLVSetText 'CN_SMBTREE',                     "Caption", 140
     838/** Use AutoSize property instead
    792839    ok = VRSet("Pict_Throbber","Width",  VRMethod( "Screen", "PixelsToTwips", 32 ))
    793840    ok = VRSet("Pict_Throbber","Height", VRMethod( "Screen", "PixelsToTwips", 32 ))
    794 
     841**/
    795842    /* Condet */
    796843    CALL NLVSetText 'PB_CONDET_SAVE',     "Caption", 30
     
    819866    IF inipath == '' THEN inipath = SysBootDrive() || '\OS2'
    820867    settings.!ini = inipath'\evfsgui.ini'
    821     drop os2_ini inipath 
     868    drop os2_ini inipath
    822869    if options.!debug == 1 then say '  EVFSGUI INIfile = "'settings.!ini'"'
    823870
     
    877924
    878925        /* Load font settings */
    879         IF VRFileExists( SysBootDrive() || '\OS2DBCS') == 1 
     926        IF VRFileExists( SysBootDrive() || '\OS2DBCS') == 1
    880927            THEN default_font = '9.WarpSans Combined'
    881928            ELSE default_font = '9.WarpSans'
     
    912959        IF advanced.!lmhosts    == '' THEN advanced.!lmhosts    = 1
    913960
    914         options.!storecreds = VRGetIni('Settings', 'StoreCreds', settings.!ini)
     961        options.!storecreds = VRGetIni('Settings', 'StoreCreds', settings.!ini, 'NoClose')
    915962say "options.!storecreds = "options.!storecreds
    916963        IF options.!storecreds == '' then options.!storecreds = 1
    917                                      
     964
    918965say "options.!storecreds = "options.!storecreds
    919         IF _ucChkObj() = 0 then options.!storecreds = 0           
     966        IF _ucChkObj() = 0 then options.!storecreds = 0
    920967say "options.!storecreds = "options.!storecreds
    921968
     969        options.!tracmark = VRGetIni('Settings', 'TracMarkup', settings.!ini, 'NoClose')
    922970        options.!debug = VRGetIni('Settings', 'Debug', settings.!ini)
    923971        IF options.!debug == '' THEN options.!debug = 0       /* Turn off debug by default for release builds */
     
    10291077    CALL VRSetIni 'Settings', 'Debug',         options.!debug       , settings.!ini, 'NoClose'
    10301078    CALL VRSetIni 'Settings', 'MiniIcons',     advanced.!miniicons  , settings.!ini, 'NoClose'
     1079    CALL VRSetIni 'Settings', 'TracMarkup',    options.!tracmark    , settings.!ini, 'NoClose'
    10311080
    10321081    /* Advanced */
     
    10761125/*:VRX         _LMHostsRead
    10771126*/
    1078 _LMHostsRead: 
     1127_LMHostsRead:
    10791128    ok = file2stem(samba.!lmhosts,'lmhosts.', 'NoDel')
    10801129    lmname. = "#"
     
    10841133    lmapp.0  = lmhosts.0
    10851134    do I = 1 to lmhosts.0
    1086         if left(lmhosts.I,1) = "#" then iterate       
     1135        if left(lmhosts.I,1) = "#" then iterate
    10871136        parse var lmhosts.I lmip.I ' ' lmname.I '#' lmapp.I
    10881137        lmip.I = strip(lmip.I)
     
    10951144/*:VRX         _LMHostsReset
    10961145*/
    1097 _LMHostsReset: 
     1146_LMHostsReset:
    10981147    ok = SysFileDelete(samba.!lmhosts)
    1099    
     1148
    11001149    Buttons.1 = NLVGetMessage(2)
    11011150    Buttons.0 = 1
     
    11101159/*:VRX         _LMHostsUpdate
    11111160*/
    1112 _LMHostsUpdate: 
     1161_LMHostsUpdate:
    11131162    ok = VRMethod( "CN_SMBTREE", "GetRecordList", "Visible", "rh." )
    11141163    do I = 1 to rh.0
     
    11391188                    lmname.new = SmbObj.resname
    11401189                    lmip.0 = new
    1141                     lmip.new = IP                   
     1190                    lmip.new = IP
    11421191                end
    11431192            end
     
    11491198    call lineout samba.!lmhosts,left('# IP-address',25)||left('NetBIOS-name',16)' [Role]'
    11501199    do I = 1 to lmname.0
    1151         if left(lmname.I,1) = "#" then iterate 
     1200        if left(lmname.I,1) = "#" then iterate
    11521201        call lineout samba.!lmhosts,left(lmip.I,25)||left(lmname.I,16)' 'lmapp.I
    11531202    end
     
    11571206/*:VRX         _LMHostsWrite
    11581207*/
    1159 _LMHostsWrite: 
     1208_LMHostsWrite:
    11601209
    11611210return
     
    11631212/*:VRX         _LoadOtherFuncs
    11641213*/
    1165 _LoadOtherFuncs: 
     1214_LoadOtherFuncs:
    11661215    IF options.!debug == 1 then say time()' _LoadotherFuncs() started'
    11671216    SIGNAL ON SYNTAX
     
    11871236    Fatal = 1
    11881237    parse source . . InVXIDE
    1189     if left(InVXIDE,length(Tempdir)+5) = TempDir||'__tmp' 
     1238    if left(InVXIDE,length(Tempdir)+5) = TempDir||'__tmp'
    11901239        then xxx = "VX-REXX IDE: "strip(translate(word(sourceline(SIGL-1),4),'  ',"',"))
    11911240        else xxx = 'A'
     
    13991448/*:VRX         _PrinterInfo
    14001449*/
    1401 _PrinterInfo: 
     1450_PrinterInfo:
    14021451    if \_SMBpdrInstalled() then do
    14031452        /* SMB.PDR is not installed */
     
    14061455    else do /* SMB.pdr is installed */
    14071456        /* shared queue name */
    1408         p_printer = SMBObj.resname 
     1457        p_printer = SMBObj.resname
    14091458
    14101459        /* printer server */
     
    14231472        LDescStr = length(DescStr)
    14241473
    1425         /* Enumerate all SMB ports */       
     1474        /* Enumerate all SMB ports */
    14261475        ok = SysIni('SYSTEM','PM_SPOOLER_PORT',"All:",'ports')
    14271476        if ports.0 = 0 then do
     
    14821531/*:VRX         _SmbConfCreateShadowCopy
    14831532*/
    1484 _SmbConfCreateShadowCopy: 
     1533_SmbConfCreateShadowCopy:
    14851534    if options.!debug == 1 then say time()' _SmbConfCreateShadowCopy started'
    14861535    /* we create a complete version of smb.conf in temporary directory for reading purposes */
     
    15291578    options.!timesync   = 0
    15301579    options.!timesrv    = ''
     1580
     1581    options.!tracmark   = 0
    15311582
    15321583    if options.!debug == 1 then say '  initializing vfs. '
     
    16071658/*:VRX         _TabbedDialogSetup
    16081659*/
    1609 _TabbedDialogSetup: 
     1660_TabbedDialogSetup:
    16101661    if options.!debug == 1 then say time()' _TabbedDialogSetup started'
    16111662
    16121663    w = VRLoad( "TDL_1", VRWindowPath(), "SW_DIALOG" )
    1613     ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(13)" ") 
     1664    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(13)" ")
    16141665    ok = VRMethod( "TDL_1", "SetStatusText", 1, NLVGetMessage(132,"1","2"))
    16151666    w = VRLoad( "TDL_1", VRWindowPath(), "SW_ADVANCED" )
    1616     ok = VRMethod( "TDL_1", "InsertPage", w,"- "NLVGetMessage(40)" ") 
     1667    ok = VRMethod( "TDL_1", "InsertPage", w,"- "NLVGetMessage(40)" ")
    16171668    ok = VRMethod( "TDL_1", "SetStatusText", 2, NLVGetMessage(132,"2","2"))
    16181669
    16191670    w = VRLoad( "TDL_1", VRWindowPath(), "SW_SMBTREE" )
    1620     ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(39)" ") 
     1671    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(39)" ")
    16211672
    16221673    w = VRLoad( "TDL_1", VRWindowPath(), "SW_CONDET" )
    1623     ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(63)" ") 
     1674    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(63)" ")
    16241675    w = VRLoad( "TDL_1", VRWindowPath(), "SW_SETTINGS" )
    1625     ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(47)" ") 
     1676    ok = VRMethod( "TDL_1", "InsertPage", w,"+ "NLVGetMessage(47)" ")
    16261677    if options.!debug == 1 then say time()' _TabbedDialogSetup done'
    16271678return
     
    16301681/*:VRX         _TabFix
    16311682*/
    1632 _TabFix: 
    1633     ok = VRMethod( "TDL_1", "SetTabText", arg(1), " "strip(VRMethod( "TDL_1", "GetTabText", arg(1)))" ")     
     1683_TabFix:
     1684    ok = VRMethod( "TDL_1", "SetTabText", arg(1), " "strip(VRMethod( "TDL_1", "GetTabText", arg(1)))" ")
    16341685return
    16351686
    16361687/*:VRX         _TabsStrip
    16371688*/
    1638 _TabsStrip: 
    1639     ok = VRMethod( "TDL_1", "SetTabText", 1, strip(VRMethod( "TDL_1", "GetTabText", 1))) 
     1689_TabsStrip:
     1690    ok = VRMethod( "TDL_1", "SetTabText", 1, strip(VRMethod( "TDL_1", "GetTabText", 1)))
    16401691    ok = VRMethod( "TDL_1", "SetTabText", 2, strip(VRMethod( "TDL_1", "GetTabText", 2)))
    1641     ok = VRMethod( "TDL_1", "SetTabText", 3, strip(VRMethod( "TDL_1", "GetTabText", 3))) 
    1642     ok = VRMethod( "TDL_1", "SetTabText", 4, strip(VRMethod( "TDL_1", "GetTabText", 4))) 
    1643     ok = VRMethod( "TDL_1", "SetTabText", 5, strip(VRMethod( "TDL_1", "GetTabText", 5))) 
     1692    ok = VRMethod( "TDL_1", "SetTabText", 3, strip(VRMethod( "TDL_1", "GetTabText", 3)))
     1693    ok = VRMethod( "TDL_1", "SetTabText", 4, strip(VRMethod( "TDL_1", "GetTabText", 4)))
     1694    ok = VRMethod( "TDL_1", "SetTabText", 5, strip(VRMethod( "TDL_1", "GetTabText", 5)))
    16441695return
    16451696
    16461697/*:VRX         _TimeSync
    16471698*/
    1648 _TimeSync: 
     1699_TimeSync:
    16491700    if options.!debug == 1 then say time()' _TimeSync started, "'options.!timesrv'"'
    16501701    TimeMsg.1 = NLVGetMessage(141)' 'time()
     
    16691720/*:VRX         _UpdateObject
    16701721*/
    1671 _UpdateObject: procedure 
     1722_UpdateObject: procedure
    16721723    Object   = arg(1)
    16731724    ObjValue = arg(2)
     
    17651816        END
    17661817        OTHERWISE DO
    1767             id = VRMessage( "", 'unknown mount type here >>'mount'<< mtype1=>>'mtype.1'<<', "Mount change error", "E", ) 
    1768         END       
     1818            id = VRMessage( "", 'unknown mount type here >>'mount'<< mtype1=>>'mtype.1'<<', "Mount change error", "E", )
     1819        END
    17691820    END
    17701821    if options.!debug == 1 then say time()' '||"CB_MOUNT_Change done"
     
    18291880    /* Herwig B. */
    18301881    CALL VRSet "TM_AUTOCLOSE", "ENABLED", 0
    1831     ok = VRSet("Menu_Selected_Default_Workgroup","Visible", 0) 
     1882    ok = VRSet("Menu_Selected_Default_Workgroup","Visible", 0)
    18321883
    18331884    rh = VRInfo('Record')
     
    18481899    end
    18491900
    1850     if p_string = "" 
     1901    if p_string = ""
    18511902        then infotext = fs.!name' 'fs.!version
    18521903        else infotext = p_string
     
    18591910        CALL VRSet 'PB_UNMOUNT',               'Enabled', 1
    18601911        CALL VRSet 'MENU_CONTEXT_UNMOUNT',     'Visible', 1
    1861        
    1862         if pos("*",p_string) > 0 | pos(";",p_string) > 0 
     1912
     1913        if pos("*",p_string) > 0 | pos(";",p_string) > 0
    18631914            then CALL VRSet 'MENU_CONTEXT_EDIT', 'Visible', 0
    18641915            else CALL VRSet 'MENU_CONTEXT_EDIT', 'Visible', 1
     
    18791930        CALL VRSet 'MENU_CONTEXT_DETACH_ALL', 'Visible', 1
    18801931/*      CALL VRSet 'MENU_CONTEXT_SEP2',       'Visible', 1 */
    1881        
     1932
    18821933    END
    18831934    ELSE DO
     
    19562007    END
    19572008*/
    1958     if p_string = "" 
     2009    if p_string = ""
    19592010        then infotext = fs.!name' 'fs.!version
    19602011        else infotext = p_string
     
    19732024        CALL VRSet 'PB_UNMOUNT',               'Enabled', 1
    19742025        CALL VRSet 'MENU_CONTEXT_UNMOUNT',     'Visible', 1
    1975        
     2026
    19762027        if pos("*",p_string) > 0 | pos(";",p_string) > 0 then CALL VRSet 'MENU_CONTEXT_EDIT', 'Visible', 0
    19772028                                 else CALL VRSet 'MENU_CONTEXT_EDIT', 'Visible', 1
     
    21202171    else do /* Drag from CN_SMBTREE */
    21212172        call _GetSMBObjectProperties srcRec
    2122         select 
     2173        select
    21232174            when SMBObj.udatatype = "WORKGROUP" then do
    21242175                say "Workgroup dragged!"
     
    21702221    if trgRec = "" then do
    21712222        ok = VRMethod("CB_DRIVES",  "GetStringList", "freedrives.")
    2172         if freedrives.0 > 0 
     2223        if freedrives.0 > 0
    21732224            then ok = VRSet("CB_DRIVES","Value", freedrives.1)
    21742225            else ok = VRSet("CB_DRIVES","Value", "")
     
    22312282/*:VRX         CN_SMBTREE_DoubleClick
    22322283*/
    2233 CN_SMBTREE_DoubleClick: 
     2284CN_SMBTREE_DoubleClick:
    22342285    if options.!debug == 1 then say time()' CN_SMBTREE_DoubleClick started'
    22352286
     
    22512302        browsepath = browsepath'\*'
    22522303
    2253         call _BrowseDirectory       
     2304        call _BrowseDirectory
    22542305    end
    22552306
     
    22572308        BrowsePath = _browsebuildpath(SMBObj.rh)
    22582309        call _BrowseResetObject(SmbObj.rh)
    2259        
     2310
    22602311        parse var browsepath '\\'machine'\'sharename '\' browsepath
    22612312
     
    22642315        if \OpenOK then do
    22652316            say "  Not connected - trying to connect"
    2266             ok = VRMethod( "CN_SMBTREE", "SetRecordAttr", sharerh, "Selected", 1) 
     2317            ok = VRMethod( "CN_SMBTREE", "SetRecordAttr", sharerh, "Selected", 1)
    22672318            call PB_SMBTREE_CONNECT_Click
    22682319            ok = VRMethod( "CN_SMBTREE", "SetRecordAttr", SMBObj.rh, "Selected", 1)
     
    22732324                say "  Not connected - cannot open - aborting!"
    22742325            end
    2275         end 
     2326        end
    22762327    end
    22772328
     
    22872338
    22882339        call _BrowseDirectory
    2289     end       
     2340    end
    22902341    if options.!debug == 1 then say time()' CN_SMBTREE_DoubleClick done'
    22912342return
    22922343/*:VRX         CN_SMBTREE_DragFile
    22932344*/
    2294 CN_SMBTREE_DragFile: 
     2345CN_SMBTREE_DragFile:
    22952346    if options.!debug == 1 then say time()' CN_SMBTREE_DragFile started'
    22962347
     
    23692420*/
    23702421EF_PASSWORD1_KeyPress:
    2371     if options.!debug == 1 then say time()' EF_PASSWORD1_KeyPress started'   
     2422    if options.!debug == 1 then say time()' EF_PASSWORD1_KeyPress started'
    23722423    obj = VRInfo( "Object" )
    23732424    keystr = VRGet( obj, "KeyString" )
     
    23792430        otherwise nop
    23802431    end
    2381     if options.!debug == 1 then say time()' EF_PASSWORD1_KeyPress done'   
     2432    if options.!debug == 1 then say time()' EF_PASSWORD1_KeyPress done'
    23822433return
    23832434
     
    24032454    if Now <> VRGet("EF_SERVER","value") then return
    24042455
    2405     IF options.!editmode = 1 then return 
     2456    IF options.!editmode = 1 then return
    24062457
    24072458    /* Do nothing for incomplete IP addresses */
     
    24132464    if VRGet("EF_SERVER","value") = "*" then return
    24142465
    2415     machine = VRGet("EF_SERVER","value")   
     2466    machine = VRGet("EF_SERVER","value")
    24162467    rh = _GetMachineHandle(machine)
    24172468
     
    24192470        call _GetSMBObjectProperties rh
    24202471
    2421         if SMBObj.parentrh = "" 
     2472        if SMBObj.parentrh = ""
    24222473            then ok = VRSet("EF_NETWORK","Value", "") /* The workgroup might be unknown at this moment */
    24232474            else ok = VRSet("EF_NETWORK","Value", VRMethod("CN_SMBTREE","GetRecordAttr",SMBObj.parentRH,"Caption"))
     
    24482499*/
    24492500EF_USER1_KeyPress:
    2450     if options.!debug == 1 then say time()' EF_USER1_KeyPress started'   
     2501    if options.!debug == 1 then say time()' EF_USER1_KeyPress started'
    24512502    obj = VRInfo( "Object" )
    24522503    keystr = VRGet( obj, "KeyString" )
     
    24582509        otherwise nop
    24592510    end
    2460     if options.!debug == 1 then say time()' EF_USER1_KeyPress done'   
     2511    if options.!debug == 1 then say time()' EF_USER1_KeyPress done'
    24612512return
    24622513
     
    24742525/*:VRX         EF_WINS_SERVER_Change
    24752526*/
    2476 EF_WINS_SERVER_Change: 
     2527EF_WINS_SERVER_Change:
    24772528    advanced.!smbconfchanged = 1
    24782529return
     
    24962547    IF info.2 > 0 THEN icon = icons.!active
    24972548                  ELSE icon = icons.!passive
    2498                  
     2549
    24992550    rh = VRMethod("CN_CURRENT", 'AddRecord', parec, 'Last', info.0, icon )
    25002551    IF rh == '' | datatype(res.0) <> "NUM" THEN RETURN
     
    26572708    else do
    26582709        if FoundND = 0 & FoundEVFS = 0 then do
    2659             CALL VRMessage 'Main', 'FATAL: Neither EVFS nor Netdrive found: 'fs.!prefix'RxQueryIFS()='fsstat, NLVGetMessage( 5 ), 'E' 
     2710            CALL VRMessage 'Main', 'FATAL: Neither EVFS nor Netdrive found: 'fs.!prefix'RxQueryIFS()='fsstat, NLVGetMessage( 5 ), 'E'
    26602711            signal Halt
    26612712        end
    2662         signal ForceNDFS 
     2713        signal ForceNDFS
    26632714    end
    26642715    IF fsctl \= 1 THEN DO
     
    27142765    CALL _INILoad
    27152766
    2716     call _TabFix 1 
     2767    call _TabFix 1
    27172768    call SW_ADVANCED_Init_Content
    27182769    call SW_SMBTREE_Init_Content
     
    27302781    CALL VRSet "CB_MOUNT",  "Selected", 1
    27312782    CALL VRSet "CB_DRIVES", "Selected", 1
    2732     IF options.!autoclose == 1 
     2783    IF options.!autoclose == 1
    27332784    THEN CALL TM_AutoClose_Trigger
    27342785    ELSE do
     
    27662817    main_iheight = VRGet("Main","InteriorHeight")               /* Height of window client-area */
    27672818
    2768     if VRMethod( "Screen", "TwipsToPixels", main_iheight) < 580 then ok = VRSet("Main","Height",VRMethod( "Screen", "PixelsToTwips", 600))
    2769     if VRMethod( "Screen", "TwipsToPixels", main_iwidth)  < 800 then ok = VRSet("Main","Width", VRMethod( "Screen", "PixelsToTwips", 800))
     2819/** This caused weird resizing glitches, horrible jittering, etc.  Instead,
     2820 ** what we now do (further down) is set a minimum size in twips for the right
     2821 ** pane, below which it simply stops resizing and switches to clipping.  (The
     2822 ** left pane resizes all its controls dynamically anyway.)  This better matches
     2823 ** standard application behaviour, and makes resizing behave more smoothly.
     2824 *
     2825 *  if VRMethod( "Screen", "TwipsToPixels", main_iheight) < 600 then
     2826 *      ok = VRSet("Main","Height",VRMethod( "Screen", "PixelsToTwips", 580))
     2827 *  if VRMethod( "Screen", "TwipsToPixels", main_iwidth)  < 730 then
     2828 *      ok = VRSet("Main","Width", VRMethod( "Screen", "PixelsToTwips", 730))
     2829 */
    27702830
    27712831    sbar_height  = VRGet("GB_STATUSBAR","Height")               /* Height of status-bar */
     
    28342894
    28352895    /* Modified for notebook pages */
    2836     pane_height = marginx2 + pane_height -1020
     2896    pane_height = marginx2 + pane_height -1180
    28372897    rpane_width = marginx2 + rpane_width -760
     2898    /* Use this as the width for the container pages, which don't have as strict a minimum width */
     2899    rcnr_width = rpane_width
     2900
     2901    /* Minimum size of right panel (based on SW_DIALOG which is the largest) */
     2902    if pane_height < 5360 then pane_height = 5360
     2903    if rpane_width < 6010 then rpane_width = 6010
    28382904
    28392905    /* Dialog page */
     
    28862952    ok = VRSet("GB_SMBTREE", "Left",    margin /* x2 */ /* split_left + 60 */ )
    28872953    ok = VRset("GB_SMBTREE", "Height",  pane_height     )
    2888     ok = VRset("GB_SMBTREE", "Width",   rpane_width     )
     2954    ok = VRset("GB_SMBTREE", "Width",   rcnr_width     )
    28892955
    28902956    ok = VRset("GB_SMBTREE2","Left",    margin                    )
    28912957    ok = VRset("GB_SMBTREE2","Top",     /* 45 + */ marginx2        )
    2892     ok = VRset("GB_SMBTREE2","Width",   rpane_width - marginx2)
     2958    ok = VRset("GB_SMBTREE2","Width",   rcnr_width - marginx2)
    28932959    ok = VRset("GB_SMBTREE2","Height",  pane_height - (margin * 5) - pbtn_height /* - 245 */ )
    28942960
     
    29022968    ok = VRset("PB_SMBTREE_REFRESH", "Left",   VRGet("PB_SMBTREE_CONNECT","Width") + marginx2)
    29032969    ok = VRset("PB_SMBTREE_REFRESH", "Top",    pane_height - pbtn_height   - marginx2)
    2904     ok = VRset("PB_SMBTREE_HELP", "Left", rpane_width - marginx2 - VRGet("PB_SMBTREE_HELP","Width") + 24)
     2970
     2971    hlpmin = VRGet("PB_SMBTREE_REFRESH", "Left") + VRGet("PB_SMBTREE_REFRESH","Width") + marginx2
     2972    hlppos = rcnr_width - marginx2 - VRGet("PB_SMBTREE_HELP","Width") + 24   
     2973    IF hlppos < hlpmin THEN hlppos = hlpmin
     2974
     2975    ok = VRset("PB_SMBTREE_HELP", "Left", hlppos )
    29052976    ok = VRset("PB_SMBTREE_HELP", "Top",  pane_height - pbtn_height - marginx2)
    29062977
     
    29122983    ok = VRSet("GB_CONDET", "Left",    margin /* x2 */  /* split_left + 60 */ )
    29132984    ok = VRset("GB_CONDET", "Height",  pane_height     )
    2914     ok = VRset("GB_CONDET", "Width",   rpane_width     )
     2985    ok = VRset("GB_CONDET", "Width",   rcnr_width      )
    29152986
    29162987    ok = VRset("GB_CONDET2", "Left",   margin )
    29172988    ok = VRset("GB_CONDET2", "Top",    /* 245 + */ marginx2)
    2918     ok = VRset("GB_CONDET2", "Width",  rpane_width - marginx2)
     2989    ok = VRset("GB_CONDET2", "Width",  rcnr_width - marginx2)
    29192990    ok = VRset("GB_CONDET2", "Height", pane_height - (margin * 5) - pbtn_height /* - 245 */ )
    29202991
     
    29282999    ok = VRset("PB_CONDET_LOAD", "Left", VRGet("PB_CONDET_SAVE","Width") + marginx2)
    29293000    ok = VRset("PB_CONDET_LOAD", "Top",  pane_height - pbtn_height - marginx2      )
    2930     ok = VRset("PB_CONDET_HELP", "Left", rpane_width - marginx2 - VRGet("PB_CONDET_HELP","Width") + 24)
     3001
     3002    hlpmin = VRGet("PB_CONDET_LOAD", "Left") + VRGet("PB_CONDET_LOAD","Width") + marginx2
     3003    hlppos = rcnr_width - marginx2 - VRGet("PB_CONDET_HELP","Width") + 24
     3004    IF hlppos < hlpmin THEN hlppos = hlpmin
     3005
     3006    ok = VRset("PB_CONDET_HELP", "Left", hlppos )
    29313007    ok = VRset("PB_CONDET_HELP", "Top",  pane_height - pbtn_height - marginx2)
    29323008
     
    29853061/*:VRX         Menu_Context_Detach_All_Click
    29863062*/
    2987 Menu_Context_Detach_All_Click: 
     3063Menu_Context_Detach_All_Click:
    29883064    ok = VRMethod( "CN_CURRENT", "GetRecordList", "All", "umrh." )
    29893065    do um = 1 to umrh.0
     
    30103086    CALL VRSet "PB_UNMOUNT","Enabled", 0
    30113087
    3012     ok = VRMethod( "TDL_1", "SetTabText", 1, " "NLVGetMessage(33)" " ) 
     3088    ok = VRMethod( "TDL_1", "SetTabText", 1, " "NLVGetMessage(33)" " )
    30133089/*  CALL NLVSetText "DT_DIALOG","Caption",33 */
    30143090    CALL VRSet "GB_CURRENT", "ENABLED", 0
     
    30483124/*:VRX         Menu_Context_Open_Default_Click
    30493125*/
    3050 Menu_Context_Open_Default_Click: 
     3126Menu_Context_Open_Default_Click:
    30513127    if options.!debug == 1 then say time()' '||"Menu_Context_Open_Click started"
    30523128    if \VRIsValidObject(rh) then return
     
    30643140/*:VRX         Menu_Context_Open_Detail_Click
    30653141*/
    3066 Menu_Context_Open_Detail_Click: 
     3142Menu_Context_Open_Detail_Click:
    30673143    if options.!debug == 1 then say time()' '||"Menu_Context_Open_Details_Click started"
    30683144    if \VRIsValidObject(rh) then return
     
    30803156/*:VRX         Menu_Context_Open_Icon_Click
    30813157*/
    3082 Menu_Context_Open_Icon_Click: 
     3158Menu_Context_Open_Icon_Click:
    30833159    if options.!debug == 1 then say time()' '||"Menu_Context_Open_Icon_Click started"
    30843160    if \VRIsValidObject(rh) then return
     
    30963172/*:VRX         Menu_Context_Open_Settings_Click
    30973173*/
    3098 Menu_Context_Open_Settings_Click: 
     3174Menu_Context_Open_Settings_Click:
    30993175    if options.!debug == 1 then say time()' '||"Menu_Context_Open_Settings_Click started"
    31003176    if \VRIsValidObject(rh) then return
     
    31123188/*:VRX         Menu_Context_Open_Splitview_Click
    31133189*/
    3114 Menu_Context_Open_Splitview_Click: 
     3190Menu_Context_Open_Splitview_Click:
    31153191    if options.!debug == 1 then say time()' '||"Menu_Context_Open_Splitview_Click started"
    31163192    if \VRIsValidObject(rh) then return
     
    31283204/*:VRX         Menu_Context_Open_Tree_Click
    31293205*/
    3130 Menu_Context_Open_Tree_Click: 
     3206Menu_Context_Open_Tree_Click:
    31313207    if options.!debug == 1 then say time()' '||"Menu_Context_Open_Tree_Click started"
    31323208    if \VRIsValidObject(rh) then return
     
    31443220/*:VRX         Menu_Context_Refresh_Click
    31453221*/
    3146 Menu_Context_Refresh_Click: 
     3222Menu_Context_Refresh_Click:
    31473223    CALL Refresh
    31483224return
     
    31703246        StartUpDir = VRParseFilename(script,'DP')
    31713247    end
    3172    
     3248
    31733249    ObjTitle   = NLVGetMessage( 59 )
    31743250    if ObjTitle = "" then ObjTitle = '[EVFS LAN-Connections]'
     
    32313307/*:VRX         Menu_File_Click
    32323308*/
    3233 Menu_File_Click: 
     3309Menu_File_Click:
    32343310    ok = VRSet("Menu_File_LMHosts_Reset", "Enabled", VRFileExists( samba.!lmhosts ))
    32353311    ok = VRSet("Menu_File_ucCred_Reset",  "Enabled", (VRGet("Pict_PWINMEM","PicturePath") = "#36"))
     
    32453321*/
    32463322Menu_File_Daemon_Start_Click:
    3247     if options.!debug == 1 then say time()' Menu_File_Daemon_Start_Click started' 
     3323    if options.!debug == 1 then say time()' Menu_File_Daemon_Start_Click started'
    32483324    if VRFileExists(SysBootDrive()"\ndpsmb.dbg") then do
    32493325        btns.0 = 2
     
    32673343    ok = VRSet("Menu_File_Daemon_Start","Enabled",0)
    32683344    ok = VRSet("Menu_File_Daemon_Stop","Enabled",1)
    3269     if options.!debug == 1 then say time()' Menu_File_Daemon_Start_Click done' 
     3345    if options.!debug == 1 then say time()' Menu_File_Daemon_Start_Click done'
    32703346return
    32713347
    32723348/*:VRX         Menu_File_Daemon_Stop_Click
    32733349*/
    3274 Menu_File_Daemon_Stop_Click: 
    3275     if options.!debug == 1 then say time()' Menu_File_Daemon_Stop_Click started' 
     3350Menu_File_Daemon_Stop_Click:
     3351    if options.!debug == 1 then say time()' Menu_File_Daemon_Stop_Click started'
    32763352    ok = PRProcessList(proc)
    32773353    do I = 1 to proc.0
     
    32873363    ok = VRSet("Menu_File_Daemon_Start","Enabled",1)
    32883364    ok = VRSet("Menu_File_Daemon_Stop","Enabled",0)
    3289     if options.!debug == 1 then say time()' Menu_File_Daemon_Stop_Click stopped' 
     3365    if options.!debug == 1 then say time()' Menu_File_Daemon_Stop_Click stopped'
    32903366return
    32913367/*:VRX         Menu_File_LMHosts_Reset_Click
    32923368*/
    3293 Menu_File_LMHosts_Reset_Click: 
     3369Menu_File_LMHosts_Reset_Click:
    32943370    call _LMHostsReset
    32953371return
     
    33623438/*:VRX         Menu_File_ucCred_Reset_Click
    33633439*/
    3364 Menu_File_ucCred_Reset_Click: 
     3440Menu_File_ucCred_Reset_Click:
    33653441    if _ucChkUc() then ok = _ucDelUc()
    33663442    ok = VRSet("Pict_PWINMEM","PicturePath","#37")
     
    33793455*/
    33803456Menu_Help_Extended_Click:
    3381     ok = VRMethod( "Main", "InvokeHelp" ) 
     3457    ok = VRMethod( "Main", "InvokeHelp" )
    33823458return
    33833459
     
    33973473        if options.!debug == 1 then say '  SMBObj.udatatype = "'SMBObj.udatatype'"'
    33983474        Success = 1
    3399         select 
     3475        select
    34003476            when SMBObj.udatatype = "WORKGROUP" then workgroupname = VRMethod("CN_SMBTREE","GetRecordAttr",SMBObj.rh,"Caption")
    34013477            when SMBObj.udatatype = "DISK"      then workgroupname = VRMethod("CN_SMBTREE","GetRecordAttr",SMBObj.gparentrh,"Caption")
     
    34043480            otherwise Success = 0
    34053481        end
    3406        
     3482
    34073483        /* FIXME: switch over to REXXIni calls */
    34083484        if Success = 1 then ok = TRSetIni("[global]","workgroup", workgroupname, samba.!smbconf)
     
    34223498/*:VRX         Menu_Selected_DetailsView_Click
    34233499*/
    3424 Menu_Selected_DetailsView_Click: 
     3500Menu_Selected_DetailsView_Click:
    34253501    ok = VRSet("CN_smbtree", "View", "Detail")
    34263502return
     
    34453521/*:VRX         Menu_Selected_Refresh_Click
    34463522*/
    3447 Menu_Selected_Refresh_Click: 
     3523Menu_Selected_Refresh_Click:
    34483524    ok = VRMethod( "CN_smbtree", "SetRecordAttr", SMBObj.rh, "Icon","#61:PMWP.DLL")
    34493525    call _DelSMBObjectShares SMBObj.rh
     
    35313607/*:VRX         Menu_Selected_TimeSync_Click
    35323608*/
    3533 Menu_Selected_TimeSync_Click: 
     3609Menu_Selected_TimeSync_Click:
    35343610    if options.!debug == 1 then say time()' Menu_Selected_TimeSync_Click started'
    35353611
     
    35503626/*:VRX         Menu_Selected_TreeView_Click
    35513627*/
    3552 Menu_Selected_TreeView_Click: 
     3628Menu_Selected_TreeView_Click:
    35533629    ok = VRSet("CN_smbtree", "View", "IconTree")
    35543630return
     
    35633639/*  Disabled, because we merge profile now - in earlier revisions
    35643640    we replaced it but only for preexisting drives - this made only
    3565     sense as long as we were unable to detect double connections - 
     3641    sense as long as we were unable to detect double connections -
    35663642    this could be made an option!
    3567    
     3643
    35683644    IF options.!autoload then do
    35693645        CALL _Dynamic "ok = "fs.!prefix"RxDetach('"vfs.!drive"')"
     
    36453721            end
    36463722            else do /* Same hash, status passive - we have to remove it */
    3647                 ok = VRMethod("CN_CONDET", "RemoveRecord", records.i ) 
     3723                ok = VRMethod("CN_CONDET", "RemoveRecord", records.i )
    36483724            end
    36493725        end
     
    37513827        /* Workaround for truncated resource string */
    37523828        if length(p_rw) > 1 then do
    3753             /* The resource string must have been truncated 
    3754                p_rw is already wrong and 
     3829            /* The resource string must have been truncated
     3830               p_rw is already wrong and
    37553831               p_easupport will most likely be also wrong (look below for workaround!) */
    37563832            p_rw ="W" /* this is guessed only!!! */
    37573833            if options.!debug == 1 then say '  WARNING! Detected truncated resource string - shorten workgroup name, server name, share name until this message goes away!'
    37583834        end
    3759         /* this should be done unconditionally if the resource string is never truncated */ 
     3835        /* this should be done unconditionally if the resource string is never truncated */
    37603836        else resource  = left(resource,length(resource)-length(p_rw))
    37613837
     
    38143890/*:VRX         ParseResParmString
    38153891*/
    3816 ParseResParmString: 
     3892ParseResParmString:
    38173893    PARSE VAR resource . ';WORKGROUP=' p_workgroup ';' .
    38183894    PARSE VAR resource . ';SERVER=' p_server ';' .
     
    38393915*/
    38403916PB_ABOUT_COPY_Click:
     3917
     3918    if VRGet("CB_TRAC","set") then DO
     3919        remainstr = AboutStr
     3920        AboutStr = ''
     3921        DO WHILE remainstr <> ''
     3922            PARSE VAR remainstr _part '0d0a'x remainstr
     3923            AboutStr = AboutStr || _part ||'[[BR]]'||'0d0a'x
     3924        END
     3925    END
    38413926    ok = VRMethod( "Application", "PutClipboard", AboutStr )
    38423927    if options.!debug == 1 then call beep 880*2,10
     
    38713956/*:VRX         PB_ClearCred_Click
    38723957*/
    3873 PB_ClearCred_Click: 
     3958PB_ClearCred_Click:
    38743959    call Menu_File_ucCred_Reset_Click
    38753960return
     
    40014086    CALL VRSet "GB_CURRENT", "ENABLED", 1
    40024087    ok = VRSet("PB_EDIT_CANCEL","Visible", 0)
    4003     ok = VRMethod( "TDL_1", "SetTabText", 1, " "NLVGetMessage(13)" " ) 
     4088    ok = VRMethod( "TDL_1", "SetTabText", 1, " "NLVGetMessage(13)" " )
    40044089/*  CALL NLVSetText 'DT_DIALOG',        "Caption", 13 */
    40054090RETURN 0
     
    42484333    end
    42494334    else do /* Turn on additional columns in connection details view */
    4250         ok = VRRedirectStdio("OFF") 
     4335        ok = VRRedirectStdio("OFF")
    42514336        ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.mpidxfh ,       "Visible", 0)
    42524337        ok = VRMethod("CN_CONDET", "SetFieldAttr", cd.passwordfh ,    "Visible", 0)
     
    44744559/*:VRX         Pict_PWINMEM_Click
    44754560*/
    4476 Pict_PWINMEM_Click: 
     4561Pict_PWINMEM_Click:
    44774562    if VRGet("Pict_PWINMEM","PicturePath") = "#36" then do
    44784563        call Menu_File_ucCred_Reset_Click
     
    45514636/*:VRX         SPIN_NRO1_Change
    45524637*/
    4553 SPIN_NRO1_Change: 
     4638SPIN_NRO1_Change:
    45544639    advanced.!smbconfchanged = 1
    45554640return
     
    45574642/*:VRX         SPIN_NRO2_Change
    45584643*/
    4559 SPIN_NRO2_Change: 
     4644SPIN_NRO2_Change:
    45604645    advanced.!smbconfchanged = 1
    45614646return
     
    45634648/*:VRX         SPIN_NRO3_Change
    45644649*/
    4565 SPIN_NRO3_Change: 
     4650SPIN_NRO3_Change:
    45664651    advanced.!smbconfchanged = 1
    45674652return
     
    45694654/*:VRX         SPIN_NRO4_Change
    45704655*/
    4571 SPIN_NRO4_Change: 
     4656SPIN_NRO4_Change:
    45724657    advanced.!smbconfchanged = 1
    45734658return
     
    45874672/*:VRX         SW_ABOUT_Close
    45884673*/
    4589 SW_ABOUT_Close:
     4674SW_ABOUT_Close:
     4675    options.!tracmark = VRGet('CB_TRAC', 'Set')
    45904676    call SW_ABOUT_Fini
    45914677return
     
    45934679/*:VRX         SW_ABOUT_Create
    45944680*/
    4595 SW_ABOUT_Create: 
     4681SW_ABOUT_Create:
    45964682    call SW_ABOUT_Init
    45974683
     
    46014687    CALL NLVSetText 'CB_TRAC',         "Caption", 134
    46024688
    4603     ok = VRSet("DT_About","Caption", Program' (c) 2007-2013 Alexander Taylor'||'0D0A'x||'and Herwig Bauernfeind for bww bitwise works GmbH.')
     4689    CALL VRSet 'CB_TRAC', 'Set', options.!tracmark
     4690
     4691    ok = VRSet("DT_About","Caption", Program' (c) 2007-2016 Alexander Taylor'||'0D0A'x||'and Herwig Bauernfeind for bww bitwise works GmbH.')
    46044692
    46054693    About.DscFH  = VRMethod( "CN_ABOUT", "AddField", "String", "Component" )
     
    46114699/*:VRX         SW_ABOUT_Fini
    46124700*/
    4613 SW_ABOUT_Fini: 
     4701SW_ABOUT_Fini:
    46144702    window = VRInfo( "Window" )
    46154703    call VRDestroy window
     
    46184706/*:VRX         SW_ABOUT_Init
    46194707*/
    4620 SW_ABOUT_Init: 
     4708SW_ABOUT_Init:
    46214709    window = VRInfo( "Object" )
    46224710    if( \VRIsChildOf( window, "TabbedDialog" ) ) then do
     
    46754763/*:VRX         SW_ADVANCED_Init_Content
    46764764*/
    4677 SW_ADVANCED_Init_Content: 
     4765SW_ADVANCED_Init_Content:
    46784766    IF advanced.!easupport     \= "" THEN ok = VRSet("CB_EAS",     "Set",   advanced.!easupport)
    46794767    IF advanced.!readonly      \= "" THEN ok = VRSet("CB_READONLY","Set",   advanced.!readonly)
     
    46884776/*:VRX         SW_CONDET_Close
    46894777*/
    4690 SW_CONDET_Close: 
     4778SW_CONDET_Close:
    46914779    call SW_CONDET_Fini
    46924780return
     
    46944782/*:VRX         SW_CONDET_Create
    46954783*/
    4696 SW_CONDET_Create: 
     4784SW_CONDET_Create:
    46974785    call SW_CONDET_Init
    46984786return
     
    47004788/*:VRX         SW_CONDET_Fini
    47014789*/
    4702 SW_CONDET_Fini: 
     4790SW_CONDET_Fini:
    47034791    window = VRInfo( "Window" )
    47044792    call VRDestroy window
     
    47074795/*:VRX         SW_CONDET_Init
    47084796*/
    4709 SW_CONDET_Init: 
     4797SW_CONDET_Init:
    47104798
    47114799return
     
    47134801/*:VRX         SW_CONDET_Init_Content
    47144802*/
    4715 SW_CONDET_Init_Content: 
     4803SW_CONDET_Init_Content:
    47164804    if VRGet("TM_Throbber","Enabled") = 1 then ok = VRset("Pict_Throbber", "Visible", 0)
    47174805
     
    47224810/*:VRX         SW_DIALOG_Close
    47234811*/
    4724 SW_DIALOG_Close: 
     4812SW_DIALOG_Close:
    47254813    call SW_DIALOG_Fini
    47264814return
     
    47284816/*:VRX         SW_DIALOG_Create
    47294817*/
    4730 SW_DIALOG_Create: 
     4818SW_DIALOG_Create:
    47314819    call SW_DIALOG_Init
    47324820return
     
    47344822/*:VRX         SW_DIALOG_Fini
    47354823*/
    4736 SW_DIALOG_Fini: 
     4824SW_DIALOG_Fini:
    47374825    window = VRInfo( "Window" )
    47384826    call VRDestroy window
     
    47414829/*:VRX         SW_DIALOG_Init
    47424830*/
    4743 SW_DIALOG_Init: 
     4831SW_DIALOG_Init:
    47444832    LEDSize = VRMethod( "Screen", "PixelsToTwips", 16 )
    47454833
     
    47514839/*:VRX         SW_DIALOG_Init_Content
    47524840*/
    4753 SW_DIALOG_Init_Content: 
     4841SW_DIALOG_Init_Content:
    47544842    /* obsolete */
    47554843    if VRGet("TM_Throbber","Enabled") = 1 then ok = VRset("Pict_Throbber", "Visible", 0)
     
    47714859*/
    47724860SW_INFO_Create:
    4773     if options.!debug == 1 then say time()' SW_INFO_Create started'   
     4861    if options.!debug == 1 then say time()' SW_INFO_Create started'
    47744862    call SW_INFO_Init
    47754863    CALL NLVSetText 'SW_INFO',    "Caption", 92
     
    48274915    ok = VRMethod( "CN_INFO", "SetFieldData", Info.!MAC,    Info.TypeFH, "MAC" ,Info.ValueFH, VRMethod("CN_SMBTREE", "GetFieldData", SMBObj.RH, MacFH ))
    48284916
    4829     if options.!debug == 1 then say time()' SW_INFO_Create done'   
     4917    if options.!debug == 1 then say time()' SW_INFO_Create done'
    48304918return
    48314919
     
    48584946*/
    48594947SW_LOGIN_Create:
    4860     call SW_LOGIN_Init 
     4948    call SW_LOGIN_Init
    48614949    ok = VRSet("SW_LOGIN","Caption",NLVGetMessage(136)' 'strip(p_workgroup' \\'p_server'\'p_share,'T','\'))
    48624950    CALL NLVSetText 'DT_USER1',       "Caption", 25
     
    48724960            when SMBObj.udatatype = "SERVER"    then LoginIcon = SMBObj.Icon
    48734961            when SMBObj.udatatype = "DISK"      then do
    4874                 if pos("PDC",VRMethod("CN_smbtree", "GetFieldData", SMBObj.parentrh, MBFH)) > 0 
     4962                if pos("PDC",VRMethod("CN_smbtree", "GetFieldData", SMBObj.parentrh, MBFH)) > 0
    48754963                    then LoginIcon = "#63:PMWP.DLL" /* icons.!pdc */
    48764964                    else LoginIcon = "#35:PMWP.DLL" /* icons.!pdc */
     
    49765064/*:VRX         SW_PORTCONNECT_Close
    49775065*/
    4978 SW_PORTCONNECT_Close: 
     5066SW_PORTCONNECT_Close:
    49795067    call SW_PORTCONNECT_Fini
    49805068return
     
    49825070/*:VRX         SW_PORTCONNECT_Create
    49835071*/
    4984 SW_PORTCONNECT_Create: 
     5072SW_PORTCONNECT_Create:
    49855073    call SW_PORTCONNECT_Init
    49865074
     
    49885076
    49895077    if ok = "" then do
    4990        
     5078
    49915079    end
    49925080    else do
     
    50115099/*:VRX         SW_PORTCONNECT_Fini
    50125100*/
    5013 SW_PORTCONNECT_Fini: 
     5101SW_PORTCONNECT_Fini:
    50145102    window = VRInfo( "Window" )
    50155103    call VRDestroy window
     
    50185106/*:VRX         SW_PORTCONNECT_Init
    50195107*/
    5020 SW_PORTCONNECT_Init: 
     5108SW_PORTCONNECT_Init:
    50215109    window = VRInfo( "Object" )
    50225110    if( \VRIsChildOf( window, "TabbedDialog" ) ) then do
     
    51165204/*:VRX         SW_SETTINGS_Init_Content
    51175205*/
    5118 SW_SETTINGS_Init_Content: 
     5206SW_SETTINGS_Init_Content:
    51195207    ok = VRSet("PB_SETTINGS_UNDO","Enabled", 1)
    51205208
     
    51565244    end
    51575245
    5158     advanced.!smbconfchanged = 0   
     5246    advanced.!smbconfchanged = 0
    51595247return
    51605248
    51615249/*:VRX         SW_SMBTREE_Close
    51625250*/
    5163 SW_SMBTREE_Close: 
     5251SW_SMBTREE_Close:
    51645252    call SW_SMBTREE_Fini
    51655253return
     
    51675255/*:VRX         SW_SMBTREE_Create
    51685256*/
    5169 SW_SMBTREE_Create: 
     5257SW_SMBTREE_Create:
    51705258    call SW_SMBTREE_Init
    51715259return
     
    51735261/*:VRX         SW_SMBTREE_Fini
    51745262*/
    5175 SW_SMBTREE_Fini: 
     5263SW_SMBTREE_Fini:
    51765264    window = VRInfo( "Window" )
    51775265    call VRDestroy window
     
    51805268/*:VRX         SW_SMBTREE_Init
    51815269*/
    5182 SW_SMBTREE_Init: 
     5270SW_SMBTREE_Init:
    51835271
    51845272return
     
    51865274/*:VRX         SW_SMBTREE_Init_Content
    51875275*/
    5188 SW_SMBTREE_Init_Content: 
     5276SW_SMBTREE_Init_Content:
    51895277    if VRGet("TM_Throbber","Enabled") = 1 then ok = VRset("Pict_Throbber", "Visible", 1)
    51905278
     
    51965284/*:VRX         TDL_1_PageSelected
    51975285*/
    5198 TDL_1_PageSelected: 
     5286TDL_1_PageSelected:
    51995287    page =  VRInfo("Page")
    52005288
    52015289    /* call _TabsStrip */
    5202     select 
     5290    select
    52035291        when page = 1 then do /* dialog */
    5204             call _TabFix 1 
     5292            call _TabFix 1
    52055293        end
    52065294        when page = 2 then do /* advanced */
     
    52275315/*:VRX         TM_Progress_Throbber_Trigger
    52285316*/
    5229 TM_Progress_Throbber_Trigger: 
     5317TM_Progress_Throbber_Trigger:
    52305318    pIdx = VRGet("Pict_Progress_Throbber","PicturePath")
    52315319    parse var pIdx '#' pidx
     
    52375325/*:VRX         TM_RefreshCurrentDisplay_Trigger
    52385326*/
    5239 TM_RefreshCurrentDisplay_Trigger: 
     5327TM_RefreshCurrentDisplay_Trigger:
    52405328    if RefreshMode <> "" then return
    52415329    if _DaemonRunning() = 0 then do
  • trunk/guitools/shared/nlv.vrs

    r703 r894  
    44    /* This subroutine is (c) by Alex Taylor, portions (c) Herwig Bauernfeind
    55     * Sets all UI text from the message file.  Any string that can't be loaded
    6      * will default to the built-in English. 
     6     * will default to the built-in English.
    77     */
    88
     
    1818    say '  NLV srchroot   = "'srchRoot'"'
    1919
    20     filestem = VRParseFileName( execPath, "N")'_'
    21     if translate(filestem) = "EVFSGUI_" then filestem = "evfsi_"
     20    filestem = VRParseFileName( execPath, "N")
     21    if translate(filestem) = "EVFSGUI" then filestem = "evfsi_"
     22    else filestem = SUBSTR( filestem, 1, 6, '_' )
    2223    say '  NLV filestem   = "'filestem'"'
    2324
     
    9091            end
    9192        end
    92     end   
     93    end
    9394    say time()' NLVSearch() done, returning "'NLVFile'"'
    9495return NLVFile
     
    105106
    106107    SELECT
    107         WHEN ARG() == 2 THEN 
     108        WHEN ARG() == 2 THEN
    108109            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2) )
    109         WHEN ARG() == 3 THEN 
     110        WHEN ARG() == 3 THEN
    110111            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(3) )
    111         WHEN ARG() == 4 THEN 
     112        WHEN ARG() == 4 THEN
    112113            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(3), ARG(4) )
    113         WHEN ARG() == 5 THEN 
     114        WHEN ARG() == 5 THEN
    114115            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(3), ARG(4), ARG(5) )
    115         WHEN ARG() == 6 THEN 
     116        WHEN ARG() == 6 THEN
    116117            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(3), ARG(4), ARG(5), ARG(6) )
    117         WHEN ARG() == 7 THEN 
     118        WHEN ARG() == 7 THEN
    118119            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(3), ARG(4), ARG(5), ARG(6), ARG(7) )
    119         WHEN ARG() == 8 THEN 
     120        WHEN ARG() == 8 THEN
    120121            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(2), ARG(4), ARG(5), ARG(6), ARG(7), ARG(8) )
    121         WHEN ARG() == 9 THEN 
     122        WHEN ARG() == 9 THEN
    122123            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(2), ARG(4), ARG(5), ARG(6), ARG(7), ARG(8), ARG(9) )
    123         WHEN ARG() == 10 THEN 
     124        WHEN ARG() == 10 THEN
    124125            msgtxt = SysGetMessage( msgnum, msgfile, ARG(2), ARG(2), ARG(4), ARG(5), ARG(6), ARG(7), ARG(8), ARG(9), ARG(10) )
    125126        OTHERWISE
     
    135136/*:VRX         NLVSetText
    136137*/
    137 /* 
    138  * Sets the specified property of the specified control to the specified 
     138/*
     139 * Sets the specified property of the specified control to the specified
    139140 * message text.
    140141 */
     
    143144
    144145    success = 1
    145     IF substitution == '' THEN     
     146    IF substitution == '' THEN
    146147        text = NLVGetMessage( message )
    147148    ELSE
    148149        text = NLVGetMessage( message, substitution )
    149150
    150     IF text == '' THEN success = 0 
     151    IF text == '' THEN success = 0
    151152    ELSE               CALL VRSet control, property, text
    152153
Note: See TracChangeset for help on using the changeset viewer.