Search found 303 matches

by Harrison Pratt
17 Nov 2018 16:19
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 5020

Re: Find in Files, a little quirk

The quirky projects are two that I created using VP 7 and later copied to my VP 8 development tree and continued development there. How does Find in Files populate the search list?

This quirk, of course, is at the most trivial level of all quirks. :wink:
by Harrison Pratt
16 Nov 2018 13:31
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 5020

Re: Find in Files, a little quirk

Thanks for checking. I'll keep an eye on it.
by Harrison Pratt
14 Nov 2018 14:45
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 5020

Re: Find in Files, a little quirk

I'm using VP Build 802. The behavior seems somewhat inconsistent, but this is what I know for sure so far: * It doesn't happen with all projects, but happens with more than one. * I don't think it's related to 32 vs 64 bit projects. * It happens when searching from the top of the project tree (the f...
by Harrison Pratt
12 Nov 2018 15:03
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 5020

Find in Files, a little quirk

Snap_2018.11.12 08.58.59_001.png
Replicate results in "Find in Files"
Snap_2018.11.12 08.58.59_001.png (27.8 KiB) Viewed 5020 times
"Find in Files" (Ctrl-Shift-F) displays "found" lines in Task Window twice, but other files search results are OK.
by Harrison Pratt
9 Nov 2018 20:38
Forum: Visual Prolog Tips & Samples
Topic: xyChartDemo - GDIPLUS XY graphing demonstration
Replies: 2
Views: 2388

Re: xyChartDemo - GDIPLUS XY graphing demonstration

UPGRADE FOR Vip8: The original version of xyChartDemo was developed with Vip7 and is not plug-and-play compatible with Vip8 due to some minor changes in the version 8 PFC Graphics class. I have made the necessary changes (mostly in Chart.pro), added a few trivial features (e.g., save and recall nam...
by Harrison Pratt
9 Nov 2018 20:18
Forum: Visual Prolog
Topic: Faddey
Replies: 1
Views: 4134

Re: Faddey

If you are starting with a new, almost "empty," project be sure to Build the entire project first. That helps the IDE perform autocomplete. After that, when you start typing the autocomplete suggestions should appear automatically. When they do, Tab and arrow keys will paste the start of the built-i...
by Harrison Pratt
1 Nov 2018 14:38
Forum: Visual Prolog
Topic: IDE Toolbar Buttons Unresponsive
Replies: 6
Views: 10694

Re: IDE Toolbar Buttons Unresponsive

FYI -- This still happens with VIP 8 -- if I click on the desktop or another application then the IDE toolbar buttons become responsive.
by Harrison Pratt
1 Nov 2018 14:33
Forum: Visual Prolog
Topic: VIP 8 PE Context-sensitive help (F1) missing
Replies: 12
Views: 7560

Re: VIP 8 PE Context-sensitive help (F1) missing

FYI -- context-sensitive help STOPPED working on my system a few days ago.

I found that helpTopic.db and helpTopic64.db file properties were not read-only. I changed them back to read-only and context-sensitive help work again.

Curious.
by Harrison Pratt
17 Oct 2018 11:56
Forum: Visual Prolog
Topic: Get Menu check status
Replies: 7
Views: 8031

Re: Get Menu check status

First, create a menu item that you want to check. I don't think that you can check/uncheck a top level menu item, so it needs to be a sub-menu item. Setting or unsetting Checked in the IDE only changes the initial state of the menu item; you don't need to check this to make it a "checkable" item. Fo...
by Harrison Pratt
7 Oct 2018 3:17
Forum: Visual Prolog
Topic: Accessing a txt file resource
Replies: 7
Views: 4836

Re: Accessing a txt file resource

I use an interface (.i) file tor embed large strings in an application. The string constant syntax7z is globally visible throughout the application. A rudimentary example is below. interface aTest open core constants syntax7z : string = "Usage: 7z <command> [<switches>...] <archive_name> [<file_name...
by Harrison Pratt
16 Aug 2018 20:48
Forum: Visual Prolog
Topic: ListviewControl compilation 32bit vs 64 bit, VP8
Replies: 7
Views: 5249

Re: ListviewControl compilation 32bit vs 64 bit, VP8

Thank you, Thomas! Your explanation gives me the "hooks" I need to understand this in more depth -- of course, your suggested code modification works in 32 & 64 bit, too. Are mkW , mkL and mkR strictly VP constructs or are there equivalents in the .NET world, too? I see now that this is documented i...
by Harrison Pratt
16 Aug 2018 15:35
Forum: Visual Prolog
Topic: ListviewControl compilation 32bit vs 64 bit, VP8
Replies: 7
Views: 5249

Re: ListviewControl compilation 32bit vs 64 bit, VP8

I think the problem relates to differences in Windows LPARAM in 32 and 64 bit code. https://social.msdn.microsoft.com/Forums/vstudio/en-US/9e26cb61-53f3-4f2f-b65c-27cf27921082/32bit-vs-64bit-bitwise-operator-difference?forum=vclanguage listviewcontrol::itemID is an lparm domain in VP and I wonder if...
by Harrison Pratt
16 Aug 2018 12:39
Forum: Visual Prolog
Topic: ListviewControl compilation 32bit vs 64 bit, VP8
Replies: 7
Views: 5249

Re: ListviewControl compilation 32bit vs 64 bit, VP8

No such animal as int32! There are, of course, integer8, integer 16 and integer64.
by Harrison Pratt
15 Aug 2018 13:00
Forum: Visual Prolog
Topic: ListviewControl compilation 32bit vs 64 bit, VP8
Replies: 7
Views: 5249

ListviewControl compilation 32bit vs 64 bit, VP8

The code below compiles happily in 32bit mode but gives an e504 error in 64 bit mode: e504 The expression has type '::integer', which is incompatible with the type 'listViewControl::itemID' How can I work around this error for 64bit compilation? class predicates sssToItemList : (string_list_list, po...
by Harrison Pratt
28 Jul 2018 1:28
Forum: Visual Prolog
Topic: Edit pdf document
Replies: 5
Views: 5040

Re: Edit pdf document

This looks like good documentation on PDF structure ... have fun! :wink: http://www.planetpdf.com/developer/article.asp?ContentID=navigating_the_internal_struct&page=0 If I were forced into doing what you describe with a time deadline I might consider a scripting engine and a PDF editor if I had a f...