Lost Adventurer, Aleks Kirilenko (3D)
LC #42 Pipers Alley

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

11-08-2005, 10: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

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

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

11-08-2005, 10:58 AM
Hi Gibbz,

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

mylabel.text="my new text"

And try:

b=openbitmap "myfile"

11-08-2005, 11:18 AM

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 ?


CGTalk Moderation
11-08-2005, 11: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.