Changeset 3667
- Timestamp:
- Oct 15, 2019, 10:11:41 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/netlabs/macros/toolbar.e ¶
r3463 r3667 216 216 'SayHint' Prompt 217 217 elseif arg( 1) = 'H' then 218 if words( Help) = 1 & isnum( Help) then218 if words( Help) = 1 & IsNum( Help) then 219 219 'helpmenu' Help 220 220 else 221 call winmessagebox( Title,221 call WinMessageBox( Title, 222 222 Prompt''Help, 223 223 MB_OK + MB_INFORMATION + MB_MOVEABLE) … … 307 307 tb = '' 308 308 endif 309 parse value entrybox( SAVEBAR__MSG,309 parse value EntryBox( SAVEBAR__MSG, 310 310 '/'SAVE__MSG'/'Cancel__MSG'/'Help__MSG'/', 311 311 tb, 312 312 '', 200, 313 atoi( 1) || atoi( 7010) || gethwndc( APP_HANDLE) ||313 atoi( 1) || atoi( 7010) || GethWndC( APP_HANDLE) || 314 314 SAVEBAR_PROMPT__MSG) with button 2 BarName \0 315 315 if button <> \1 then … … 515 515 if wp then 516 516 fSave = 0 517 BarName = delword( BarName, wp, 1)517 BarName = strip( delword( BarName, wp, 1)) 518 518 endif 519 519 if BarName = '' then -- List all toolbars … … 547 547 if .last > 2 then 548 548 getfileid fileid 549 call sort( 2, .last, 1, 40, fileid, 'I')549 call Sort( 2, .last, 1, 40, fileid, 'I') 550 550 endif 551 551 -- Append name for standard toolbar as last … … 568 568 -- entry length extends E's max. line length. 569 569 -- It also quits the current file and activates startfid. 570 if listbox_buffer_from_file( startfid,570 if ListBox_Buffer_From_File( startfid, 571 571 bufhndl, 572 572 noflines, … … 646 646 --Setup = \1'8'\1'32'\1'32'\1'8.Helv'\1'16777216'\1'16777216'\1 -- internal default if no entry in EPM.INI 647 647 Setup = \1'56'\1'26'\1'26'\1'9.WarpSans'\1'16777216'\1'16777216'\1 -- new default if no entry in EPM.INI 648 -- See CONFIG.E:"defc SaveColor" 649 -- ValList = .textcolor .markcolor vdesktopcolor vmessagecolor vstatuscolor vmodifiedstatuscolor 650 -- = 16 * 16 * 16 * 16 * 16 * 16 = 16777216 648 651 call setprofile( app_hini, 'UCMenu', 'ConfigInfo', Setup) 649 652 endif … … 664 667 call windowmessage( 0, getpminfo(EPMINFO_EDITFRAME), 665 668 5921, 666 put_in_buffer( Setup), 0)669 Put_In_Buffer( Setup), 0) 667 670 return 668 671 … … 750 753 atoi( DefaultButton) || 751 754 atoi( 0000) || -- help id 752 gethwndc( APP_HANDLE) ||755 GethWndC( APP_HANDLE) || 753 756 Text) with Button 2 NewValue \0 754 757 NewValue = strip(NewValue) … … 860 863 if wpos then 861 864 fQuiet = 1 862 BarFile = delword( BarFile, wpos, 1)865 BarFile = strip( delword( BarFile, wpos, 1)) 863 866 endif 864 867 … … 867 870 if wpos then 868 871 fMakeActive = 0 869 BarFile = delword( BarFile, wpos, 1)872 BarFile = strip( delword( BarFile, wpos, 1)) 870 873 endif 871 874 … … 1083 1086 1084 1087 defc delete_toolbar 1085 call list_toolbars( DELETE_TOOLBAR__MSG, SELECT_TOOLBAR__MSG, 7001, 5919)1088 call List_Toolbars( DELETE_TOOLBAR__MSG, SELECT_TOOLBAR__MSG, 7001, 5919) 1086 1089 1087 1090 ; --------------------------------------------------------------------------- … … 1141 1144 Title = 'Select a toolbar' 1142 1145 Text = 'Current toolbar: 'toolbar_loaded 1143 parse value listbox( Title''copies( ' ', 20),1146 parse value ListBox( Title''copies( ' ', 20), 1144 1147 \0 || atol( usedsize) || atoi( 32) || atoi( bufhndl), 1145 1148 '/'OK__MSG'/'CANCEL__MSG,
Note:
See TracChangeset
for help on using the changeset viewer.