Search found 25 matches

by Gildas Menier
13 Aug 2012 16:14
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

Hi, Sorry David for the problem. You may download (for a limited time) the archive there : http://www.arsaniit.com/vp_tools/download/ebutton14_72.zip PM me if you are looking for a specific code, I will try to digg in my archives. I won't update the code I published since I don't use VP anymore (eve...
by Gildas Menier
10 Aug 2010 19:43
Forum: Visual Prolog Tips & Samples
Topic: An OpenGL Application
Replies: 9
Views: 10536

Hi James, This may help you (see the end of the page for a (temp) download link) : http://www.arsaniit.com/en/prolog-tools/menu-extension/opengl-v3d The code should provide more or less what you need (the selection is also implemented using a single pass one-color draw when the user clicks with an o...
by Gildas Menier
16 Apr 2009 16:56
Forum: Visual Prolog Tips & Samples
Topic: Service in Visual Prolog : an example
Replies: 0
Views: 5029

Service in Visual Prolog : an example

I made a small set of predicates to ease the building of services in Visual Prolog. This may be a good start if you want to try services & service_api :

http://www.arsaniit.com/prolog-tools/me ... on/service

Regards

Gildas
by Gildas Menier
3 Mar 2009 22:13
Forum: Visual Prolog
Topic: string::last
Replies: 3
Views: 7256

string::last

Last (...) Returns the last Count characters of Source (according to help).

It seems that it rather returns the end of the string starting at the given position :

last("hello",1) returns "ello"

should return "o" ?

last("hello",string::length("hello")-1) ?

Regards

Gildas
by Gildas Menier
1 Jan 2009 22:07
Forum: Visual Prolog Tips & Samples
Topic: MD5 extension
Replies: 0
Views: 3806

MD5 extension

http://www.arsaniit.com/prolog-tools/menu-extension/md5

... and, Happy new year to you, PDC & Visual Prolog comunity :-)

kind regards

Gildas
by Gildas Menier
28 Nov 2007 20:13
Forum: Visual Prolog Tips & Samples
Topic: Package to build Servers & Clients
Replies: 1
Views: 4956

Package to build Servers & Clients

This package is designed to help you build client and multi-client servers in Visual Prolog CE 7. SCS (Simple Client Server) uses a native binding to a subset of winsock2 functions and does not use sockbind or mgslayer (at all). It is designed with multithreading in mind : a server (instance of scsS...
by Gildas Menier
28 Oct 2007 18:17
Forum: Visual Prolog Tips & Samples
Topic: custom control : scintilla editor
Replies: 9
Views: 13502

custom control : scintilla editor

Scintilla ( http://www.scintilla.org/ ) is a text editor with many features such as tooltips, autocompletion, folding, syntax coloring etc... This custom control wraps the scintilla dll to let you use it to replace the PDC's edit control. It has many more features and let you define your own keyword...
by Gildas Menier
7 Jul 2007 19:09
Forum: Visual Prolog Tips & Samples
Topic: (how to) deal with large amounts of (key,value) - updated for 7.0x
Replies: 3
Views: 9024

Updated for 7.0x

regards

Gildas
by Gildas Menier
15 Jun 2007 13:53
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

V1.4 : Fixed some bugs (and cleaned the code. This version should be ready if PDC decide to include the management of color attributes in the GUI wizard). The new feature is that you can decide which part of the picture has to be resized (see the picture). Practically, you can now resize 'theme' but...
by Gildas Menier
10 Jun 2007 17:58
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

V1.3. Thanks to the 'require' tip (thank you Thomas), you can now easily use this package in your project (just add the ui_ext.pack to your project and answer 'add all' for the ressources) This version features a mask support : you can define buttons with different shapes - not only squares (see the...
by Gildas Menier
3 Jun 2007 10:56
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

V1.2. Now supports a different image/color when the mouse button is pressed (see the switch). More support for the property editor (for instance, some style preset can be set from within the UI editor). Added eLabel that provides the same for the labels. You can now include the pictures as ressource...
by Gildas Menier
20 May 2007 22:01
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

Updated - starting V1.0 - The main button interface is now supported (Not really 'validate' yet, but next release will include it). At least the clickresponder is fully supported. - The predicates names have been changed. - The property IDE is now used for most of the properties (see the screenshot)...
by Gildas Menier
11 May 2007 9:00
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

Updated custom Buttons : - Click timeout : If you press a button, keep it pressed and leave the button area, no mouseUp event is generated. So I added a timer to provide a mouseUp event triggered if necessary. - Effect callback : ebutton_effect1_ctl:setEffectCallBack(1000, effectTime), you can now a...
by Gildas Menier
3 May 2007 6:12
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

Hi Thomas, The setBorder is a good idea, but as soon as you've decided you need a border at the object creation, you can't change it later. Since it can be interesting to have this choice (for the toggle button for instance), I had the feeling I should let the user decide. I do agree with the suppor...
by Gildas Menier
2 May 2007 21:19
Forum: Visual Prolog Tips & Samples
Topic: Custom Buttons & custom Labels - updated 1.4
Replies: 16
Views: 34176

Custom Buttons & custom Labels - updated 1.4

Hi ! Here is an example of custom control for custom buttons. Font, Size, Color, Background Color, pictures are supported, as well as a toggle button type (see the included picture for samples). Best Regards Gildas ps : As always (! :roll:), this lacks real documentation, but the name of the predica...