Search found 56 matches

by Steve Lympany
5 Dec 2008 10:01
Forum: Visual Prolog
Topic: Rotated text?
Replies: 7
Views: 4359

Hi,
Very good, thanks.
I think it would be good to put this in the wiki...
cheers
Steve
by Steve Lympany
3 Dec 2008 17:39
Forum: Visual Prolog
Topic: Rotated text?
Replies: 7
Views: 4359

Rotated text?

Hello,
How can text be drawn at any particular angle?
Steve
by Steve Lympany
28 Sep 2008 19:34
Forum: Visual Prolog Tips & Samples
Topic: MySQL
Replies: 1
Views: 4593

Hi Thomas,
That's OK. I'm a novice at both!
cheers
Steve
by Steve Lympany
13 Feb 2008 9:36
Forum: Visual Prolog Tips & Samples
Topic: simple tooltip
Replies: 3
Views: 6891

simple tooltip

Here is a small project that shows a really simple tooltip class. There are no timers as in the pfc's vpiToolbar class. The attached project has a form that draws two rectangles. When the mouse is over a rectangle, a tooltip is shown with some text. The tooltip moves with the mouse. The tooltip is a...
by Steve Lympany
28 Nov 2007 11:09
Forum: Visual Prolog Tips & Samples
Topic: (Howto) Add a bitmap to a menu
Replies: 2
Views: 7902

I don't know if this is the proper way, but here is a way to do it for Vip7 clauses add_bitmap_to_menu_item(MenuID,ResID):- MenuH = gui_native::getMenu(vpi::getTaskWindow()), Picture = vpi::pictLoad(resid(ResId), 15, 15, gui_Native::lr_loadmap3dcolors), HBMP=vpi::pictToBitmap(Picture), _ = gui_nativ...
by Steve Lympany
23 Sep 2007 16:14
Forum: Visual Prolog Tips & Samples
Topic: SplitTwoControl Modification
Replies: 3
Views: 7402

It appears (to me, so far...) that this modification is required in Vip7.1. Maybe I'm doing something wrong elsewhere, but when I make the above mod it behaves properly.
Steve
by Steve Lympany
27 Jul 2007 11:09
Forum: Visual Prolog Tips & Samples
Topic: TreeViewControl Example (new GUI)
Replies: 6
Views: 10589

Updated for Vip7.1

Steve
by Steve Lympany
7 Apr 2007 17:15
Forum: Visual Prolog Tips & Samples
Topic: Class for operation on lists in VIP7
Replies: 6
Views: 10177

Hi,
It looks useful. Can you make it simpler to download, and provide a single zip file here? Thanks
regards
Steve
by Steve Lympany
24 Feb 2007 11:48
Forum: Visual Prolog Tips & Samples
Topic: TreeViewControl Example (new GUI)
Replies: 6
Views: 10589

Updated for Vip7003 There are a couple of changes required in the pfc treeviewcontrol , and ideally in vpi (but I wouldn't (and didn't) make the vpi ones). When you compile, you will find there are errors and will need to change integer to keymodifier (I used uncheckedconvert). But it's simple enoug...
by Steve Lympany
21 Sep 2006 10:32
Forum: Visual Prolog Tips & Samples
Topic: How to build your application helpfiles
Replies: 0
Views: 5531

How to build your application helpfiles

Just a starter for people who are not sure on how to manage and make help files. This is how I do it. 1) Create a folder (called "help") under your main VIP7 project folder (where the *.prj6 file is). 2) Under "help", create a folder structure and a bunch of empty *.html files named with the help to...
by Steve Lympany
9 Sep 2006 11:54
Forum: Visual Prolog Tips & Samples
Topic: SplitTwoControl Modification
Replies: 3
Views: 7402

SplitTwoControl Modification

Here is a small modification (addition) to splitTwoControl (which should work for Vip6.3 to Vip7 Build 7002) - maybe PDC will add it in the future if it's the correct way to do it (but it works). I have added a very simple callback - just a notification - so that the application knows when the split...
by Steve Lympany
23 Aug 2006 15:00
Forum: Visual Prolog Tips & Samples
Topic: Tool to change VIP6 and VIP7 project names
Replies: 1
Views: 6267

Updated.
It can now rename classes too.
Steve

http://www.analytical-databases.co.uk/c ... up1004.exe
by Steve Lympany
19 Aug 2006 14:52
Forum: Visual Prolog Tips & Samples
Topic: Tool to change VIP6 and VIP7 project names
Replies: 1
Views: 6267

Tool to change VIP6 and VIP7 project names

Here is a little tool (just the exe) that is used for renaming VIP projects. When your project is named "old", and you want to rename it to "new": 1) It copies all the main project files from ...\old\*.* to a new folder ...\new\*.* 2) It renames files old.pack, old.ph etc to new.pack, new.ph. 3) It ...
by Steve Lympany
7 Jul 2006 14:50
Forum: Visual Prolog Tips & Samples
Topic: drawHTMLinRect
Replies: 5
Views: 13898

<b>Update</b> The class has been renamed drawHTML The predicates are now: drawHTML::drawText() - call similar to vpi::drawText() drawHTML::drawTextInRect() - call similar to vpi::drawTextInRect() drawHTML::getTextTextent() - call similar to vpi::getTextTextent() A small project is attached, which in...
by Steve Lympany
4 Jun 2006 17:38
Forum: Visual Prolog Tips & Samples
Topic: drawHTMLinRect
Replies: 5
Views: 13898

Bugfix

Here is a bugfix. I just attach the package rather than a project.