Search found 213 matches

by dominique f pannier
16 Feb 2013 14:21
Forum: Visual Prolog
Topic: image not accepted as a personal class name in 7.4
Replies: 2
Views: 1086

Thank you Thomas, I should have thought about it... :?
by dominique f pannier
15 Feb 2013 17:04
Forum: Visual Prolog
Topic: image not accepted as a personal class name in 7.4
Replies: 2
Views: 1086

image not accepted as a personal class name in 7.4

Hi, I wanted to upgrade a 7.3 dll project. With the automatic update method, I got the following errors : e2528 Error 2528: 'Obj\gdiplus.AF8FF855.obj' - symbol '?@create_object@image@@SGQAV1@@XZ' redefinition (see 'Obj\Image.6B91F729.obj') gdiplus.AF8FF855.obj e2528 Error 2528: 'Obj\gdiplus.AF8FF855...
by dominique f pannier
5 Jan 2013 16:24
Forum: Visual Prolog
Topic: Drawing a rectangle outside of the task
Replies: 7
Views: 2006

I'm afraid no...

paintResponder is attached to a drawWindow, built by a class in the GUI package.
Instead of usin vpi::winCreate, you have to add in your project a new object form, setState with the flags you want, and to which you add the paintResponder.
by dominique f pannier
31 Dec 2012 13:41
Forum: Visual Prolog
Topic: Drawing a rectangle outside of the task
Replies: 7
Views: 2006

Hi Tonton, I suppose your problem is the residual position of the moving window. If yes, you have to clear it. You can do it before redrawing. The clear instruction is a method of the windowGDI attached to a window. I thik the best way is to create a window to which you add a paint responder ( setpa...
by dominique f pannier
12 Nov 2012 8:21
Forum: Visual Prolog
Topic: tracing and antivirus
Replies: 7
Views: 1676

??? :roll: Anyway, the problem is solved : KAV 2013 runs now normally, and I can debug normally. I cannot exactly unserstand what happened and decide which of the three actors is guilty : KAV 2012 which was suddenly unable to be updated, KAV 2013 which was installed (maybe bad) at it's place, or the...
by dominique f pannier
6 Nov 2012 10:08
Forum: Visual Prolog
Topic: tracing and antivirus
Replies: 7
Views: 1676

Thanks, Thomas.
I will try.
by dominique f pannier
6 Nov 2012 9:14
Forum: Visual Prolog
Topic: tracing and antivirus
Replies: 7
Views: 1676

Hi Tonton and Thomas, sorry for rough explanation. What is in question is the debug run. When I use the "Step over" (F10) command to go to the next line, whithout this antivirus, it's instantaneous. When it works, between one anf five seconds. the "Run to cursor" (Ctrl+F10) command runs quicker, alm...
by dominique f pannier
5 Nov 2012 16:50
Forum: Visual Prolog
Topic: tracing and antivirus
Replies: 7
Views: 1676

tracing and antivirus

Hi, I'm using the last antivirus version of Kaspersky (2013). Since I installed that version, when tracing a program VIP works very slowly. Without antivirus, VIP works normaly. I tried to exclude from the analysis and the survey of the system by the antivirus vip.exe and the .exe application file o...
by dominique f pannier
26 Oct 2012 13:30
Forum: Visual Prolog
Topic: Visual prolog 7.3 is generating the wrong result for adding two values..
Replies: 18
Views: 4083

Hi,
If I've right understood Thomas'explanations, for Result2 the additionned errors gives the right number.
by dominique f pannier
26 Oct 2012 13:11
Forum: Visual Prolog
Topic: Visual prolog 7.3 is generating the wrong result for adding two values..
Replies: 18
Views: 4083

Hi, I understand Harrison's reasons, but it seems there is finally a problem. The next program : run() :- console::init(), Result1 = addTwoNo(4777.61, 2009.1), Result2 = addTwoNo(3510.61, 3512.1), Result3 = addTwoNo(5510.61, 3512.1), console::writef("R = %\n", Result2). class predicates addTwoNo : (...
by dominique f pannier
9 Oct 2012 8:34
Forum: Visual Prolog
Topic: vprolog for algebra (group theory)
Replies: 2
Views: 1422

Hi, I'm not a specialist in mathematics, and I do not undestand how is working this program, but fo symetry reason, it seems that if you express the fact that the product of an element by the neutral element is itself with this predicate : times(X,one,X). you sould in the same way express the fact t...
by dominique f pannier
18 Sep 2012 8:19
Forum: Visual Prolog
Topic: How to load a form without a menu
Replies: 8
Views: 1832

Thomas,
It is not the onShow predicate ?
by dominique f pannier
24 Aug 2012 16:50
Forum: Visual Prolog
Topic: How to make a Dialog transparent ?
Replies: 6
Views: 1477

Forgive an error ! :oops:

Don't use drawControlSupport, but userControlSupport, wchich supports ContainerControl : you can add current controls directly into it.
This control supports too the setTransparent() predicate.
by dominique f pannier
24 Aug 2012 16:20
Forum: Visual Prolog
Topic: How to make a Dialog transparent ?
Replies: 6
Views: 1477

Hum ! :roll: It was just a suggestion ! I never did it. The problem is that a drawControlSupport , in the interface tree, cannot inherit the properties of a container window : then it's impossible to add into it current controls like into a standard form. But if I got to study this problem, I would ...
by dominique f pannier
24 Aug 2012 14:09
Forum: Visual Prolog
Topic: How to make a Dialog transparent ?
Replies: 6
Views: 1477

Hi Tonton,
I suppose you have to build it entirely from a drawControlSupport package:
As I know, it's the one and only package which supports the setTransparent() predicate.

http://discuss.visual-prolog.com/viewto ... ransparent