Search found 323 matches

by Harrison Pratt
23 Nov 2020 16:57
Forum: Visual Prolog
Topic: Dynamically change font in projectToolbar Static Text
Replies: 0
Views: 21

Dynamically change font in projectToolbar Static Text

Is there a way to dynamically change the font in the projectToolbar beyond the options in the IDE wizard? I can change the text of the Static Text and can dynamically change a listButton's strings and font, but cannot figure out how to change the Text font. onTest(_Source, _MenuTag) :- vpiToolbar::g...
by Harrison Pratt
22 Nov 2020 21:15
Forum: Visual Prolog
Topic: Upgrade of CGI application
Replies: 5
Views: 66

Re: Upgrade of CGI application

That is beyond my expertise, unfortunately.
by Harrison Pratt
22 Nov 2020 17:40
Forum: Visual Prolog
Topic: Upgrade of CGI application
Replies: 5
Views: 66

Re: Upgrade of CGI application

cgi::init(stream::ansi(core:: ansi)),

Perhaps you want core::threadAnsi
by Harrison Pratt
18 Oct 2020 15:55
Forum: Visual Prolog
Topic: VIP 802 Find in Files stopped working
Replies: 7
Views: 4635

Re: VIP 802 Find in Files stopped working

Happened again after a Windows update today -- fixed it the same way as before.

This doesn't happen with VIP 9x.
by Harrison Pratt
10 Sep 2020 16:46
Forum: Visual Prolog
Topic: Find in Files (Replace All) is mangling text
Replies: 2
Views: 1079

Re: Find in Files (Replace All) is mangling text

Ahhh ... auto-format doesn't trigger on changes made by an external editor (Notepad++). I needed to change the Tab Replace by space setting in NPP so I don't need to remember to run the little macro I created to to that before closing the file.

Thanks!
Screenshot 2020-09-10 111434.jpg
Screenshot 2020-09-10 111434.jpg (91.01 KiB) Viewed 1041 times
by Harrison Pratt
9 Sep 2020 14:05
Forum: Visual Prolog
Topic: Find in Files (Replace All) is mangling text
Replies: 2
Views: 1079

Find in Files (Replace All) is mangling text

Find in Files/ Replace All seems to be having a problem with overwriting '(' and adjacent characters in the target text. If use, for example, the parameters below: Find in Files dialog.jpg The IDE changes the line below activityCombined_Updater::updateCombinedActivity(activityCombined_Updater::updat...
by Harrison Pratt
19 Aug 2020 10:53
Forum: Visual Prolog
Topic: VIP 802 Find in Files stopped working
Replies: 7
Views: 4635

Re: VIP 802 Find in Files stopped working

Solved: For some unknown reason, the FIF dialog was opening almost completely off the top of the desktop screen and only a tiny sliver of the grey bottom of the dialog was visible. I couldn't use the mouse to "grab" the title bar of the dialog because it was far off the screen, so I was able to relo...
by Harrison Pratt
14 Aug 2020 13:06
Forum: Visual Prolog
Topic: IDE Tools cannot launch one specific application
Replies: 4
Views: 1529

Re: IDE Tools cannot launch one specific application

C:\Program Files\zabkat\xplorer2\xplorer2_64.exe %* in the CMD file works if unquoted.

If it is quoted then xplorer2_64.exe does not handle the command line parameters.
Other applications may interact differently with CMD files with respect to quoting.
by Harrison Pratt
13 Aug 2020 17:59
Forum: Visual Prolog
Topic: IDE Tools cannot launch one specific application
Replies: 4
Views: 1529

Re: IDE Tools cannot launch one specific application

Surrounding the command C:\Program Files\zabkat\xplorer2\xplorer2_64.exe eliminates the error with Notepad++ but doesn't help with the VIP IDE. I notice that the Tool commands that are working point to C:\Program Files (x86)\... and the one for Xplorer2_64 is in C:\Program Files\... Could there be a...
by Harrison Pratt
13 Aug 2020 16:51
Forum: Visual Prolog
Topic: IDE Tools cannot launch one specific application
Replies: 4
Views: 1529

Re: IDE Tools cannot launch one specific application

Thanks, Thomas! I looked for hidden characters in the file name and found none. I tried running Xplorer2 from the Notepad++ command line and got this error message: Ashampoo_Snap_Thursday, August 13, 2020_11h13m51s_001_.jpg It will run from the command line (Win-R) and from the Xplorer2 command line...
by Harrison Pratt
10 Aug 2020 20:44
Forum: Visual Prolog
Topic: How to delete a source file
Replies: 3
Views: 1480

Re: How to delete a source file

There is no way in the Vip9x or 8x IDE. The right-click context menu option to Remove from Project also is limited to Packages, text files and resources, which makes sense since deleting just one of a class's files is illogical (although it might be logical to delete an interface whose name does not...
by Harrison Pratt
8 Aug 2020 21:32
Forum: Visual Prolog
Topic: IDE Tools cannot launch one specific application
Replies: 4
Views: 1529

IDE Tools cannot launch one specific application

When I try to set up one particular application ( xplorer2_64.exe ) to launch from the IDE tools the application window (I think) flashes briefly and closes. It behaves the same whether the Wait status on the Configure Tools dialog is set to Wait , NoWait or Auto . The application folder and file na...
by Harrison Pratt
14 Jul 2020 12:03
Forum: Visual Prolog
Topic: Draw vertical text using GDI+ stringFormat
Replies: 4
Views: 1703

Re: Draw vertical text using GDI+ stringFormat

I use the very handy Ctrl-Shift-S approach often. What happened when I was trying to find the constant (stringFormatFlagsDirectionVertical) was that I wrongly assumed I would find it in the pfc\gui directory tree and searched files there for the substring "vertical" using Ctrl-Shift-F. The constant ...
by Harrison Pratt
13 Jul 2020 1:57
Forum: Visual Prolog
Topic: Draw vertical text using GDI+ stringFormat
Replies: 4
Views: 1703

Re: Draw vertical text using GDI+ stringFormat

Ahhh ... thank you.

I searched high and low for that constant in all the wrong places! :D
by Harrison Pratt
12 Jul 2020 21:43
Forum: Visual Prolog
Topic: Draw vertical text using GDI+ stringFormat
Replies: 4
Views: 1703

Draw vertical text using GDI+ stringFormat

Is vertical text output supported in the graphics class? I cannot find ViP documentation on this feature, but it is defined in MSDN: https://docs.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-formatting-text-use ... Formatter = stringFormat::create(), % ??? How to set a format flag in Formatter...