FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bitmap from Resource for TFolderEx()
Posts: 1773
Joined: Thu Sep 05, 2019 05:32 AM

Bitmap from Resource for TFolderEx()

Posted: Thu Feb 02, 2023 01:28 AM
hi,

i want to add Bitmap to TFolder but all Sample use File "from Disk"
Code (fw): Select all Collapse
local aBitmaps := { "..\bitmaps\alphabmp\exit.bmp",;
                    ...
                    "..\bitmaps\alphabmp\exit.bmp" }

   @ 3, 3 FOLDEREX oFld PIXEL ADJUST;
          PROMPT  "Opction 1 fghfg abcd", "Option 2", "Option 3", "Option 4", "Option 5", "Option 6")
          BITMAPS aBitmaps;
how to use Resource like "MYFIXDRIVE16" :?:

---

when use oTab:AddItem() how to assign Bitmap to new TAB :?:
greeting,

Jimmy
Posts: 1396
Joined: Mon May 14, 2007 09:49 AM

Re: Bitmap from Resource for TFolderEx()

Posted: Thu Feb 02, 2023 07:06 PM

:SetBitmap("aaa(16x32)", n)

:Refresh()

Posts: 1773
Joined: Thu Sep 05, 2019 05:32 AM

Re: Bitmap from Resource for TFolderEx()

Posted: Fri Feb 03, 2023 04:45 AM
hi,
Natter wrote::SetBitmap("aaa(16x32)", n)
:Refresh()
YES, that work fine :D
thx
greeting,

Jimmy

Continue the discussion