Changeset 662 for trunk/guitools/evfsgui
- Timestamp:
- Nov 13, 2011, 4:25:35 PM (14 years ago)
- Location:
- trunk/guitools/evfsgui
- Files:
-
- 2 edited
-
evfsgui.vrx (modified) (13 diffs)
-
evfsgui.vry (modified) ( previous)
Legend:
- Unmodified
- Added
- Removed
-
trunk/guitools/evfsgui/evfsgui.vrx
r661 r662 98 98 #append U:\Develop\Samba\trunk\guitools\shared\textini.vrs 99 99 #append U:\Develop\Samba\trunk\guitools\shared\usercredmem.vrs 100 #append U:\Develop\Samba\trunk\guitools\shared\rxrpclib.vrs 100 101 */ 101 102 return … … 1602 1603 */ 1603 1604 CN_CONDET_Click: 1604 ok = VRset("DT_StatusBar","Caption", VRGet("Main", "HintText"))1605 /* ok = VRset("DT_StatusBar","Caption", VRGet("Main", "HintText")) */ 1605 1606 return 1606 1607 … … 1642 1643 CN_CURRENT_Click: 1643 1644 IF options.!debug == 1 THEN SAY time()' CN_CURRENT_Click started' 1644 ok = VRset("DT_StatusBar","Caption", VRGet("Main", "HintText"))1645 /* ok = VRset("DT_StatusBar","Caption", VRGet("Main", "HintText")) */ 1645 1646 1646 1647 /* Herwig B. */ … … 1653 1654 options.currentdata = data 1654 1655 1655 ok = VRset("DT_StatusBar","Caption", data' - 'VRGet("Main", "HintText"))1656 /* ok = VRset("DT_StatusBar","Caption", data' - 'VRGet("Main", "HintText")) */ 1656 1657 1657 1658 PARSE VAR data p_node ';' p_mounts ';' p_string … … 1773 1774 1774 1775 CALL VRSet 'MENU_CONTEXT_OPEN', 'Visible', 1 1775 CALL VRSet 'MENU_CONTEXT_SEP1', 'Visible', 11776 /* CALL VRSet 'MENU_CONTEXT_SEP1', 'Visible', 1 1776 1777 CALL VRSet 'MENU_CONTEXT_SEP2', 'Visible', 1 1777 CALL VRSet 'MENU_CONTEXT_SEP3', 'Visible', 1 1778 CALL VRSet 'MENU_CONTEXT_SEP3', 'Visible', 1 */ 1778 1779 CALL VRSet 'Menu_Context_Open_Default', "Visible", 1 1779 1780 … … 1797 1798 CALL VRSet 'MENU_CONTEXT_DETACH', 'Visible', 1 1798 1799 CALL VRSet 'MENU_CONTEXT_OPEN', 'Visible', 1 1799 CALL VRSet 'MENU_CONTEXT_SEP1', 'Visible', 1 1800 /* CALL VRSet 'MENU_CONTEXT_SEP1', 'Visible', 1 */ 1800 1801 CALL VRSet 'MENU_CONTEXT_DETACH_ALL', 'Visible', 1 1801 CALL VRSet 'MENU_CONTEXT_SEP2', 'Visible', 1 1802 CALL VRSet 'MENU_CONTEXT_SEP3', 'Visible', 1 1802 /* CALL VRSet 'MENU_CONTEXT_SEP2', 'Visible', 1 */ 1803 /* CALL VRSet 'MENU_CONTEXT_SEP3', 'Visible', 1 */ 1803 1804 END 1804 1805 ELSE DO … … 1806 1807 CALL VRSet 'MENU_CONTEXT_DETACH', 'Visible', 0 1807 1808 CALL VRSet 'MENU_CONTEXT_OPEN', 'Visible', 0 1808 CALL VRSet 'MENU_CONTEXT_SEP1', 'Visible', 0 1809 /* CALL VRSet 'MENU_CONTEXT_SEP1', 'Visible', 0 */ 1809 1810 CALL VRSet 'MENU_CONTEXT_DETACH_ALL', 'Visible', 0 1810 CALL VRSet 'MENU_CONTEXT_SEP2', 'Visible', 0 1811 CALL VRSet 'MENU_CONTEXT_SEP3', 'Visible', 0 1811 /* CALL VRSet 'MENU_CONTEXT_SEP2', 'Visible', 0 */ 1812 /* CALL VRSet 'MENU_CONTEXT_SEP3', 'Visible', 0 */ 1812 1813 END 1813 1814 … … 1979 1980 1980 1981 ok = VRSet("EF_DIRECTORY","Value", "") 1981 1982 window = VRLoadSecondary( "SW_MOUNTPOINT", "W" )1983 1984 if VRGet("CB_DRIVES","Value") = "" then return1985 1982 end 1986 1983 else do 1987 1988 1984 TargetString = VRMethod(trgCtn, "GetRecordAttr", trgRec, "Caption") 1989 1985 … … 1998 1994 ok = VRSet("CB_DRIVES","Value", left(TargetString,2)) 1999 1995 ok = VRSet("EF_DIRECTORY","Value", substr(TargetString,4)) 2000 window = VRLoadSecondary( "SW_MOUNTPOINT", "W" ) 2001 if VRGet("CB_DRIVES","Value") = "" then return 2002 end 1996 end 1997 1998 window = VRLoadSecondary( "SW_MOUNTPOINT", "W" ) 1999 if VRGet("CB_DRIVES","Value") = "" then return 2000 2003 2001 window = VRLoadSecondary( "SW_LOGIN", "W" ) 2004 2002 if credentials.!entered = 1 then call PB_MOUNT_CLICK … … 2013 2011 CN_SMBTREE_Click: 2014 2012 IF options.!debug == 1 THEN SAY time()' CN_SMBTREE_Click started' 2015 ok = VRset("DT_StatusBar","Caption", VRGet("Main", "HintText"))2013 /* ok = VRset("DT_StatusBar","Caption", VRGet("Main", "HintText")) */ 2016 2014 2017 2015 call _dropdeprecated … … 3729 3727 credentials.!entered = 1 3730 3728 3729 ok = _rpcqueryuser(p_server, VRGet("EF_USER1","Value"), VRGet("EF_PASSWORD1","Value"), VRGet("EF_USER1","Value")) 3730 3731 LogonRetVal = word(ok,1) 3732 3733 if LogonRetVal = "1" then do 3734 Msg.Type ="I" 3735 ok = VRSet("DT_STATUSBAR","Caption", "Welcome "rpc.queryuser.FULL_NAME"!") 3736 end 3737 else do 3738 Msg.Type ="E" 3739 CALL VRMessage 'Main', Credentials.!username" at "p_server": "rpc.queryuser.LOGONSTATUS, "Login failure", Msg.Type 3740 end 3741 3731 3742 call SW_LOGIN_Close 3732 3743 RETURN … … 4523 4534 when pos("PDC",VRMethod("CN_smbtree", "GetFieldData", SMBObj.rh, MBFH)) > 0 then LoginIcon = "#63:PMWP.DLL" /* icons.!pdc */ 4524 4535 when SMBObj.udatatype = "WORKGROUP" then LoginIcon = SMBObj.Icon 4525 when SMBObj.udatatype = "SERVER" then LoginIcon = SMBObj.Icon 4536 when SMBObj.udatatype = "SERVER" then LoginIcon = SMBObj.Icon 4537 when SMBObj.udatatype = "DISK" then do 4538 if pos("PDC",VRMethod("CN_smbtree", "GetFieldData", SMBObj.parentrh, MBFH)) > 0 4539 then LoginIcon = "#63:PMWP.DLL" /* icons.!pdc */ 4540 else LoginIcon = "#35:PMWP.DLL" /* icons.!pdc */ 4541 end 4526 4542 otherwise LoginIcon = "#35:PMWP.DLL" /* icons.!machine_awake */ 4527 4543 end … … 4595 4611 ok = VRMethod("EF_DIRECTORY1","AddString",p_share) 4596 4612 4597 IF advanced.!easupport \= "" THEN ok = VRSet("CB_EAS1","Set", advanced.!easupport)4598 IF advanced.!readonly \= "" THEN ok = VRSet("CB_READONLY1","Set", advanced.!readonly)4599 IF advanced.!alwaysmp \= "" THEN ok = VRSet("CB_ALWAYSMP1","Set", advanced.!alwaysmp)4613 IF advanced.!easupport \= "" THEN ok = VRSet("CB_EAS1", "Set", advanced.!easupport) 4614 IF advanced.!readonly \= "" THEN ok = VRSet("CB_READONLY1", "Set", advanced.!readonly) 4615 IF advanced.!alwaysmp \= "" THEN ok = VRSet("CB_ALWAYSMP1", "Set", advanced.!alwaysmp) 4600 4616 IF advanced.!cachetimeout \= "" THEN ok = VRSet("SPIN_CACHETIMEOUT1", "Value", advanced.!cachetimeout) 4601 4617 IF advanced.!cachelistings \= "" THEN ok = VRSet("SPIN_CACHELISTINGS1","Value", advanced.!cachelistings)
Note:
See TracChangeset
for help on using the changeset viewer.
