Search found 275 matches

by Harrison Pratt
7 Dec 2018 14:52
Forum: Visual Prolog
Topic: Wheel Scrolling in Grid Example
Replies: 3
Views: 72

Re: Wheel Scrolling in Grid Example

Dave, Should vpiGridgrid_vmove_cells_area be vpiGrid::grid_vmove_cells_area ? Add listener " addVScrollListener(onVScroll)" confuses me. Do you mean add a VScroll listener (onVScroll) ? Also, where is activeGrid defined? I can't find it. Thanks for digging into this. I hope your tweaks get added int...
by Harrison Pratt
19 Nov 2018 17:02
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 803

Re: Find in Files, a little quirk

The vipprj files in the two projects do not have replicate entries. I backed up both projects and tried deleting the TaskWindow package using the IDE. I got a message "It isn't allowed to delete the task window resource from the project." Despite the message, it deleted all the resources in the Task...
by Harrison Pratt
17 Nov 2018 16:19
Forum: Visual Prolog
Topic: Find in Files, a little quirk
Replies: 7
Views: 803

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: 803

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: 803

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: 803

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 803 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: 1380

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: 598

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: 6351

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: 2861

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: 3781

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: 831

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: 1020

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: 1020

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: 1020

Re: ListviewControl compilation 32bit vs 64 bit, VP8

No such animal as int32! There are, of course, integer8, integer 16 and integer64.