Changeset 3667


Ignore:
Timestamp:
Oct 15, 2019, 10:11:41 PM (5 years ago)
Author:
Andreas Schnellbacher
Message:
  • Cosmetic changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/netlabs/macros/toolbar.e

    r3463 r3667  
    216216        'SayHint' Prompt
    217217      elseif arg( 1) = 'H' then
    218          if words( Help) = 1 & isnum( Help) then
     218         if words( Help) = 1 & IsNum( Help) then
    219219            'helpmenu' Help
    220220         else
    221             call winmessagebox( Title,
     221            call WinMessageBox( Title,
    222222                                Prompt''Help,
    223223                                MB_OK + MB_INFORMATION + MB_MOVEABLE)
     
    307307         tb = ''
    308308      endif
    309       parse value entrybox( SAVEBAR__MSG,
     309      parse value EntryBox( SAVEBAR__MSG,
    310310                            '/'SAVE__MSG'/'Cancel__MSG'/'Help__MSG'/',
    311311                            tb,
    312312                            '', 200,
    313                             atoi( 1) || atoi( 7010) || gethwndc( APP_HANDLE) ||
     313                            atoi( 1) || atoi( 7010) || GethWndC( APP_HANDLE) ||
    314314                            SAVEBAR_PROMPT__MSG) with button 2 BarName \0
    315315      if button <> \1 then
     
    515515   if wp then
    516516      fSave = 0
    517       BarName = delword( BarName, wp, 1)
     517      BarName = strip( delword( BarName, wp, 1))
    518518   endif
    519519   if BarName = '' then  -- List all toolbars
     
    547547      if .last > 2 then
    548548         getfileid fileid
    549          call sort( 2, .last, 1, 40, fileid, 'I')
     549         call Sort( 2, .last, 1, 40, fileid, 'I')
    550550      endif
    551551      -- Append name for standard toolbar as last
     
    568568      -- entry length extends E's max. line length.
    569569      -- It also quits the current file and activates startfid.
    570       if listbox_buffer_from_file( startfid,
     570      if ListBox_Buffer_From_File( startfid,
    571571                                   bufhndl,
    572572                                   noflines,
     
    646646      --Setup = \1'8'\1'32'\1'32'\1'8.Helv'\1'16777216'\1'16777216'\1  -- internal default if no entry in EPM.INI
    647647      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
    648651      call setprofile( app_hini, 'UCMenu', 'ConfigInfo', Setup)
    649652   endif
     
    664667   call windowmessage( 0, getpminfo(EPMINFO_EDITFRAME),
    665668                       5921,
    666                        put_in_buffer( Setup), 0)
     669                       Put_In_Buffer( Setup), 0)
    667670   return
    668671
     
    750753                         atoi( DefaultButton)  ||
    751754                         atoi( 0000)           ||  -- help id
    752                          gethwndc( APP_HANDLE) ||
     755                         GethWndC( APP_HANDLE) ||
    753756                         Text) with Button 2 NewValue \0
    754757   NewValue = strip(NewValue)
     
    860863   if wpos then
    861864      fQuiet = 1
    862       BarFile = delword( BarFile, wpos, 1)
     865      BarFile = strip( delword( BarFile, wpos, 1))
    863866   endif
    864867
     
    867870   if wpos then
    868871      fMakeActive = 0
    869       BarFile = delword( BarFile, wpos, 1)
     872      BarFile = strip( delword( BarFile, wpos, 1))
    870873   endif
    871874
     
    10831086
    10841087defc 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)
    10861089
    10871090; ---------------------------------------------------------------------------
     
    11411144   Title = 'Select a toolbar'
    11421145   Text = 'Current toolbar: 'toolbar_loaded
    1143    parse value listbox( Title''copies( ' ', 20),
     1146   parse value ListBox( Title''copies( ' ', 20),
    11441147                        \0 || atol( usedsize) || atoi( 32) || atoi( bufhndl),
    11451148                        '/'OK__MSG'/'CANCEL__MSG,
Note: See TracChangeset for help on using the changeset viewer.