Displaying multiple Occurrences with Pictures

Author: i.sharp@pcisystems.co.uk (Iain Sharp)

I have a requirement to display a list of available stock, some of which has a database image (uniface Picture data) associated with it.

The images are usually quite large, but not always present. If they are not present, I'd like to not leave a big blank space where they are supposed to be.

So a standard uniface form isn't quite up to it.

My next suggestion is to dump all the images to the hard drive, and write a web-page containing the relevant data, then display it through the IE OCX. But I think this will lack the feedback I'd like to get (selecting one or more pieces of stock from the list, and/or a command button to edit the image. )

I know it's a long shot, but does anyone have any ideas other than this?



  1. Hi Iain,

    what about using the uniface web development to create the components
    and use your C/S application with IE OCX to launch this package ?

    And I think you will have a lot of means using your own data exchange with java script
    think -GHAN- will flood you with options how to do web programming with USPs.

    On the other hand, wouldn't it be better to use OCX
    to populate a gridwidget which provides
    the features you need to do the job?

    Success, Uli

    Author: ulrich-merkel (ulrichmerkel@web.de)
  2. It would, if I knew how to start.

    I can fudge my way through VB and VC for bug fixing (mostly) but I have no practical experience of how to start a VS project which will turn in to an easy to use dll or OCX for Uniface.

    There seem to be a myriad of project types, all with some obscure sacrifice necessary to turn them in to something useful.

    An ex-colleague penned all our current OCX, and we have too many hoops to jump through (registering /codebase etc etc) to get this to work.

    Anyone got a tutorial on beginning to write an OCX for use with uniface?


    Author: Iain Sharp (i.sharp@pcisystems.co.uk)
  3. Hi Iain,

    is this design acceptable by your customers ?

    They get a simple List / Detail design (with many lines on one screen)
    where only one image is displayed in the detail section instead many in the list.

    Or we can include thumbnails in the list plus a 100% image in details.

    Would fit nicely in the uniface coding with 100% control of all user actions.

    Success, Uli

    P.S: still going through my dusty piles of notes to get more on the OCX/Grid/etc side

    Author: ulrich-merkel (ulrichmerkel@web.de)