Search found 333 matches

by Harrison Pratt
7 May 2016 14:35
Forum: Visual Prolog
Topic: Periodic automatic re-installation of VIP 7.5
Replies: 6
Views: 5542

This is still happening about weekly with a fresh install on a new Win10 PC with SSD.
I wonder if McAfee virus scan has something to do with it.
by Harrison Pratt
5 May 2016 2:11
Forum: Visual Prolog
Topic: Is latest release running under Windows XP still available ?
Replies: 2
Views: 3699

VIP PE worked fine for me on XP. What problems are you having?
by Harrison Pratt
25 Apr 2016 13:13
Forum: Visual Prolog
Topic: Correction of stiff dialog box of vpiCommonDialogs::ask predicate
Replies: 20
Views: 12291

I understand. That's why I wrote 3 variants of the askXXX predicates. The '&' is a token delimiter in both alphabetic string and numeric strings. I think that relying on the '&' to tokenize is risky because it would be easy to later change the accelerator character and forget that you were using it ...
by Harrison Pratt
24 Apr 2016 18:53
Forum: Visual Prolog
Topic: Correction of stiff dialog box of vpiCommonDialogs::ask predicate
Replies: 20
Views: 12291

Re:

Frank, Good idea! Eventually that will be needed. I updated my code to reflect your suggestion about removing the '&' accelerator character. :-) Harrison Harrison, My latest changes in my extended ask dialog: 1) Introduction of class properties triggering the size of the buttons and the vertical gap...
by Harrison Pratt
24 Apr 2016 18:20
Forum: Visual Prolog
Topic: Correction of stiff dialog box of vpiCommonDialogs::ask predicate
Replies: 20
Views: 12291

Re:

Ferenc Nagy wrote:Harrison,
If you prefer askToken then take care of different and informative first tokens of the button titles.
Do you mean to say that it is the responsibility of the developer to ensure that the frontTokens of all the button titles are unique? If not, I don't understand your meaning.
by Harrison Pratt
24 Apr 2016 12:55
Forum: Visual Prolog
Topic: Correction of stiff dialog box of vpiCommonDialogs::ask predicate
Replies: 20
Views: 12291

Frank, Thank you for your comments which help me appreciate your dialog design challenges. I struggled a while with the button width issue until finally remembering that dialog base unit calculation is required (well, not strictly required but useful) in dynamic generated dialogs. I'd used it in VI...
by Harrison Pratt
9 Apr 2016 17:54
Forum: Visual Prolog
Topic: Correction of stiff dialog box of vpiCommonDialogs::ask predicate
Replies: 20
Views: 12291

Ferenc's idea was so useful that I decided to extend and modify it to make it even more broadly usable. Code modifications: May use either the default dialog font or that of the Parent window. Fontsize follows that of the Parent window or default font, not hard coded. Button width is adjusted using ...
by Harrison Pratt
3 Apr 2016 14:19
Forum: Visual Prolog
Topic: Correction of stiff dialog box of vpiCommonDialogs::ask predicate
Replies: 20
Views: 12291

Ferenc, The buttons and the static text controls are not using the same font as the dialog Title font. I don't understand why that is happening when I look at your code. Also, perhaps the button size should be calculated before entering the control definition loop (assuming that you intended all the...
by Harrison Pratt
2 Apr 2016 22:24
Forum: Visual Prolog
Topic: Correction of stiff dialog box of vpiCommonDialogs::ask predicate
Replies: 20
Views: 12291

Very nice, Ferenc! That will save creating a few custom Ask dialogs. I have a suggestion for an enhancement: Change the PromptString to a string_list equal in length (or maybe not) to the number of buttons, then make the members of the PromptList line up horizontally with the buttons and right-align...
by Harrison Pratt
28 Mar 2016 20:11
Forum: Visual Prolog
Topic: IDE Editor blocks external clipboard manager in Windows 10
Replies: 2
Views: 3269

Paul, M8 says that they tested in "user" mode, not "administrator" mode. However ... they also used a downloaded copy of Personal Edition and I'm using CE. It is a curious interaction. I can get M8 to work with PE if I start M8 in administrator mode. But, if I start M8 in user mode, M8 does not work...
by Harrison Pratt
27 Mar 2016 14:40
Forum: Visual Prolog
Topic: IDE Editor blocks external clipboard manager in Windows 10
Replies: 2
Views: 3269

IDE Editor blocks external clipboard manager in Windows 10

I have been using M8 Software's Clipboard Manager (CM) with VIP 7.502 under WinXP. When editing files on my Win10 machine the hot-key access to the CM is blocked and if I manually open the CM it still will not paste into a source file. It DOES work in every other application I have tried, though. If...
by Harrison Pratt
17 Mar 2016 19:19
Forum: Visual Prolog
Topic: Need Help :(
Replies: 3
Views: 3756

Hey Students, you can get solutions on-line for $10 per page here: http://www.assignmenthelp.topclassessay ... in-prolog/
by Harrison Pratt
24 Jan 2016 14:40
Forum: Visual Prolog
Topic: Font Binary as Constant in code
Replies: 3
Views: 3054

Thank you for the explanation, Thomas!
by Harrison Pratt
23 Jan 2016 0:21
Forum: Visual Prolog
Topic: Font Binary as Constant in code
Replies: 3
Views: 3054

Font Binary as Constant in code

Is it possible to include a font binary in VIP source code in a way analogous to that below? This approach causes syntax errors. constants defaultGraphWinFont : font = $[F0,FF,FF,FF,00,00,00,00,00,00,00,00,00, 00,00,00,90,01,00,00,00,00,00,00,03,02,01,31,41,00,6E,00,64,00,61, 00,6C,00,65,00,20,00,4D...
by Harrison Pratt
13 Jan 2016 13:16
Forum: Visual Prolog
Topic: coordonates of point
Replies: 10
Views: 5989

Frank, have you looked at this:

Code: Select all

vpi::getBaseUnits/2   getBaseUnits : (     integer DlgBaseWidth [out],     integer DlgBaseHeigth [out])     language c.   Returns the pixel equivalents of the horizontal (width) and vertical (height) dialog base units.