Re: Displaying images on buttons in Forms 5.0

From: Wayne McKinney <wmckinney_at_tiainfo.com>
Date: Wed, 12 Aug 1998 13:15:37 -0500
Message-ID: <6qslvm$mnv$1_at_news0-alterdial.uu.net>


Sounds to me like it may work out better to "draw" the image of a button with your large format picture on it. Add an image item (the little easel on the toolbar). Then, attach to that a WHEN-IMAGE-PRESSED trigger to perform the same functions that pushing a regular button would have.

There are some disadvantages to this method. The primary one is that the image has to be read from disk every time that screen is called up (if the picture was stored in the databse, then this wouldn't be true). Every time disk access is done, there's always a possibility for slow reading. What's more when you have a lot of the same image repeated on a page (for example, to show that a field has a List of Values associated with it) then disk i/o must be queued since multiple requests for the same file is done. An obvious work around is to use different names for the same image.

D. Grant wrote in message <6qrar1$6dm$1_at_reader1.reader.news.ozemail.net>...
>Can anyone provide any information on the following issue:
>
>The requirement is to be able to display an image larger than the 32 x 32
>icon size on a button. We are looking to develop for touch screens
requiring
>large buttons with pretty pictures on them.
>
>For instance, can I somehow create a bitmap of say, 40 x 60, and display
>this on a button in Forms 5.0?
>
>Our platform is Windows NT 4.0
>
>Any pointers would be appreciated.
>
>
>
>
Received on Wed Aug 12 1998 - 20:15:37 CEST

Original text of this message