update bitmap/buttons/spinners etc?


#1

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?


#2

Hi Gibbz,

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

mylabel.text=“my new text”

And try:

b=openbitmap “myfile”


#3

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


#4

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.