Visual Prolog 7.2 Examples and DemosSplitFourControl ExampleWritten by Steve Lympany This example demonstrates a splitFourControl, which closely follows (i.e. the coding) splitTwoControl in the Visual Prolog PFC. The four controls are placed in positions created by one vertical split and one horizontal split. For this demonstration project, the four controls are:
There is a fudge factor in the splitFourControl, implemented as fact variable "offset" which is currently set to integer value "-10". It helps set the mouse to a better position for dragging the dividers. I don't know why. You may need to tweak it to make it behave better on your screen, or let me know a better solution. NoteThe example requires Visual Prolog 7.2 Commercial or Personal Edition. Users of previous versions of Visual Prolog are welcome to upgrade to the current version of Visual Prolog to use the latest versions of the Visual Prolog examples. Use the WEB|Check for Update IDE menu command for upgrade information.
|
|
|