Ignore:
Timestamp:
Sep 4, 2009, 9:08:19 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: More work on EVFSGUI V.next (Fixed several bugs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-2.0/shared/smbtree.vrs

    r319 r325  
    6666                    parent = smbtree.!machine
    6767                    smbtree.!share = VRMethod( "CN_smbtree", "AddRecord",parent,, share||'0D0A'x||comment, res)
     68                    ok = VRMethod( "CN_smbtree", "SetRecordAttr", smbtree.!share, "ReadOnly", 1)
    6869                    if pos("$", share) > 0 then ok = VRMethod( "CN_smbtree", "SetRecordAttr", smbtree.!share, "Visible", ShowHidden)
    6970                end
     
    7677                if VRGet("CN_smbtree","View") = "IconTree" then parent = smbtree.!workgroup; else parent = ""
    7778                smbtree.!machine = VRMethod( "CN_smbtree", "AddRecord",parent,, machine||'0D0A'x||comment,"#35:PMWP.DLL")
     79                ok = VRMethod( "CN_smbtree", "SetRecordAttr", smbtree.!machine, "ReadOnly", 1)
    7880                ok = VRMethod( "CN_smbtree", "SetFieldData", smbtree.!machine, NBFH, machine, CommentFH, Comment, WorkGroupFH, CurWG)
    7981                if VRGet("CN_smbtree","View") = "Detail" then do
     
    116118                    end
    117119                end
    118                         ok = VRSet( "CN_smbtree", "Painting", 1  )
    119                         ok = VRSet( "CN_smbtree", "Painting", 0  )
    120 
     120                ok = VRSet( "CN_smbtree", "Painting", 1  )
     121                ok = VRSet( "CN_smbtree", "Painting", 0  )
    121122            end
    122123            otherwise do
     
    132133                        ok = VRMethod( "CN_smbtree", "SetFieldData", smbtree.!workgroup, WorkGroupFH, smbtreeline.sl)
    133134                        ok = VRMethod( "CN_smbtree", "SetRecordAttr", smbtree.!workgroup, "Collapsed", 0)
     135                        ok = VRMethod( "CN_smbtree", "SetRecordAttr", smbtree.!workgroup, "ReadOnly", 1)
    134136                    end
    135137                    CurWG = smbtreeline.sl
Note: See TracChangeset for help on using the changeset viewer.