Author Topic: RC 2 Custom Toolbar Button Won't Accept Custom Caption  (Read 2639 times)

sdavidhicks0

  • Community Member
  • Posts: 15
  • Hero Points: 0
RC 2 Custom Toolbar Button Won't Accept Custom Caption
« on: November 04, 2014, 07:13:47 PM »
I tried this on v18.0.1 and did not experience any error. I'm sorry to say I think it's been happening through all the v19 betas, and I haven't reported it until now. Mea culpa.

When I try to create a new custom toolbar button on any toolbar, Slickedit complains if I try to set the caption in the button's Properties dialog. I get the stack error below. If the default caption of "Sample Button" is kept, no error occurs. Because of this error, I can't create any new custom toolbar buttons with captions of anything other than "Sample Button."

---
Slick-C Stack
Control ctlcaption referenced but does not exist
tbprops.ex 1747 _ToolBarProperties_form.ctlok.lbutton_up()   p_window_id: 498   p_object: OI_IMAGE   p_name:
dlgman.ex 1510 _ainh_dlg_manager.enter()   p_window_id: 390 (invalid)
dlgeditv.ex 7013 show(-modal _ToolBarProperties_form,487)   p_window_id: 510   p_object: OI_FORM   p_name: _tbtools_form
tbprops.ex 927 tbControlProperties(487)   p_window_id: 14   p_object: OI_EDITOR   p_name:

------------
SlickEdit 2014 (v19.0.0.11 64-bit)

Serial number: FE11473_BETA
License type: Beta License
License expiration: 2014-12-18 11:30:00
License file: C:\ProgramData\slickedit\19\slickedit.lic

Build Date: October 31, 2014
Emulation: CUA

OS: Windows 8 x64
OS Version: 6.02.9200 
Memory: 42% Load, 2547MB/6031MB Physical, 3930MB/12175MB Page File, 277MB/134217727MB Virtual
Shell Info: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1080

Project Type: No project open
Language: .txt (Plain Text)
Encoding: Automatic

Installation Directory: C:\Program Files\SlickEditV19.0.0 x64\ (non-removable drive,NTFS,453780MB free)
Configuration Directory: C:\Users\David\Documents\My SlickEdit Config\19.0.0\ (non-removable drive,NTFS,453780MB free)

Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 798
  • Hero Points: 54
Re: RC 2 Custom Toolbar Button Won't Accept Custom Caption
« Reply #1 on: November 04, 2014, 07:46:21 PM »
That will be one of the first hotfixes then!

In the meantime you can edit your config-dir/vusrobjs.e directly and change the caption from 'Sample Button' to whatever. Save the file and run it from the SE commandline:

Code: [Select]
xcom path/to/config-dir/vusrobjs.e
You'll need to exit and restart.

++rodney

sdavidhicks0

  • Community Member
  • Posts: 15
  • Hero Points: 0
Re: RC 2 Custom Toolbar Button Won't Accept Custom Caption
« Reply #2 on: November 05, 2014, 02:19:11 AM »
Great. Thanks, Rodney.