Dynamically Loading Bitma

Dynamically Loading Bitma

Post by Paal Thing » Tue, 14 Jun 1994 00:07:51

Subject: Dynamically Loading Bitmaps                                

DH>     I have a datawindow which only contains a picture object.  I wish
  >to go through a list of 1000 bitmaps.  I will be loading the bitmap
  >from the current directory and drawing the bitmap into the
  >picture object.  Afterwards, I will remove the bitmap from the picture
  >object and replace it with the next bitmap.  To do this, I use
  >dwModify to destroy the bitmap and use dwModify to create and load the
  >next bitmap.  I pretty much used the example in the PowerBuilder function
  >reference to create the picture object (see dwModify section).  I tried
  >using the following command:

DH>   dw_pict.dwModify("create bitmap(band=header x = '0' y='0'"&
  >           +"height='961' width='1171' filename=fileout name=picture)")

You can't reference a variable within the dwModify string. You have to

dw_pict.dwModify("create bitmap(band=header x='0' y='0' height='961'" &
 +  "height='961' width='1171' filename=~'"+filename+"~' name=picture)")

DH>If I use the variable fileout, my pictures are not loaded.  If I replace
  >fileout with a string containing the path and filename, the pictures are
  >visible.  What's happening?  In addition, is there a better way to
  >do this rather than destroying and creating datawindow objects on the
  >fly?  Thanks for any help.

Why not just create a picture control in your window?
Certified Powerbuilder Developer  \                  Thingbo Consulting
Paal Thingbo                        \                      +47.92011711

PGP key available                      --------------------------------

 * 1st 1.15b #2251 * Mend your ways, friend. Mend your ways.


1. REPOST: how to dynamically load a color in excel spread sheet

Is there a way I can change color of a row in an excel sheet depending
on a certain column value .

i.e if assuming " 1st column " is the key value , and if it's value is
1 , I want that row to be of "red" color .. If it's 2 I want that row
to be of color "yellow" etc.

Can I do this dynamically in excel.

If not , can I do this in a html file, which reads this excel sheet


========= WAS CANCELLED BY =======:
Path: news.uni-stuttgart.de!dns.phoenix-ag.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!u_n_a__c_ancel

Newsgroups: comp.apps.spreadsheets

X-No-Archive: yes
Lines: 2
Date: Fri, 11 Jan 2002 19:18:50 GMT
X-Trace: news.uswest.net 1010783090 (Fri, 11 Jan 2002 15:04:50 CST)
NNTP-Posting-Date: Fri, 11 Jan 2002 15:04:50 CST
Xref: news.uni-stuttgart.de control:40444103


2. FSIOP Forsale / One port/64nb

3. how to dynamically load a color in excel spread sheet

4. How Do I Tell What Version of DirectX I'm Running?

5. viewing dynamically loaded modules

6. ATA 186 & Cisco gatekeeper

7. MPI on beowulf - problem with dynamically loaded libraries

8. (????)??? ????? ?????.

9. Loading dll dynamically

10. Dynamically Loading Bitmaps

11. How to find list of variables and sub routines loaded, dynamically.

12. dynamically loading/unloading an upper-layer storage filter driver.

13. dynamically loaded driver