PDA

View Full Version : update bitmap/buttons/spinners etc?


Gibbz
11-08-2005, 09:46 AM
ok say i have a bitmap i want to refresh the bitmap so it loads the bitmap in the path again. What is the best way to do that?

for example... my bitmap


bitmap myBitmap "" width:100 height:100 fileName:"mypreview.bmp" pos:[5,270]



also thinking about updating
labels

label temp2 " Map Ch" pos:[55,190]
for example

i guess ti would all be done in a simmilar way?

j-man
11-08-2005, 09:58 AM
Hi Gibbz,

Updating labels? I presume you'er talking about UI controls.

mylabel.text="my new text"

And try:

b=openbitmap "myfile"


Gibbz
11-08-2005, 10:18 AM
hrmm

i tryed with bitmap

mybitmap=openbitmap "mypreview.bmp"

but it didnt update the bitmap on my dialog. or should i replace filename"mypreview.bmp" with filename:mybitmap ?

Thanks

CGTalk Moderation
11-08-2005, 10:18 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.