Quantcast
Channel: Net Express / Server Express - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 375

JPG GIF Images with Dialog System

$
0
0

The demo program delivered together with Netexpress 5.1 “Micro Focus\Net Express 5.1\Examples\Dialog System\CLASSLIBRARY\Pictures\Images.App”  works pretty well and shows immediately after  SCREENSET-INITIALIZED the previously defined .JPG .GIF or .BMP image.

 

After adding to the program

            MOVE “next-image.jpg” TO IO-Text-Buffer

            MOVE "SET-PICTURE" TO Call-Function

            SET OBJECT-REFERENCE-x TO IMAGE-REF

            CALL "IMAGECTL" USING  DS-Control-Block.   Data-Block

           PERFORM Call-Dialog-System

I can show one image after another.

But due to the fact that at the beginning of the program I don’t know which image, how can I avoid showing the first image and show it after selecting it? That is after running several procedures.

A lot of changes just give me different error messages, but not the expected Change still the first Image appears or I have an other error.

Leaving the IO-Text-Buffer empty = Does not understand: draw Exception 24”

omitting the     CALLOUT in the SCREENSET-INITIALIZED still shows the first Image. and afterwards returns Error No. 0017

Thanks for any help.


Viewing all articles
Browse latest Browse all 375

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>