Hi,
In the TFolderEx bookmarks, I need, depending on the situation, to change the bitmap (from the resource) . How can this be done ?
Changing the bitmap in the bookmark
- karinha
- Posts: 7935
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Changing the bitmap in the bookmark
Maybe,
Regards, saludos.
Code: Select all | Expand
BITMAPS IIF( lCondition, "Bitmap01", "BitMap02" )
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Re: Changing the bitmap in the bookmark
Not suitable. I need to interactively change pictures in bookmarks. I tried the methods SetBitmap and SetBrightBMP, but it didn't work out ![Sad :(](./images/smilies/icon_sad.gif)
![Sad :(](./images/smilies/icon_sad.gif)
Re: Changing the bitmap in the bookmark
Sorry, this not run ok ?Natter wrote:Not suitable. I need to interactively change pictures in bookmarks. I tried the methods SetBitmap and SetBrightBMP, but it didn't work out
Code: Select all | Expand
oFld:SetBitMap( "modif", oFld:nOption ) // "modif" -> resource of bitmap
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Re: Changing the bitmap in the bookmark
If I run the method: SetBitmap ("modif", oFld:nOption), then the bookmark simply becomes empty
Re: Changing the bitmap in the bookmark
Resource "modif" exist in your file .RC or .RES ?Natter wrote:If I run the method: SetBitmap ("modif", oFld:nOption), then the bookmark simply becomes empty
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Re: Changing the bitmap in the bookmark
I didn't understand the question. First, the resources are registered in .RC, after compilation we get .RES
When installing TFolderEx, everything is fine - bookmarks with text and pictures.
When installing TFolderEx, everything is fine - bookmarks with text and pictures.
- karinha
- Posts: 7935
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Changing the bitmap in the bookmark
Look at this, see if it helps:
https://fivetechsupport.com/forums/view ... 18&start=0
http://fivewin.com.br/index.php?/topic/ ... buttonbar/
https://forums.fivetechsupport.com/view ... so#p177363
Regards, saludos.
https://fivetechsupport.com/forums/view ... 18&start=0
http://fivewin.com.br/index.php?/topic/ ... buttonbar/
https://forums.fivetechsupport.com/view ... so#p177363
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341