[fpc-pascal] Freevision etc.

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Thu May 4 22:10:42 CEST 2017


On 04/05/17 11:30, Mark Morgan Lloyd wrote:

> Is anybody currently using Freevision dialog(ue)s? I've got some very
> odd problems transferring initial values onto the screen and getting
> stuff back, at least some of which appears to be platform-specific
> (comparing x86_64, i386 and arm, all Linux).
> For example, the checkboxes in a group appear to be numbered $10, $20
> instead of $01 etc., and I've not yet found how to interface with
> radiobuttons: only 0 works.

The record that Dialedit generates to represent initial or extracted 
dialogue box values has alignment and/or packing problems. There's a 
comment in the source that the FreeVision sources expect dwords while 
the author using a debugger believed that words were correct.

I was able to get things working adequately by assuming that the correct 
type for a RadioButton was a byte, and that the CheckBoxes the followed 
it were..., well something larger but I'm still not sure what.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list